Re: [PATCH v12 06/10] drm/ttm/tests: Add tests with mock resource managers

2024-06-02 Thread Karolina Stolarek
Hi Thomas, On 29.05.2024 14:58, Thomas Hellström wrote: On Wed, 2024-05-15 at 13:24 +0200, Karolina Stolarek wrote: Add mock resource manager to test ttm_bo_validate() with non-system placements. Update KConfig entry to enable DRM Buddy allocator, used by the mock manager. Update move function

[PATCH v11 6/8] drm/i915/display: Compute Adaptive sync SDP params

2024-06-02 Thread Mitul Golani
Compute params for Adaptive Sync SDP when Fixed Average Vtotal mode is enabled. --v2: Since vrr.enable is set in case of cmrr also, handle accordingly(Ankit). --v3: - Since vrr.enable is set in case of cmrr also, handle accordingly(Ankit). - check cmrr.enable when CMRR flags are set during intel_

[PATCH v11 8/8] drm/i915: Compute CMRR and calculate vtotal

2024-06-02 Thread Mitul Golani
Compute Fixed Average Vtotal/CMRR with resepect to userspace VRR enablement. Also calculate required parameters in case of CMRR is enabled. During intel_vrr_compute_config, CMRR is getting enabled based on userspace has enabled Variable refresh mode with VRR timing generator or not. Make CMRR as s

[PATCH v11 7/8] drm/i915/display: Compute vrr vsync params

2024-06-02 Thread Mitul Golani
Compute vrr vsync params in case of FAVT as well instead of only to AVT mode of operation. --v2: - Remove redundant computation for vrr_vsync_start and vrr_vsync_end(Ankit). --v3: - vrr.enable and cmrr.enable check together is not required as both will be true at the same point in time. (Ankit) -

[PATCH v11 5/8] drm/i915/display: Add support for pack and unpack

2024-06-02 Thread Mitul Golani
Add support of pack and unpack for target_rr_divider. --v2: - Set Target Refresh Rate Divider bit when related AS SDP bit is set (Ankit). --v3: - target_rr_divider is bools so set accordingly (Ankit). Signed-off-by: Mitul Golani Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/inte

[PATCH v11 4/8] drm/dp: Add refresh rate divider to struct representing AS SDP

2024-06-02 Thread Mitul Golani
Add target_rr_divider to structure representing AS SDP. It is valid only in FAVT mode, sink device ignores the bit in AVT mode. --v2: - Update commit header and send patch to dri-devel. Signed-off-by: Mitul Golani Reviewed-by: Arun R Murthy --- include/drm/display/drm_dp_helper.h | 1 + 1 file

[PATCH v11 3/8] drm/i915: Update trans_vrr_ctl flag when cmrr is computed

2024-06-02 Thread Mitul Golani
Add/update trans_vrr_ctl flag when crtc_state->cmrr.enable is set, With this commit setting the stage for subsequent CMRR enablement. --v2: - Check pipe active state in cmrr enabling. [Jani] - Remove usage of bitwise OR on booleans. [Jani] - Revert unrelated changes. [Jani] - Update intel_vrr_enab

[PATCH v11 2/8] drm/i915: Define and compute Transcoder CMRR registers

2024-06-02 Thread Mitul Golani
Add register definitions for Transcoder Fixed Average Vtotal mode/CMRR function, with the necessary bitfields. Compute these registers when CMRR is enabled, extending Adaptive refresh rate capabilities. --v2: - Use intel_de_read64_2x32 in intel_vrr_get_config. [Jani] - Fix indent and order based o

[PATCH v11 0/8] Implement CMRR Support

2024-06-02 Thread Mitul Golani
CMRR is a display feature that uses adaptive sync framework to vary Vtotal slightly to match the content rate exactly without frame drops. This feature is a variation of VRR where it varies Vtotal slightly (between additional 0 and 1 Vtotal scanlines) to match content rate exactly without frame dro

