Re: [v3 6/6] drm/vs: simple encoder

2024-05-15 Thread Dmitry Baryshkov
On Wed, May 15, 2024 at 10:07:27AM +, Keith Zhao wrote: > > > > -Original Message- > > From: Dmitry Baryshkov > > Sent: 2023年12月5日 21:19 > > To: Keith Zhao > > Cc: devicet...@vger.kernel.org; dri-devel@lists.freedesktop.org; > &

[PATCH] Revert "drm/msm/dpu: drop dpu_encoder_phys_ops.atomic_mode_set"

2024-05-14 Thread Dmitry Baryshkov
uot;drm/msm/dpu: drop dpu_encoder_phys_ops.atomic_mode_set") Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c| 2 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h | 5 .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 32 ---

Re: [PATCH v4 6/9] drm/panel: novatek-nt36672e: Switch to mipi_dsi_dcs_write_seq_multi()

2024-05-13 Thread Dmitry Baryshkov
: > - Fix spacing of init function. > > Changes in v2: > - New > > .../gpu/drm/panel/panel-novatek-nt36672e.c| 576 +- > 1 file changed, 289 insertions(+), 287 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH] drm/bridge: adv7511: Attach next bridge without creating connector

2024-05-13 Thread Dmitry Baryshkov
with driver > imx-lcdif failed with error -22 > > Fixes: 14b3cdbd0e5b ("drm/bridge: adv7511: make it honour next bridge in DT") > Signed-off-by: Liu Ying > --- > drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 0/3] dt-bindings: display: panel: constrain 'reg'

2024-05-13 Thread Dmitry Baryshkov
On Mon, 13 May 2024 at 16:17, Rob Herring wrote: > > On Thu, May 09, 2024 at 11:42:50AM +0200, Krzysztof Kozlowski wrote: > > Hi, > > > > Cleanups for display panel bindings. > > > > Rob, maybe you could take entire set if it applies? I based it on > > linux-next, so letl me know if I need to

Re: [PATCH v3 2/2] drm/msm/a6xx: request memory region

2024-05-12 Thread Dmitry Baryshkov
On Sun, May 12, 2024 at 01:49:39AM -0400, Kiarash Hajian wrote: > The devm_iounmap function is being used unnecessarily, > managed resource mechanisms (devres) are handling resource cleanup > automatically > > This commit removes the calls to devm_iounmap and relies on devres > > Signed-off-by:

[PATCH v2 7/7] drm/panel: lg-sw43408: use new streamlined MIPI DSI API

2024-05-11 Thread Dmitry Baryshkov
Use newer mipi_dsi_*_multi() functions in order to simplify and cleanup panel's prepare() and unprepare() functions. Reviewed-by: Douglas Anderson Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-lg-sw43408.c | 95 +--- 1 file changed, 37 insertions

[PATCH v2 4/7] drm/panel: ilitek-ili9882t: use wrapped MIPI DCS functions

2024-05-11 Thread Dmitry Baryshkov
Remove conditional code and always use mipi_dsi_dcs_*multi() wrappers to simplify driver's init/exit code. Reviewed-by: Douglas Anderson Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-ilitek-ili9882t.c | 48 ++- 1 file changed, 11 insertions(+), 37

[PATCH v2 5/7] drm/panel: innolux-p079zca: use mipi_dsi_dcs_nop_multi()

2024-05-11 Thread Dmitry Baryshkov
Remove conditional code and use mipi_dsi_dcs_nop_multi() wrapper to simplify driver code. Reviewed-by: Douglas Anderson Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-innolux-p079zca.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 3/7] drm/panel: boe-tv101wum-nl6: use wrapped MIPI DCS functions

2024-05-11 Thread Dmitry Baryshkov
Remove conditional code and always use mipi_dsi_dcs_*multi() wrappers to simplify driver's init/exit code. Reviewed-by: Douglas Anderson Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 81 ++ 1 file changed, 19 insertions(+), 62

[PATCH v2 2/7] drm/mipi-dsi: wrap more functions for streamline handling

2024-05-11 Thread Dmitry Baryshkov
mipi_dsi_dcs_*() functions. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_mipi_dsi.c | 210 + include/drm/drm_mipi_dsi.h | 21 + 2 files changed, 231 insertions(+) diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_mipi_dsi.c

[PATCH v2 6/7] drm/panel: novatek-nt36672e: use wrapped MIPI DCS functions

2024-05-11 Thread Dmitry Baryshkov
Remove conditional code and always use mipi_dsi_dcs_*multi() wrappers to simplify driver's init/exit code. This also includes passing context to the init_sequence() function instead of passing the DSI device. Reviewed-by: Douglas Anderson Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm

[PATCH v2 0/7] drm/mipi-dsi: simplify MIPI DSI init/cleanup even more

2024-05-11 Thread Dmitry Baryshkov
/ Signed-off-by: Dmitry Baryshkov --- Changes in v2: - Rebased on top of Cong's series - Fixed mipi_dsi_compression_mode_ext_multi() docs (Doug) - Added do/while(0) wrapping to mipi_dsi_msleep() macro (Doug) - Inlined boe_panel_enter_sleep_mode(), ili9882t_enter_sleep_mode() (Doug) - Dropped error

[PATCH v2 1/7] drm/panel: lg-sw43408: add missing error handling

2024-05-11 Thread Dmitry Baryshkov
Add missing error handling for the mipi_dsi_ functions that actually return error code instead of silently ignoring it. Fixes: 069a6c0e94f9 ("drm: panel: Add LG sw43408 panel driver") Reviewed-by: Douglas Anderson Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-lg