[PATCH v11 1/8] drm/i915: Separate VRR related register definitions

2024-06-02 Thread Mitul Golani
Move VRR related register definitions to a separate file called intel_vrr_regs.h. Signed-off-by: Mitul Golani --- drivers/gpu/drm/i915/display/intel_vrr.c | 1 + drivers/gpu/drm/i915/display/intel_vrr_regs.h | 113 ++ drivers/gpu/drm/i915/i915_reg.h | 100 ---

Re: [PATCH 4/6] drm/imagination: Add compatible string entry for Series6XT

2024-06-02 Thread Chen-Yu Tsai
On Fri, May 31, 2024 at 7:18 PM Frank Binns wrote: > > On Thu, 2024-05-30 at 16:35 +0800, Chen-Yu Tsai wrote: > > The MediaTek MT8173 comes with a PowerVR Rogue GX6250, which is part > > of the Series6XT, another variation of the Rogue family of GPUs. > > > > Signed-off-by: Chen-Yu Tsai > > --- >

Re: [PATCH v3 00/12] drm/imx/ipuv3: switch LDB and parallel-display driver to use drm_bridge_connector

2024-06-02 Thread Chris Healy
ply [1], [2] > > [1] https://lore.kernel.org/all/20240514030718.533169-1-victor@nxp.com/ > [2] > https://lore.kernel.org/all/20240602-imx-sii902x-defconfig-v1-1-71a6c382b...@linaro.org/ > > Signed-off-by: Dmitry Baryshkov > --- > Changes in v3: > - Notice (soft) dependencie

Re: [PATCH v3 11/12] drm/imx: parallel-display: switch to imx_legacy_bridge / drm_bridge_connector

2024-06-02 Thread Chris Healy
On Sun, Jun 2, 2024 at 5:04 AM Dmitry Baryshkov wrote: > > Use the imx_legacy bridge driver instead of handlign display modes via > the connector node. fix spelling of "handling" > > All existing usecases already support attaching using > the DRM_BRIDGE_ATTACH_NO_CONNECTOR flag, while the imx_leg

[PATCH v4 9/9] fbdev: omapfb: use of_graph_get_remote_port()

2024-06-02 Thread Kuninori Morimoto
We already have of_graph_get_remote_port(), Let's use it. Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss

[PATCH v4 8/9] video: fbdev: use for_each_endpoint_of_node()

2024-06-02 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --g

[PATCH v4 7/9] staging: media: atmel: use for_each_endpoint_of_node()

2024-06-02 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- .../staging/media/deprecated/atmel/atmel-sama5d2-isc.c | 10 +++--- .../staging/media/deprecated/atmel/atmel-sama7g5-i

[PATCH v4 6/9] media: platform: xilinx: use for_each_endpoint_of_node()

2024-06-02 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- drivers/media/platform/xilinx/xilinx-vipp.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/d

[PATCH v4 4/9] media: platform: microchip: use for_each_endpoint_of_node()

2024-06-02 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- .../microchip/microchip-sama5d2-isc.c | 21 +++ .../microchip/microchip-sama7g5-isc.c | 21

[PATCH v4 5/9] media: platform: ti: use for_each_endpoint_of_node()

2024-06-02 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- drivers/media/platform/ti/am437x/am437x-vpfe.c | 12 +--- drivers/media/platform/ti/davinci/vpif_capture.c | 14

[PATCH v4 3/9] hwtracing: use for_each_endpoint_of_node()

2024-06-02 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto Reviewed-by: Suzuki K Poulose Reviewed-by: Laurent Pinchart Reviewed-by: James Clark --- drivers/hwtracing/coresight/coresight-platform.c | 4 ++-- 1 file

[PATCH v4 2/9] gpu: drm: use for_each_endpoint_of_node()

2024-06-02 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto Acked-by: Dmitry Baryshkov Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/dss/base.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) di

[PATCH v4 1/9] gpu: drm: replace of_graph_get_next_endpoint()

2024-06-02 Thread Kuninori Morimoto
>From DT point of view, in general, drivers should be asking for a specific port number because their function is fixed in the binding. of_graph_get_next_endpoint() doesn't match to this concept. Simply replace - of_graph_get_next_endpoint(xxx, NULL); + of_graph_get_endpoint_by_r

[PATCH v4 0/9] use for_each_endpoint_of_node()

2024-06-02 Thread Kuninori Morimoto
Hi Rob, Helge This is v4 patch-set We already have for_each_endpoint_of_node(), but some drivers are not using it. This patch-set replace it. This patch-set is related to "OF" (= Rob), but many driveres are for "MultiMedia" (= Helge). I'm not sure who handle these. I noticed that my posted 1

Re: [PATCH V2 2/2] arm64: dts: imx8mp-beacon-kit: Enable HDMI bridge HPD

2024-06-02 Thread Shawn Guo
On Mon, Mar 04, 2024 at 06:48:58PM -0600, Adam Ford wrote: > The DSI to HDMI bridge supports hot-plut-detect, but the > driver didn't previously support a shared IRQ GPIO. With > the driver updated, the interrupt can be added to the bridge. > > Signed-off-by: Adam Ford > Reviewed-by: Laurent Pin

Re: [PATCH] drm/nouveau/i2c: rename aux.c and aux.h to nvkm_i2c_aux.c and nvkm_i2c_aux.h

2024-06-02 Thread Ben Skeggs
On 3/6/24 09:27, Szőke Benjamin wrote: 2024. 06. 03. 0:08 keltezéssel, Ben Skeggs írta: On 2/6/24 07:22, egyszer...@freemail.hu wrote: From: Benjamin Szőke The goal is to clean-up Linux repository from AUX file names, because the use of such file names is prohibited on other operating syste

Re: [PATCH] drm/nouveau/i2c: rename aux.c and aux.h to nvkm_i2c_aux.c and nvkm_i2c_aux.h

2024-06-02 Thread Szőke Benjamin
2024. 06. 03. 0:08 keltezéssel, Ben Skeggs írta: On 2/6/24 07:22, egyszer...@freemail.hu wrote: From: Benjamin Szőke The goal is to clean-up Linux repository from AUX file names, because the use of such file names is prohibited on other operating systems such as Windows, so the Linux reposito

Re: [PATCH] drm/nouveau/i2c: rename aux.c and aux.h to nvkm_i2c_aux.c and nvkm_i2c_aux.h

2024-06-02 Thread Ben Skeggs
On 2/6/24 07:22, egyszer...@freemail.hu wrote: From: Benjamin Szőke The goal is to clean-up Linux repository from AUX file names, because the use of such file names is prohibited on other operating systems such as Windows, so the Linux repository cannot be cloned and edited on them. Signed-of

[PATCH v2 8/9] drm/msm/dpu: merge MAX_IMG_WIDTH/HEIGHT with DPU_MAX_IMG_WIDTH/HEIGHT

2024-06-02 Thread Dmitry Baryshkov
dpu_formats.c defines DPU_MAX_IMG_WIDTH and _HEIGHT, while dpu_hw_catalog.h defines just MAX_IMG_WIDTH and _HEIGHT. Merge these constants to remove duplication. Reviewed-by: Abhinav Kumar Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c| 3 --- drivers/gpu/drm

[PATCH v2 9/9] drm/msm/dpu: sync mode_config limits to the FB limits in dpu_plane.c

2024-06-02 Thread Dmitry Baryshkov
Lift mode_config limits set by the DPU driver to the actual FB limits as handled by the dpu_plane.c. Move 2*max_lm_width check where it belongs, to the drm_crtc_helper_funcs::mode_valid() callback. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 15 +++

[PATCH v2 7/9] drm/msm/dpu: check for overflow in _dpu_crtc_setup_lm_bounds()