[PATCH v2] docs: document python version used for compilation

2024-05-11 Thread Dmitry Baryshkov
is documented as an optional dependency, as it is required only in a limited set of kernel configurations (following the example of other optional dependencies). Cc: Jon Hunter Signed-off-by: Dmitry Baryshkov --- Depends: https://lore.kernel.org/dri-devel/20240507230440.3384949-1-quic_abhin...@quicinc.com

Re: [PATCH v2] drm/msm/a6xx: request memory region

2024-05-11 Thread Dmitry Baryshkov
On Sat, 11 May 2024 at 22:56, Kiarash Hajian wrote: > > The driver's memory regions are currently just ioremap()ed, but not > reserved through a request. That's not a bug, but having the request is > a little more robust. > > Implement the region-request through the corresponding managed >

Re: [PATCH] drm/msm/adreno: request memory region

2024-05-11 Thread Dmitry Baryshkov
On Sat, 11 May 2024 at 22:35, Kiarash Hajian wrote: > > The driver's memory regions are currently just ioremap()ed, but not > reserved through a request. That's not a bug, but having the request is > a little more robust. > > Implement the region-request through the corresponding managed >

[PATCH] drm/bridge: aux-hpd-bridge: correct devm_drm_dp_hpd_bridge_add() stub

2024-05-11 Thread Dmitry Baryshkov
ation and registration") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202405110428.tmcfb1ut-...@intel.com/ Cc: Johan Hovold Signed-off-by: Dmitry Baryshkov --- include/drm/bridge/aux-bridge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/

Re: [PATCH RFC 6/7] drm/panel: lg-sw43408: add missing error handling

2024-05-10 Thread Dmitry Baryshkov
On Fri, May 10, 2024 at 02:47:05PM -0700, Doug Anderson wrote: > Hi, > > On Thu, May 9, 2024 at 3:37 PM Dmitry Baryshkov > wrote: > > > > Add missing error handling for the mipi_dsi_ functions that actually > > return error code instead of silently ignoring it. >

Re: [PATCH RFC 1/7] drm/mipi-dsi: wrap more functions for streamline handling