2024-06-02 Thread Dmitry Baryshkov
Check in _dpu_crtc_setup_lm_bounds() that CRTC width is not overflowing LM requirements. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c b/d

[PATCH v2 5/9] drm/msm/dpu: check for the plane pitch overflow

2024-06-02 Thread Dmitry Baryshkov
Check that the plane pitch doesn't overflow the maximum pitch size allowed by the hardware. Reviewed-by: Abhinav Kumar Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h | 2 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 6 +- 2 files changed, 7 insertions(+)

[PATCH v2 6/9] drm/msm/dpu: drop call to _dpu_crtc_setup_lm_bounds from atomic_begin

2024-06-02 Thread Dmitry Baryshkov
The dpu_crtc_atomic_check() already calls _dpu_crtc_setup_lm_bounds(). There is no need to call it from dpu_crtc_atomic_begin(). Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crt

[PATCH v2 4/9] drm/msm/dpu: move dpu_format_populate_plane_sizes to atomic_check

2024-06-02 Thread Dmitry Baryshkov
Move a call to dpu_format_populate_plane_sizes() to the atomic_check step, so that any issues with the FB layout can be reported as early as possible. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-)

[PATCH v2 3/9] drm/msm/dpu: split dpu_format_populate_layout

2024-06-02 Thread Dmitry Baryshkov
Split dpu_format_populate_layout() into addess-related and pitch/format-related parts. Reviewed-by: Abhinav Kumar Signed-off-by: Dmitry Baryshkov --- .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c| 8 +++- drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c| 45 -- dri

[PATCH v2 2/9] drm/msm/dpu: drop dpu_format_populate_layout from dpu_plane_sspp_atomic_update

2024-06-02 Thread Dmitry Baryshkov
The dpu_plane_prepare_fb() already calls dpu_format_populate_layout(). Store the generated layour in the plane state and drop this call from dpu_plane_sspp_update(). Reviewed-by: Abhinav Kumar Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 19 ---

[PATCH v2 1/9] drm/msm/dpu: drop dpu_format_check_modified_format

2024-06-02 Thread Dmitry Baryshkov
The msm_kms_funcs::check_modified_format() callback is not used by the driver. Drop it completely. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 43 - drivers/gpu/drm/msm/disp/dpu1/dpu_formats.h | 16 --- drivers/gpu/drm/msm

[PATCH v2 0/9] drm/msm/dpu: be more friendly to X.org

2024-06-02 Thread Dmitry Baryshkov
Unlike other compositors X.org allocates a single framebuffer covering the whole screen space. This is not an issue with the single screens, but with the multi-monitor setup 5120x4096 becomes a limiting factor. Check the hardware-bound limitations and lift the FB max size to 16383x16383. Signed-of

Re: [PATCH 0/6] powervr: MT8173 GPU support

2024-06-02 Thread Adam Ford
On Fri, May 31, 2024 at 6:23 AM Frank Binns wrote: > > Hi ChenYu, > > On Fri, 2024-05-31 at 12:00 +0800, Chen-Yu Tsai wrote: > > On Thu, May 30, 2024 at 4:35 PM Chen-Yu Tsai wrote: > > > Hi everyone, > > > > > > This series enables the PowerVR GPU found in the MT8173 SoC, found in > > > some Chro

[PATCH v2] MAINTAINERS: Update Xe driver maintainers

2024-06-02 Thread Thomas Hellström
Add Rodrigo Vivi as an Xe driver maintainer. v2: - Cc also Lucas De Marchi (Rodrigo vivi) - Remove a blank line in commit the commit message (Lucas De Marchi) Cc: David Airlie Cc: Daniel Vetter Cc: Rodrigo Vivi Cc: Lucas De Marchi Cc: dri-devel@lists.freedesktop.org Cc: linux-ker...@vger.kern

Re: [PATCH v1 1/1] drm/amd/display: Fix too big frame size