2024-05-10 Thread Dmitry Baryshkov
On Fri, May 10, 2024 at 02:45:45PM -0700, Doug Anderson wrote: > Hi, > > On Thu, May 9, 2024 at 3:37 PM Dmitry Baryshkov > wrote: > > > > +/** > > + * mipi_dsi_compression_mode_ext() - enable/disable DSC on the peripheral > > + * @ctx: Context for multi

Re: [PATCH] drm/panel: jdi-fhd-r63452: move DCS off commands to disable

2024-05-10 Thread Dmitry Baryshkov
On Fri, May 10, 2024 at 09:10:34AM +0200, Barnabás Czémán wrote: > On Fri, May 10, 2024 at 8:46 AM Barnabás Czémán wrote: > > > > On Fri, May 10, 2024 at 2:56 AM Dmitry Baryshkov > > wrote: > > > > > > On Thu, May 09, 2024 at 08:14:07PM +0200, Barnabás Czém

Re: [PATCH] docs: document python version used for compilation

2024-05-10 Thread Dmitry Baryshkov
On Fri, 10 May 2024 at 13:09, Jani Nikula wrote: > > On Fri, 10 May 2024, Mauro Carvalho Chehab wrote: > > Em Fri, 10 May 2024 11:08:38 +0300 > > Jani Nikula escreveu: > > > >> On Thu, 09 May 2024, Dmitry Baryshkov wrote: > >> > The drm/msm driver

Re: [PATCH] drm/panel: jdi-fhd-r63452: move DCS off commands to disable

2024-05-09 Thread Dmitry Baryshkov
On Thu, May 09, 2024 at 08:14:07PM +0200, Barnabás Czémán wrote: > Move DCS off commands from .unprepare to .disable so that they > actually reach the DSI host. > > Signed-off-by: Barnabás Czémán > --- > drivers/gpu/drm/panel/panel-jdi-fhd-r63452.c | 12 ++-- > 1 file changed, 10

[PATCH RFC 4/7] drm/panel: innolux-p079zca: use mipi_dsi_dcs_nop_multi()

2024-05-09 Thread Dmitry Baryshkov
Remove conditional code and use mipi_dsi_dcs_nop_multi() wrapper to simplify driver code. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-innolux-p079zca.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-innolux-p079zca.c

[PATCH RFC 6/7] drm/panel: lg-sw43408: add missing error handling

2024-05-09 Thread Dmitry Baryshkov
Add missing error handling for the mipi_dsi_ functions that actually return error code instead of silently ignoring it. Fixes: 069a6c0e94f9 ("drm: panel: Add LG sw43408 panel driver") Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-lg-sw43

[PATCH RFC 7/7] drm/panel: lg-sw43408: use new streamlined MIPI DSI API

2024-05-09 Thread Dmitry Baryshkov
Use newer mipi_dsi_*_multi() functions in order to simplify and cleanup panel's prepare() and unprepare() functions. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-lg-sw43408.c | 95 +--- 1 file changed, 37 insertions(+), 58 deletions(-) diff --git

[PATCH RFC 3/7] drm/panel: ilitek-ili9882t: use wrapped MIPI DCS functions

2024-05-09 Thread Dmitry Baryshkov
Remove conditional code and always use mipi_dsi_dcs_*multi() wrappers to simplify driver's init/exit code. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-ilitek-ili9882t.c | 30 +-- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/drivers

[PATCH RFC 2/7] drm/panel: boe-tv101wum-nl6: use wrapped MIPI DCS functions

2024-05-09 Thread Dmitry Baryshkov
Remove conditional code and always use mipi_dsi_dcs_*multi() wrappers to simplify driver's init/exit code. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 73 -- 1 file changed, 21 insertions(+), 52 deletions(-) diff --git a/drivers

[PATCH RFC 1/7] drm/mipi-dsi: wrap more functions for streamline handling

2024-05-09 Thread Dmitry Baryshkov
mipi_dsi_dcs_*() functions. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_mipi_dsi.c | 209 + include/drm/drm_mipi_dsi.h | 19 2 files changed, 228 insertions(+) diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_mipi_dsi.c

[PATCH RFC 5/7] drm/panel: novatek-nt36672e: use wrapped MIPI DCS functions

2024-05-09 Thread Dmitry Baryshkov
Remove conditional code and always use mipi_dsi_dcs_*multi() wrappers to simplify driver's init/exit code. This also includes passing context to the init_sequence() function instead of passing the DSI device. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-novatek-nt36672e.c

[PATCH RFC 0/7] drm/mipi-dsi: simplify MIPI DSI init/cleanup even more

2024-05-09 Thread Dmitry Baryshkov
a fix for the LG SW43408. If the proposed approach is declined, the fix will be submitted separately. Depends: https://lore.kernel.org/dri-devel/20240508205222.2251854-1-diand...@chromium.org/ Signed-off-by: Dmitry Baryshkov --- Dmitry Baryshkov (7): drm/mipi-dsi: wrap more functions

[PATCH v2 2/2] drm/panel/lg-sw43408: mark sw43408_backlight_ops as static

2024-05-09 Thread Dmitry Baryshkov
Fix sparse warning regarding symbol 'sw43408_backlight_ops' not being declared. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404200739.hbwzvohr-...@intel.com/ Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-lg-sw43408.c | 2 +- 1 file changed

[PATCH v2 1/2] drm/panel/lg-sw43408: select CONFIG_DRM_DISPLAY_DP_HELPER

2024-05-09 Thread Dmitry Baryshkov
-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 982324ef5a41..2ae0eb0638f3 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -340,6 +340,8

[PATCH v2 0/2] drm/panel: two fixes for lg-sw43408

2024-05-09 Thread Dmitry Baryshkov
Fix two issues with the panel-lg-sw43408 driver reported by the kernel test robot. Signed-off-by: Dmitry Baryshkov --- Changes in v2: - use SELECT instead of DEPEND to follow the reverted Kconfig changes - Link to v1: https://lore.kernel.org/r/20240420-panel-sw43408-fix-v1-0-b282ff725

Re: [PATCH v2] drm/msm/dpu: fix encoder irq wait skip

2024-05-09 Thread Dmitry Baryshkov
0c2c ("drm/msm/dpu: shift IRQ indices by 1") > Signed-off-by: Barnabás Czémán In the previous revision you have got the Reviewed-by tag, which you didn't include here for some reason. This revision is: Reviewed-by: Dmitry Baryshkov Note, there is no need to send a next iteration ju

[PATCH] docs: document python version used for compilation

2024-05-09 Thread Dmitry Baryshkov
The drm/msm driver had adopted using Python3 script to generate register header files instead of shipping pre-generated header files. Document the minimal Python version supported by the script. Signed-off-by: Dmitry Baryshkov --- Documentation/process/changes.rst | 1 + 1 file changed, 1

Re: [PATCH] drm/msm: remove python 3.9 dependency for compiling msm

2024-05-09 Thread Dmitry Baryshkov
t; Switch to use simple bool for the validate flag to remove the dependency. > > Fixes: 5acf49119630 ("drm/msm: import gen_header.py script from Mesa") > Signed-off-by: Abhinav Kumar > --- > drivers/gpu/drm/msm/registers/gen_header.py | 5 +++-- > 1 file changed, 3 inse

Re: Safety of opening up /dev/dma_heap/* to physically present users (udev uaccess tag) ?

2024-05-07 Thread Dmitry Baryshkov
On Tue, 7 May 2024 at 21:40, Laurent Pinchart wrote: > > On Tue, May 07, 2024 at 06:19:18PM +0300, Dmitry Baryshkov wrote: > > On Tue, 7 May 2024 at 18:15, Bryan O'Donoghue wrote: > > > On 07/05/2024 16:09, Dmitry Baryshkov wrote: > > > > Ah, I see. Then why

Re: Safety of opening up /dev/dma_heap/* to physically present users (udev uaccess tag) ?

2024-05-07 Thread Dmitry Baryshkov
On Tue, 7 May 2024 at 18:15, Bryan O'Donoghue wrote: > > On 07/05/2024 16:09, Dmitry Baryshkov wrote: > > Ah, I see. Then why do you require the DMA-ble buffer at all? If you are > > providing data to VPU or DRM, then you should be able to get the buffer > > from t

Re: Safety of opening up /dev/dma_heap/* to physically present users (udev uaccess tag) ?

2024-05-07 Thread Dmitry Baryshkov
On Tue, May 07, 2024 at 04:34:24PM +0200, Hans de Goede wrote: > Hi Dmitry, > > On 5/7/24 3:32 PM, Dmitry Baryshkov wrote: > > On Mon, May 06, 2024 at 01:49:17PM +0200, Hans de Goede wrote: > >> Hi dma-buf maintainers, et.al., > >> > >> Various peopl

Re: [PATCH 09/11] drm/msm: Use fbdev client helpers

2024-05-07 Thread Dmitry Baryshkov
> drivers/gpu/drm/msm/msm_fbdev.c | 58 ++--- > 1 file changed, 3 insertions(+), 55 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [RFC] CamelCase can it be fixed per Checkpatch.pl script

2024-05-07 Thread Dmitry Baryshkov
On Mon, May 06, 2024 at 09:20:17PM -0700, Ashok Kumar wrote: > Found some files in Staging Drivers for which checkpatch.pl throws a CHECK to > +remove CamelCase. > > For instance in program vt6655/card.c find the usage of CamelCase as > i) Variable names eg: >apTD0Rings[0] > ii) Function names

Re: [PATCH 01/20] drm/bridge: add dsi_lp11_notify mechanism

2024-05-07 Thread Dmitry Baryshkov
On Tue, May 07, 2024 at 10:37:54AM +0200, Alexander Stein wrote: > Hi Michael, > > Am Montag, 6. Mai 2024, 15:34:30 CEST schrieb Michael Walle: > > Some bridges have very strict power-up reqirements. In this case, the > > Toshiba TC358775. The reset has to be deasserted while *both* the DSI > >

Re: Safety of opening up /dev/dma_heap/* to physically present users (udev uaccess tag) ?

2024-05-07 Thread Dmitry Baryshkov
On Mon, May 06, 2024 at 04:01:42PM +0200, Hans de Goede wrote: > Hi Sima, > > On 5/6/24 3:38 PM, Daniel Vetter wrote: > > On Mon, May 06, 2024 at 02:05:12PM +0200, Maxime Ripard wrote: > >> Hi, > >> > >> On Mon, May 06, 2024 at 01:49:17PM GMT, Hans de Goede wrote: > >>> Hi dma-buf maintainers,

Re: Safety of opening up /dev/dma_heap/* to physically present users (udev uaccess tag) ?

2024-05-07 Thread Dmitry Baryshkov
On Mon, May 06, 2024 at 01:49:17PM +0200, Hans de Goede wrote: > Hi dma-buf maintainers, et.al., > > Various people have been working on making complex/MIPI cameras work OOTB > with mainline Linux kernels and an opensource userspace stack. > > The generic solution adds a software ISP (for

Re: [PATCH v2 2/2] drm/ci: validate drm/msm XML register files against schema

2024-05-03 Thread Dmitry Baryshkov
On Sat, 4 May 2024 at 01:38, Abhinav Kumar wrote: > > > > On 5/3/2024 1:20 PM, Dmitry Baryshkov wrote: > > On Fri, 3 May 2024 at 22:42, Abhinav Kumar > > wrote: > >> > >> > >> > >> On 5/3/2024 11:15 AM, Dmitry Baryshkov wrote: > >

Re: [PATCH] drm/msm/dpu: fix vblank IRQ handling for command panels

2024-05-03 Thread Dmitry Baryshkov
On Fri, May 03, 2024 at 11:18:52AM +0200, Luca Weiss wrote: > On Sun Apr 7, 2024 at 5:15 AM CEST, Dmitry Baryshkov wrote: > > On Sat, 30 Mar 2024 at 18:49, Marijn Suijten > > wrote: > > > > > > On 2024-03-30 05:52:29, Dmitry Baryshkov wrote: > > > >

Re: [PATCH] drm/msm/gen_header: allow skipping the validation

2024-05-03 Thread Dmitry Baryshkov
On Fri, May 03, 2024 at 09:48:12AM -0700, Nathan Chancellor wrote: > Hi Dmitry, > > On Tue, Apr 09, 2024 at 05:22:54PM +0300, Dmitry Baryshkov wrote: > > We don't need to run the validation of the XML files if we are just > > compiling the kernel. Skip the validation un

Re: [PATCH 5/6] drm/panel: novatek-nt36672a: stop calling regulator_set_load manually

2024-05-03 Thread Dmitry Baryshkov
On Fri, May 03, 2024 at 10:03:35AM -0700, Doug Anderson wrote: > Hi, > > On Thu, Apr 4, 2024 at 3:08 AM Dmitry Baryshkov > wrote: > > > > Use .init_load_uA part of the bulk regulator API instead of calling > > register_set_load() manually. > >

Re: [PATCH v2 0/2] drm/msm/gen_header: allow skipping the validation

2024-05-03 Thread Dmitry Baryshkov
On Fri, 3 May 2024 at 21:15, Dmitry Baryshkov wrote: > > In order to remove pointless messages regarding missing lxml, skip > validation of MSM register files against the schema. Only the driver > developers really care and/or can fix the files. > > Keep the validation enabled

Re: [PATCH v2 2/2] drm/ci: validate drm/msm XML register files against schema

2024-05-03 Thread Dmitry Baryshkov
On Fri, 3 May 2024 at 22:42, Abhinav Kumar wrote: > > > > On 5/3/2024 11:15 AM, Dmitry Baryshkov wrote: > > In order to validate drm/msm register definition files against schema, > > reuse the nodebugfs build step. The validation entry is guarded by > > the EXPERT Kc

[PATCH v2 2/2] drm/ci: validate drm/msm XML register files against schema

2024-05-03 Thread Dmitry Baryshkov
In order to validate drm/msm register definition files against schema, reuse the nodebugfs build step. The validation entry is guarded by the EXPERT Kconfig option and we don't want to enable that option for all the builds. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/ci/build.sh | 3

[PATCH v2 1/2] drm/msm/gen_header: allow skipping the validation

2024-05-03 Thread Dmitry Baryshkov
://lore.kernel.org/all/20240409120108.2303d...@canb.auug.org.au/ Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/Kconfig | 8 drivers/gpu/drm/msm/Makefile| 9 - drivers/gpu/drm/msm/registers/gen_header.py | 14 +++--- 3 files changed, 27

[PATCH v2 0/2] drm/msm/gen_header: allow skipping the validation

2024-05-03 Thread Dmitry Baryshkov
: linux-ker...@vger.kernel.org Signed-off-by: Dmitry Baryshkov Changes in v2: - added validation of XML files agains schema in in DRM CI - Link to v1: https://lore.kernel.org/r/20240409-fd-fix-lxml-v1-1-e5c300d6c...@linaro.org --- Dmitry Baryshkov (2): drm/msm/gen_header: allow skipping

Re: [PATCH] drm/connector: Add \n to message about demoting connector force-probes

2024-05-03 Thread Dmitry Baryshkov
t; --- > > drivers/gpu/drm/drm_connector.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v2 4/8] drm/mipi-dsi: Introduce mipi_dsi_*_write_seq_multi()

2024-05-01 Thread Dmitry Baryshkov
On Wed, 1 May 2024 at 18:49, Doug Anderson wrote: > > Hi, > > On Mon, Apr 29, 2024 at 8:39 AM Jani Nikula > wrote: > > > > On Mon, 29 Apr 2024, Doug Anderson wrote: > > > Hi, > > > > > > On Mon, Apr 29, 2024 at 2:38 AM Neil Armstrong > > > wrote: > > >> > > >> > +/** > > >> > + * struct

Re: [PATCH v1 2/3] drm/panel: ili9341: Respect deferred probe

2024-04-30 Thread Dmitry Baryshkov
++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v1 1/3] drm/panel: ili9341: Correct use of device property APIs

2024-04-30 Thread Dmitry Baryshkov
> Signed-off-by: Andy Shevchenko > --- > drivers/gpu/drm/panel/Kconfig| 2 +- > drivers/gpu/drm/panel/panel-ilitek-ili9341.c | 5 +++-- > 2 files changed, 4 insertions(+), 3 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v1 2/5] drm/ci: generate testlist from build

2024-04-30 Thread Dmitry Baryshkov
On Tue, Apr 30, 2024 at 02:41:18PM +0530, Vignesh Raman wrote: > Stop vendoring the testlist into the kernel. Instead, use the > testlist from the IGT build to ensure we do not miss renamed > or newly added tests. > > Signed-off-by: Vignesh Raman > --- > drivers/gpu/drm/ci/build-igt.sh | 23

Re: [PATCH v1 5/5] drm/ci: update xfails for the new testlist

2024-04-30 Thread Dmitry Baryshkov
On Tue, Apr 30, 2024 at 02:41:21PM +0530, Vignesh Raman wrote: > Now the testlist is used from IGT build, so update > xfails with the new testlist. > > Signed-off-by: Vignesh Raman > --- > .../gpu/drm/ci/xfails/amdgpu-stoney-fails.txt | 47 +++ >

Re: [PATCH v1 4/5] drm/ci: skip driver specific tests

2024-04-30 Thread Dmitry Baryshkov
/drm/ci/xfails/mediatek-mt8183-skips.txt | 14 ++ > drivers/gpu/drm/ci/xfails/meson-g12b-skips.txt | 14 ++ > drivers/gpu/drm/ci/xfails/msm-apq8016-skips.txt | 14 ++ > drivers/gpu/drm/ci/xfails/msm-apq8096-skips.txt | 14 +- Reviewed-by: Dmi

Re: [PATCH] drm/debugfs: Drop conditionals around of_node pointers

2024-04-29 Thread Dmitry Baryshkov
e: Drop conditionals around of_node pointers") > Signed-off-by: Sui Jingfeng > --- > drivers/gpu/drm/drm_debugfs.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v4 8/9] drm/bridge: tfp410: Use fwnode API to acquire device properties

2024-04-27 Thread Dmitry Baryshkov
On Sun, Apr 28, 2024 at 02:43:20AM +0800, Sui Jingfeng wrote: > Hi, > > > On 2024/4/23 04:08, Dmitry Baryshkov wrote: > > On Tue, Apr 23, 2024 at 03:19:02AM +0800, Sui Jingfeng wrote: > > > Make this driver DT-independent by calling the freshly created helpers, >

Re: [PATCH v2 8/8] drm/panel: boe-tv101wum-nl6: Convert hex to lowercase

2024-04-27 Thread Dmitry Baryshkov
On Sat, 27 Apr 2024 at 02:59, Douglas Anderson wrote: > > Kernel convention is that we use 0xabcd, not 0xABCD. Convert the > boe-tv101wum-nl6 driver to this convention. > > Signed-off-by: Douglas Anderson I think it's better to squash this into the corresponding previous patch. > --- > >

Re: [PATCH v2 3/8] drm/mipi-dsi: Reduce driver bloat of mipi_dsi_*_write_seq()

2024-04-26 Thread Dmitry Baryshkov
On Sat, 27 Apr 2024 at 02:59, Douglas Anderson wrote: > > Through a cooperative effort between Hsin-Yi Wang and Dmitry > Baryshkov, we have realized the dev_err_ratelimited() in the > mipi_dsi_*_write_seq() macros was causing quite a bit of bloat to the > kernel. Let's

Re: [PATCH v2 1/8] drm/mipi-dsi: Fix theoretical int overflow in mipi_dsi_dcs_write_seq()

2024-04-26 Thread Dmitry Baryshkov
On Sat, 27 Apr 2024 at 02:59, Douglas Anderson wrote: > > The mipi_dsi_dcs_write_seq() macro makes a call to > mipi_dsi_dcs_write_buffer() which returns a type ssize_t. The macro > then stores it in an int and checks to see if it's negative. This > could theoretically be a problem if "ssize_t" is

Re: [PATCH] drm/mipi-dsi: Reduce driver bloat of mipi_dsi_*_write_seq()

2024-04-26 Thread Dmitry Baryshkov
On Fri, 26 Apr 2024 at 18:41, Doug Anderson wrote: > > Hi, > > On Thu, Apr 25, 2024 at 8:03 PM Dmitry Baryshkov > wrote: > > > > On Thu, Apr 25, 2024 at 10:04:49AM -0700, Doug Anderson wrote: > > > Hi, > > > > > > On

Re: [PATCH] MAINTAINERS: fix LG sw43408 panel driver drm-misc git URL

2024-04-25 Thread Dmitry Baryshkov
On Thu, Apr 25, 2024 at 02:03:52PM +0300, Jani Nikula wrote: > The drm-misc git repo has moved to Gitlab. Fix the URL. > > Cc: Sumit Semwal > Cc: Caleb Connolly > Signed-off-by: Jani Nikula Reviewed-by: Dmitry Baryshkov Applying to drm-misc > --- > MAINTAINERS | 2 +-

Re: [PATCH] drm/mipi-dsi: Reduce driver bloat of mipi_dsi_*_write_seq()

2024-04-25 Thread Dmitry Baryshkov
On Thu, Apr 25, 2024 at 10:04:49AM -0700, Doug Anderson wrote: > Hi, > > On Thu, Apr 25, 2024 at 1:19 AM Jani Nikula > wrote: > > > > > @@ -279,6 +281,8 @@ enum mipi_dsi_dcs_tear_mode { > > > > > > ssize_t mipi_dsi_dcs_write_buffer(struct mipi_dsi_device *dsi, > > >

Re: [PATCH 1/2] drm/bridge: chipone-icn6211: drop driver owner assignment

2024-04-25 Thread Dmitry Baryshkov
On Thu, 25 Apr 2024 at 10:47, Neil Armstrong wrote: > > Hi Dmitry, > > On 24/04/2024 11:12, Dmitry Baryshkov wrote: > > On Sat, Mar 30, 2024 at 09:27:40PM +0100, Krzysztof Kozlowski wrote: > >> Core in mipi_dsi_driver_register() already sets the .owner, s

Re: [PATCH 06/10] arm64: dts: qcom: sm8550: Add UART15

2024-04-24 Thread Dmitry Baryshkov
+ > 1 file changed, 22 insertions(+) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v1 2/2] drm/panel: kd101ne3: add new panel driver

2024-04-24 Thread Dmitry Baryshkov
On Thu, 25 Apr 2024 at 02:25, Doug Anderson wrote: > > Hi, > > On Wed, Apr 24, 2024 at 3:51 PM Dmitry Baryshkov > wrote: > > > > On Thu, 25 Apr 2024 at 01:15, Hsin-Yi Wang wrote: > > > > > > On Wed, Apr 24, 2024 at 2:49 PM Dmitry Baryshkov > >

Re: [PATCH v1 2/2] drm/panel: kd101ne3: add new panel driver

2024-04-24 Thread Dmitry Baryshkov
On Thu, 25 Apr 2024 at 01:15, Hsin-Yi Wang wrote: > > On Wed, Apr 24, 2024 at 2:49 PM Dmitry Baryshkov > wrote: > > > > On Thu, 25 Apr 2024 at 00:04, Doug Anderson wrote: > > > > > > Hi, > > > > > > On Tue, Apr 23, 2024 at 2:20 PM Dmit

Re: [PATCH v1 2/2] drm/panel: kd101ne3: add new panel driver

2024-04-24 Thread Dmitry Baryshkov
On Thu, 25 Apr 2024 at 00:04, Doug Anderson wrote: > > Hi, > > On Tue, Apr 23, 2024 at 2:20 PM Dmitry Baryshkov > wrote: > > > > On Tue, Apr 23, 2024 at 01:41:59PM -0700, Doug Anderson wrote: > > > Hi, > > > > > >

Re: [PATCH v2] software node: Implement device_get_match_data fwnode callback

2024-04-24 Thread Dmitry Baryshkov
On Wed, 24 Apr 2024 at 19:45, Andy Shevchenko wrote: > > On Wed, Apr 24, 2024 at 07:34:54PM +0300, Dmitry Baryshkov wrote: > > On Wed, Apr 24, 2024 at 05:52:03PM +0300, Andy Shevchenko wrote: > > > On Wed, Apr 24, 2024 at 04:34:39PM +0300, Dmitry Baryshkov wrote: > > &g

Re: [PATCH v2] software node: Implement device_get_match_data fwnode callback

2024-04-24 Thread Dmitry Baryshkov
On Wed, Apr 24, 2024 at 05:52:03PM +0300, Andy Shevchenko wrote: > On Wed, Apr 24, 2024 at 04:34:39PM +0300, Dmitry Baryshkov wrote: > > On Wed, 24 Apr 2024 at 16:11, Andy Shevchenko > > wrote: > > > > > > On Wed, Apr 24, 2024 at 12:37:16AM +0300, Dmitry Barysh

Re: [PATCH v2] software node: Implement device_get_match_data fwnode callback

2024-04-24 Thread Dmitry Baryshkov
On Wed, 24 Apr 2024 at 16:11, Andy Shevchenko wrote: > > On Wed, Apr 24, 2024 at 12:37:16AM +0300, Dmitry Baryshkov wrote: > > On Wed, Apr 24, 2024 at 12:49:18AM +0800, Sui Jingfeng wrote: > > > On 2024/4/23 21:28, Andy Shevchenko wrote: > > > > On Tue, Apr

Re: [PATCH v5 09/18] drm/msm: import A6xx XML display registers database

2024-04-24 Thread Dmitry Baryshkov
On Wed, 24 Apr 2024 at 15:21, Connor Abbott wrote: > > On Mon, Apr 1, 2024 at 3:52 AM Dmitry Baryshkov > wrote: > > > > Import Adreno registers database for A6xx from the Mesa, commit > > 639488f924d9 ("freedreno/registers: limit the rules schema"). &g

Re: [PATCH 2/2] drm/bridge: tc358764: drop driver owner assignment

2024-04-24 Thread Dmitry Baryshkov
etion(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 1/2] drm/bridge: chipone-icn6211: drop driver owner assignment

2024-04-24 Thread Dmitry Baryshkov
e changed, 1 deletion(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v2] software node: Implement device_get_match_data fwnode callback

2024-04-24 Thread Dmitry Baryshkov
On Wed, 24 Apr 2024 at 08:09, Sui Jingfeng wrote: > > Hi, > > > On 2024/4/24 05:37, Dmitry Baryshkov wrote: > > On Wed, Apr 24, 2024 at 12:49:18AM +0800, Sui Jingfeng wrote: > >> Hi, > >> > >> Thanks a for you reviewing my patch. > >

Re: [PATCH 1/2] drm/panel/lg-sw43408: depends on CONFIG_DRM_DISPLAY_DP_HELPER

2024-04-24 Thread Dmitry Baryshkov
On Wed, 24 Apr 2024 at 09:54, Neil Armstrong wrote: > > On 20/04/2024 04:41, Dmitry Baryshkov wrote: > > This panel driver uses DSC PPS functions and as such depends on the > > DRM_DISPLAY_DP_HELPER. Add missing dependency > > > > Reported-by: kernel test

Re: [PATCH v2] software node: Implement device_get_match_data fwnode callback

2024-04-23 Thread Dmitry Baryshkov
On Wed, Apr 24, 2024 at 12:49:18AM +0800, Sui Jingfeng wrote: > Hi, > > Thanks a for you reviewing my patch. > > > On 2024/4/23 21:28, Andy Shevchenko wrote: > > On Tue, Apr 23, 2024 at 12:46:58AM +0800, Sui Jingfeng wrote: > > > Because the software node backend of the fwnode API framework

Re: [PATCH v1 2/2] drm/panel: kd101ne3: add new panel driver

2024-04-23 Thread Dmitry Baryshkov
On Tue, Apr 23, 2024 at 01:41:59PM -0700, Doug Anderson wrote: > Hi, > > On Tue, Apr 23, 2024 at 11:10 AM Hsin-Yi Wang wrote: > > > > > > > > +#define _INIT_DCS_CMD(...) { \ > > > > > > + .type = INIT_DCS_CMD, \ > > > > > > + .len = sizeof((char[]){__VA_ARGS__}), \ > > > > > > +

Re: [PATCH 2/2] drm/msm/dsi: Remove dsi_phy_write_[un]delay()

2024-04-23 Thread Dmitry Baryshkov
y/dsi_phy_14nm.c | 3 +- > drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c | 81 > +++--- > 3 files changed, 54 insertions(+), 33 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH 1/2] drm/msm/dsi: Remove dsi_phy_read/write()

2024-04-23 Thread Dmitry Baryshkov
dsi/phy/dsi_phy_28nm_8960.c | 205 +++ > drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c | 320 > > 7 files changed, 645 insertions(+), 703 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry

Re: [PATCH v1 3/4] drm/ci: uprev IGT and generate testlist from build

2024-04-23 Thread Dmitry Baryshkov
On Tue, 23 Apr 2024 at 13:24, Maíra Canal wrote: > > On 4/23/24 01:02, Vignesh Raman wrote: > > Uprev IGT to the latest version and stop vendoring the > > testlist into the kernel. Instead, use the testlist from > > the IGT build to ensure we do not miss renamed or newly > > added tests. > >

Re: [PATCH v4 8/9] drm/bridge: tfp410: Use fwnode API to acquire device properties

2024-04-22 Thread Dmitry Baryshkov
On Tue, Apr 23, 2024 at 03:19:02AM +0800, Sui Jingfeng wrote: > Make this driver DT-independent by calling the freshly created helpers, > which reduce boilerplate and open the door for otherwise use cases. No > functional changes for DT based systems. > > Signed-off-by: Sui Jingfeng > --- >

Re: [PATCH v4 7/9] drm-bridge: it66121: Use fwnode API to acquire device properties

2024-04-22 Thread Dmitry Baryshkov
On Tue, Apr 23, 2024 at 03:19:01AM +0800, Sui Jingfeng wrote: > Make this driver DT-independent by calling the freshly created helpers, > which reduce boilerplate and open the door for otherwise use cases. No > functional changes for DT based systems. > > Signed-off-by: Sui Jingfeng > --- >

Re: [PATCH v4 6/9] drm-bridge: sii902x: Use fwnode API to acquire device properties

2024-04-22 Thread Dmitry Baryshkov
On Tue, Apr 23, 2024 at 03:19:00AM +0800, Sui Jingfeng wrote: > Make this driver less DT-dependent by calling the freshly created helper > functions, which reduce boilerplate. Should be no functional changes for > DT based systems. > > Signed-off-by: Sui Jingfeng > --- >

Re: [PATCH v4 5/9] drm/bridge: display-connector: Add platform module alias

2024-04-22 Thread Dmitry Baryshkov
On Tue, Apr 23, 2024 at 03:18:59AM +0800, Sui Jingfeng wrote: > Otherwise when compiled as module, this driver will not be probed on > non-DT environment. This is a fundamential step to make this driver > truely OF-independent. > > Signed-off-by: Sui Jingfeng > --- >

Re: [PATCH v4 4/9] drm-bridge: display-connector: Use fwnode API to acquire device properties

2024-04-22 Thread Dmitry Baryshkov
On Tue, Apr 23, 2024 at 03:18:58AM +0800, Sui Jingfeng wrote: > Make this driver less DT-dependent by using the fwnode helper functions, > should be no functional changes for DT based systems. Do the necessary > works before it can be truely DT-independent, this patch do no harms even > though

Re: [PATCH v4 3/9] drm/bridge: simple-bridge: Add platform module alias

2024-04-22 Thread Dmitry Baryshkov
On Tue, Apr 23, 2024 at 03:18:57AM +0800, Sui Jingfeng wrote: > Otherwise when compiled as module, this driver will not be probed on > non-DT environment. This is a fundamential step to make this driver > truely OF-independent. > > Signed-off-by: Sui Jingfeng > --- >

Re: [PATCH v4 2/9] drm/bridge: simple-bridge: Use fwnode API to acquire device properties

2024-04-22 Thread Dmitry Baryshkov
On Tue, Apr 23, 2024 at 03:18:56AM +0800, Sui Jingfeng wrote: > Make this driver less DT-dependent by calling the freshly created helpers, > should be no functional changes for DT based systems. But open the door for > otherwise use cases. Even though there is no user emerged yet, this still > do

Re: [PATCH v4 1/9] drm/bridge: Allow using fwnode API to get the next bridge

2024-04-22 Thread Dmitry Baryshkov
On Tue, Apr 23, 2024 at 03:18:55AM +0800, Sui Jingfeng wrote: > Currently, the various display bridge drivers rely on OF infrastructures > to works very well, yet there are platforms and/or devices absence of 'OF' > support. Such as virtual display drivers, USB display apapters and ACPI > based

Re: [PATCH 2/3] drm/msm/mdp4: don't destroy mdp4_kms in mdp4_kms_init error path

2024-04-22 Thread Dmitry Baryshkov
On Mon, Apr 22, 2024 at 11:17:15AM -0700, Abhinav Kumar wrote: > > > On 4/19/2024 7:33 PM, Dmitry Baryshkov wrote: > > Since commit 3c74682637e6 ("drm/msm/mdp4: move resource allocation to > > the _probe function") the mdp4_kms data is allocated during probe

Re: [PATCH 1/3] drm/msm: don't clean up priv->kms prematurely

2024-04-22 Thread Dmitry Baryshkov
On Mon, Apr 22, 2024 at 09:12:20AM -0700, Abhinav Kumar wrote: > > > On 4/21/2024 3:35 PM, Dmitry Baryshkov wrote: > > On Sat, Apr 20, 2024 at 04:02:00PM -0700, Abhinav Kumar wrote: > > > > > > > > > On 4/19/2024 7:33 PM, Dmitry Baryshkov wrot

Re: [PATCH 1/3] drm/msm: don't clean up priv->kms prematurely

2024-04-22 Thread Dmitry Baryshkov
On Mon, Apr 22, 2024 at 10:23:18AM -0700, Abhinav Kumar wrote: > > > On 4/21/2024 3:35 PM, Dmitry Baryshkov wrote: > > On Sat, Apr 20, 2024 at 04:02:00PM -0700, Abhinav Kumar wrote: > > > > > > > > > On 4/19/2024 7:33 PM, Dmitry Baryshkov wrot

Re: [PATCH 1/2] drm/panel: panel-simple: Add generic panel-dsi driver

2024-04-22 Thread Dmitry Baryshkov
On Mon, Apr 22, 2024 at 02:05:01PM +, Johan Adolfsson wrote: > Hi, > Sorry for delayed response, still investigating why these mails didn't reach > my inbox as expected.. > > -Original Message- > From: Krzysztof Kozlowski > Sent: den 19 april 2024 01:06 > To: Johan Adolfsson ; Neil

Re: [PATCH 1/2] drm/print: drop include debugfs.h and include where needed

2024-04-22 Thread Dmitry Baryshkov
ni Nikula > Cc: Rodrigo Vivi > Cc: Joonas Lahtinen > Cc: Tvrtko Ursulin > Cc: Frank Binns > Cc: Matt Coster > Cc: Rob Clark > Cc: Abhinav Kumar > Cc: Dmitry Baryshkov > Cc: Sean Paul > Cc: Marijn Suijten > Cc: Karol Herbst > Cc: Lyude Paul > Cc: Danil

  1   2   3   4   5   6   7   8   9   10   >