2024-06-02 Thread Andy Shevchenko
On Sun, Jun 02, 2024 at 05:21:03PM +0300, Andy Shevchenko wrote: > Compilation fails on arm with: > > link_factory.c:743:1: error: the frame size of 1032 bytes is larger than > 1024 bytes [-Werror=frame-larger-than=] > > Fix the frame size by allocation one of the big structures. Fixed even i

[PATCH v1 1/1] drm/amd/display: Fix too big frame size

2024-06-02 Thread Andy Shevchenko
Compilation fails on arm with: link_factory.c:743:1: error: the frame size of 1032 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] Fix the frame size by allocation one of the big structures. Signed-off-by: Andy Shevchenko --- .../gpu/drm/amd/display/dc/link/link_factory.c|

[PATCH v3 09/12] drm/imx: add internal bridge handling display-timings DT node

2024-06-02 Thread Dmitry Baryshkov
i.MX DRM DT bindings allow using either a proper panel / bridge graph to provide information about connected panels, or just a display-timings DT node, describing just the timings and the flags. Add helper bridge driver supporting the latter usecase. It will be used by both LDB and parallel-display

[PATCH v3 05/12] drm/imx: ldb: drop custom EDID support

2024-06-02 Thread Dmitry Baryshkov
Bindings for the imx-ldb never allowed specifying the EDID in DT. None of the existing DT files use it. Drop it now in favour of using debugfs overrides or the drm.edid_firmware support. Reviewed-by: Philipp Zabel Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/imx/ipuv3/imx-ldb.c | 29

[PATCH v3 11/12] drm/imx: parallel-display: switch to imx_legacy_bridge / drm_bridge_connector

2024-06-02 Thread Dmitry Baryshkov
Use the imx_legacy bridge driver instead of handlign display modes via the connector node. All existing usecases already support attaching using the DRM_BRIDGE_ATTACH_NO_CONNECTOR flag, while the imx_legacy bridge doesn't support creating connector at all. Switch to drm_bridge_connector at the sam

[PATCH v3 10/12] drm/imx: ldb: switch to imx_legacy_bridge / drm_bridge_connector

2024-06-02 Thread Dmitry Baryshkov
Use the imx_legacy bridge driver instead of handlign display modes via the connector node. All existing usecases already support attaching using the DRM_BRIDGE_ATTACH_NO_CONNECTOR flag, while the imx_legacy bridge doesn't support creating connector at all. Switch to drm_bridge_connector at the sam

[PATCH v3 12/12] drm/imx: move imx_drm_connector_destroy to imx-tve

2024-06-02 Thread Dmitry Baryshkov
The imx-tve driver is the only remaining user of imx_drm_connector_destroy(). Move the function to imx-tve.c Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 7 --- drivers/gpu/drm/imx/ipuv3/imx-drm.h | 2 -- drivers/gpu/drm/imx/ipuv3/imx-tve.c | 8 +++

[PATCH v3 08/12] drm/imx: parallel-display: switch to drm_panel_bridge

2024-06-02 Thread Dmitry Baryshkov
Defer panel handling to drm_panel_bridge, unifying codepaths for the panel and bridge cases. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/imx/ipuv3/Kconfig| 3 ++- drivers/gpu/drm/imx/ipuv3/parallel-display.c | 36 +++- 2 files changed, 10 insertions(+

[PATCH v3 04/12] drm/imx: parallel-display: drop edid override support

2024-06-02 Thread Dmitry Baryshkov
None of the in-kernel DT files ever used edid override with the fsl-imx-drm driver. In case the EDID needs to be specified manually, DRM core allows one to either override it via the debugfs or to load it via request_firmware by using DRM_LOAD_EDID_FIRMWARE. In all other cases EDID and/or modes are

[PATCH v3 07/12] drm/imx: ldb: switch to drm_panel_bridge

2024-06-02 Thread Dmitry Baryshkov
Defer panel handling to drm_panel_bridge, unifying codepaths for the panel and bridge cases. The MFD_SYSCON symbol is moved to select to prevent Kconfig symbol loops. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/imx/ipuv3/Kconfig | 6 +++-- drivers/gpu/drm/imx/ipuv3/imx-ldb.c | 44

[PATCH v3 06/12] drm/imx: ldb: drop custom DDC bus support

2024-06-02 Thread Dmitry Baryshkov
None of the boards ever supported by the upstream kernel used the custom DDC bus support with the LDB connector. If a need arises to do so, one should use panel-simple and its DDC bus code. Drop ddc-i2c-bus support from the imx-ldb driver. Reviewed-by: Philipp Zabel Signed-off-by: Dmitry Baryshko

[PATCH v3 00/12] drm/imx/ipuv3: switch LDB and parallel-display driver to use drm_bridge_connector

2024-06-02 Thread Dmitry Baryshkov
://lore.kernel.org/all/20240602-imx-sii902x-defconfig-v1-1-71a6c382b...@linaro.org/ Signed-off-by: Dmitry Baryshkov --- Changes in v3: - Notice (soft) dependencies in the cover letter (Chris) - Select DRM_BRIDGE instead of depending on it (Philipp) - Dropped unused selection of DRM_PANEL (Philipp) - Added

[PATCH v3 03/12] drm/imx: cleanup the imx-drm header

2024-06-02 Thread Dmitry Baryshkov
Drop unused defines and obsolete prototypes from the imx-drm.h header. Reviewed-by: Philipp Zabel Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/imx/ipuv3/imx-drm.h | 12 1 file changed, 12 deletions(-) diff --git a/drivers/gpu/drm/imx/ipuv3/imx-drm.h b/drivers/gpu/drm/imx/i

[PATCH v3 02/12] dt-bindings: display: imx/ldb: drop ddc-i2c-bus property

2024-06-02 Thread Dmitry Baryshkov
The in-kernel DT files do not use ddc-i2c-bus property with the iMX LVDS Display Bridge. If in future a need arises to support such usecase, the panel-simple should be used, which is able to handle the DDC bus. Acked-by: Rob Herring Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/b

[PATCH v3 01/12] dt-bindings: display: fsl-imx-drm: drop edid property support

2024-06-02 Thread Dmitry Baryshkov
None of the in-kernel DT files ever used edid override with the fsl-imx-drm driver. In case the EDID needs to be specified manually, DRM core allows one to either override it via the debugfs or to load it via request_firmware by using DRM_LOAD_EDID_FIRMWARE. In all other cases EDID and/or modes are

[PATCH] Documentation/accel/qaic: Fix typo 'phsyical'

2024-06-02 Thread Danish Prakash
(as part of LFX Linux Mentorship program) Signed-off-by: Danish Prakash --- Documentation/accel/qaic/qaic.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/accel/qaic/qaic.rst b/Documentation/accel/qaic/qaic.rst index efb7771273bb..628bf2f7a416 100644 --- a/D

Re: [PATCH] drm/nouveau/i2c: rename aux.c and aux.h to nvkm_i2c_aux.c and nvkm_i2c_aux.h

2024-06-02 Thread Szőke Benjamin
your e-mail client SW and fix your settings. https://lore.kernel.org/lkml/20240601212247.54786-1-egyszer...@freemail.hu/ https://lore.kernel.org/lkml/20240601212247.54786-1-egyszer...@freemail.hu/raw kernel test robot used it for a build test successfully, so it has to be a valid patch. https://github.com/intel-lab-lkp/linux/commits/egyszeregy-freemail-hu/drm-nouveau-i2c-rename-aux-c-and-aux-h-to-nvkm_i2c_aux-c-and-nvkm_i2c_aux-h/20240602-053530

[PATCH] drm/tegra: fix a possible null pointer dereference

2024-06-02 Thread Huai-Yuan Liu
In malidp_tegra_crtc_reset, new memory is allocated with kzalloc, but no check is performed. Before calling __drm_atomic_helper_crtc_reset, mw_state should be checked to prevent possible null pointer dereferene. Fixes: b7e0b04ae450 ("drm/tegra: Convert to using __drm_atomic_helper_crtc_reset()

[PATCH V2] drm/tegra: fix a possible null pointer dereference

2024-06-02 Thread Huai-Yuan Liu
In malidp_tegra_crtc_reset, new memory is allocated with kzalloc, but no check is performed. Before calling __drm_atomic_helper_crtc_reset, mw_state should be checked to prevent possible null pointer dereference. Fixes: b7e0b04ae450 ("drm/tegra: Convert to using __drm_atomic_helper_crtc_reset() f

[PATCH] Documentation/accel/qaic: Fix typo

2024-06-02 Thread Danish Prakash
Fixed a typo in the docs where 'phsyical' was corrected to 'physical'. Signed-off-by: Danish Prakash --- Documentation/accel/qaic/qaic.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/accel/qaic/qaic.rst b/Documentation/accel/qaic/qaic.rst index efb7771273bb

[PATCH] drm/nouveau/i2c: rename aux.c and aux.h to nvkm_i2c_aux.c and nvkm_i2c_aux.h

2024-06-02 Thread egyszeregy
From: Benjamin Szőke The goal is to clean-up Linux repository from AUX file names, because the use of such file names is prohibited on other operating systems such as Windows, so the Linux repository cannot be cloned and edited on them. Signed-off-by: Benjamin Szőke --- drivers/gpu/drm/nouveau

Consistent race condition(?) in component binding

2024-06-02 Thread ns
Hello! Kernel version: 6.10.0-rc1-gcc8ed4d0a848, but reproduces on every kernel I've used on this system ever (almost certainly exists before 6.0). Modules that use the driver core component APIs on my system (ThinkPad T480) have, for as long as I can remember, bound to the wrong function. Here

Re: [PATCH v1 2/4] iio: light: lm3533-als: Remove the driver

2024-06-02 Thread Andy Shevchenko
On Sat, Jun 01, 2024 at 02:05:08PM +0100, Jonathan Cameron wrote: > On Fri, 31 May 2024 19:56:14 +0300 > Andy Shevchenko wrote: > > > The driver has no in kernel users and requires a board file > > to be instantiated. Remove basically a dead code. > > > > If ever needed, it can be reinstantiated

Re: [PATCH] kernel/resource: optimize find_next_iomem_res

2024-06-02 Thread Andy Shevchenko
On Fri, May 31, 2024 at 02:31:45PM -0700, Chia-I Wu wrote: > On Fri, May 31, 2024 at 1:57 AM Andy Shevchenko < > andriy.shevche...@linux.intel.com> wrote: > > On Thu, May 30, 2024 at 10:36:57PM -0700, Chia-I Wu wrote: ... > > P.S> I'm not so sure about this change. It needs a thoroughly testing,

Re: [PATCH 00/14] Add initial support for the Rockchip RK3588 HDMI TX Controller

2024-06-02 Thread Piotr Oniszczuk
(resent as plain text instead of html) Cristian, I was awaiting over year for this work! I’m devel. 2 distros where single mainline kernel serves 2835/2711/2712/h6/h313/h616/h618/rk3328/rk3399/rk3566/rk3568/rk3588/s905/s912/sm1/g12. Before this work rk3588 was excluded because rk3588 hdmi was

Re: [PATCH 00/14] Add initial support for the Rockchip RK3588 HDMI TX Controller

2024-06-02 Thread Piotr Oniszczuk
Cristian, I was awaiting over year for this work! I’m devel. 2 distros where single mainline kernel serves 2835/2711/2712/h6/h313/h616/h618/rk3328/rk3399/rk3566/rk3568/rk3588/s905/s912/sm1/g12. Before this work rk3588 was excluded because rk3588 hdmi was regressing hdmi on other socs. With thi