Re: [PATCH 1/2] dt-bindings: drm/bridge: ti-tmds181: Add TI TMDS181 and SN65DP159 bindings

2025-08-19 Thread Krzysztof Kozlowski
On 19/08/2025 10:26, Mike Looijmans wrote: > On 19-08-2025 09:51, Krzysztof Kozlowski wrote: >> On 19/08/2025 09:46, Mike Looijmans wrote: > + > +properties: > + compatible: > +enum: > + - ti,tmds181 > + - ti,sn65dp159 The driver contains: + { .comp

Re: [PATCH v1 17/19] dt-bindings: display: tegra: document Tegra20 and Tegra30 CSI

2025-08-19 Thread Svyatoslav Ryhel
вт, 19 серп. 2025 р. о 23:30 Rob Herring пише: > > On Tue, Aug 19, 2025 at 03:16:29PM +0300, Svyatoslav Ryhel wrote: > > Document CSI hw block found in Tegra20 and Tegra30 SoC. > > > > Signed-off-by: Svyatoslav Ryhel > > --- > > .../display/tegra/nvidia,tegra210-csi.yaml| 78 +++-

Re: [PATCH v1 04/19] dt-bindings: display: tegra: document Tegra30 VIP

2025-08-19 Thread Svyatoslav Ryhel
вт, 19 серп. 2025 р. о 23:27 Rob Herring пише: > > On Tue, Aug 19, 2025 at 03:16:16PM +0300, Svyatoslav Ryhel wrote: > > Parallel VI interface found in Tegra30 is exactly the same as Tegra20 has. > > That's not what the compatible schema says. 'exactly the same' implies a > fallback to whatever it

Re: [RFC PATCH 1/3] devicetree: bindings: dsiplay: panel: panel-simple.yaml: Add Raspberry pi dsi panel compatible

2025-08-19 Thread Harikrishna Shenoy
On 8/19/25 06:54, Dmitry Baryshkov wrote: On Mon, Aug 18, 2025 at 09:17:44PM +0530, Harikrishna Shenoy wrote: Add RPi DSI panel[0] as a valid compatible for simple-panel. [0]: https://www.raspberrypi.com/products/raspberry-pi-touch-display/ Signed-off-by: Harikrishna Shenoy --- .../device

Re: [PATCH v2 1/4] dt-bindings: backlight: Add max25014 bindings

2025-08-19 Thread Maud Spierings
On 8/19/25 21:50, Rob Herring wrote: On Tue, Aug 19, 2025 at 12:58:59PM +0200, Maud Spierings wrote: The Maxim MAX25014 is a 4-channel automotive grade backlight driver IC with intgrated boost controller. Signed-off-by: Maud Spierings --- .../bindings/leds/backlight/maxim,max25014.yaml|

Re: [PATCH v2 1/8] drm/connector: let drivers declare infoframes as unsupported

2025-08-19 Thread Liu Ying
On 08/19/2025, Dmitry Baryshkov wrote: [...] > @@ -930,23 +947,29 @@ static int write_device_infoframe(struct drm_connector > *connector, > union hdmi_infoframe *frame) > { > const struct drm_connector_hdmi_funcs *funcs = connector->hdmi.funcs; > + enum

Re: [RFC PATCH 0/3] Initial plumbing for implementing DRM connector APIs in Rust

2025-08-19 Thread Rahul Rameshbabu
On Tue, 19 Aug, 2025 11:06:40 +0200 "Maxime Ripard" wrote: > Hi Rahul, > > On Mon, Aug 18, 2025 at 05:04:15AM +, Rahul Rameshbabu wrote: >> I am working on a drm_connector scoped backlight API in Rust. I have been >> looking through Hans de Goede's previous efforts on this topic to help >> gui

Re: [PATCH v2 8/8] drm/display: bridge_connector: drop default list for HDMI Infoframes

2025-08-19 Thread Liu Ying
On 08/19/2025, Dmitry Baryshkov wrote: > Now as all bridges are updated to list supported HDMI InfoFrames, drop > the default value from drm_bridge_connector_init(). All HDMI bridges now > have to declare all supported InfoFrames. > > Signed-off-by: Dmitry Baryshkov > --- > drivers/gpu/drm/displ

Re: [PATCH v2 7/8] drm/rockchip: rk3066: declare supported infoframes

2025-08-19 Thread Liu Ying
On 08/19/2025, Dmitry Baryshkov wrote: > Declare which infoframes are supported via the .hdmi_write_infoframe() > interface. > > Signed-off-by: Dmitry Baryshkov > --- > drivers/gpu/drm/rockchip/rk3066_hdmi.c | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Liu Ying

Re: [PATCH v2 6/8] drm/msm: hdmi: declare supported infoframes

2025-08-19 Thread Liu Ying
On 08/19/2025, Dmitry Baryshkov wrote: > Declare which infoframes are supported via the .hdmi_write_infoframe() > interface. > > Signed-off-by: Dmitry Baryshkov > --- > drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 4 > 1 file changed, 4 insertions(+) Reviewed-by: Liu Ying

Re: [PATCH v2 5/8] drm/bridge: synopsys/dw-hdmi-qp: declare supported infoframes

2025-08-19 Thread Liu Ying
On 08/19/2025, Dmitry Baryshkov wrote: > Declare which infoframes are supported via the .hdmi_write_infoframe() > interface. > > Signed-off-by: Dmitry Baryshkov > --- > drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/bridg

Re: [PATCH v2 4/8] drm/bridge: lontium-lt9611: declare supported infoframes

2025-08-19 Thread Liu Ying
On 08/19/2025, Dmitry Baryshkov wrote: > Declare which infoframes are supported via the .hdmi_write_infoframe() > interface. > > Signed-off-by: Dmitry Baryshkov > --- > drivers/gpu/drm/bridge/lontium-lt9611.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpu/drm/bridge/lo

Re: [PATCH v2 1/8] drm/connector: let drivers declare infoframes as unsupported

2025-08-19 Thread Liu Ying
On 08/19/2025, Dmitry Baryshkov wrote: > Currently DRM framework expects that the HDMI connector driver supports > all infoframe types: it generates the data as required and calls into > the driver to program all of them, letting the driver to soft-fail if > the infoframe is unsupported. This has a

Re: [PATCH v2 2/8] drm/bridge: adv7511: declare supported infoframes

2025-08-19 Thread Liu Ying
On 08/19/2025, Dmitry Baryshkov wrote: > Declare which infoframes are supported via the .hdmi_write_infoframe() > interface. Audio infoframe is handled separately. > > Signed-off-by: Dmitry Baryshkov > --- > drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 1 + > 1 file changed, 1 insertion(+) Re

Re: [PATCH 3/7] drm/bridge: ite-it6232: declare supported infoframes

2025-08-19 Thread Liu Ying
On 08/19/2025, Dmitry Baryshkov wrote: > On 19/08/2025 12:49, Liu Ying wrote: >> Hi Dmitry, >> >> On 08/16/2025, Dmitry Baryshkov wrote: >>> Declare which infoframes are supported via the .hdmi_write_infoframe() >>> interface. >>> >>> Signed-off-by: Dmitry Baryshkov >>> --- >>> drivers/gpu/drm/b

Re: [PATCH] drm/mediatek: mtk_hdmi: fix inverted parameters in some regmap_update_bits calls

2025-08-19 Thread 胡俊光

linux-next: manual merge of the drm tree with the drm-misc-fixes tree

2025-08-19 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/nova/file.rs between commit: db2e7bcee11c ("drm: nova-drm: fix 32-bit arm build") from the drm-misc-fixes tree and commit: 94febfb5bcfb ("rust: drm: Drop the use of Opaque for ioctl arguments") from the

[PATCH v6 4/6] arm64: dts: qcom: Add initial support for MSM8937

2025-08-19 Thread Barnabás Czémán
From: Dang Huynh Add initial support for MSM8937 SoC. Signed-off-by: Dang Huynh Co-developed-by: Barnabás Czémán Signed-off-by: Barnabás Czémán --- arch/arm64/boot/dts/qcom/msm8937.dtsi | 2134 + 1 file changed, 2134 insertions(+) diff --git a/arch/arm64/boot

[PATCH v6 6/6] arm64: dts: qcom: Add Xiaomi Redmi 3S

2025-08-19 Thread Barnabás Czémán
Add initial support for Xiaomi Redmi 3S (land). Reviewed-by: Konrad Dybcio Signed-off-by: Barnabás Czémán --- arch/arm64/boot/dts/qcom/Makefile| 1 + arch/arm64/boot/dts/qcom/msm8937-xiaomi-land.dts | 381 +++ 2 files changed, 382 insertions(+) diff --git

[PATCH v6 3/6] dt-bindings: display/msm/gpu: describe A505 clocks

2025-08-19 Thread Barnabás Czémán
Descirbe A505 clocks it is using same clocks like A506. Signed-off-by: Barnabás Czémán --- Documentation/devicetree/bindings/display/msm/gpu.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/msm/gpu.yaml b/Documentation/devicet

[PATCH v6 0/6] Initial support of MSM8937 and Xiaomi Redmi 3S

2025-08-19 Thread Barnabás Czémán
This patch series add initial support for MSM8937 SoC and Xiaomi Redmi 3S (land). The series is extending the MSM8917 gcc and pinctrl drivers because they are sibling SoCs. MSM8937 have 4 more A53 cores and have one more dsi port then MSM8917. It implements little-big architecture and uses Adreno

[PATCH v6 2/6] clk: qcom: gcc: Add support for Global Clock controller found on MSM8937

2025-08-19 Thread Barnabás Czémán
From: Daniil Titov Modify existing MSM8917 driver to support MSM8937 SoC. Override frequencies which are different in this chip. Register all the clocks to the framework for the clients to be able to request for them. Add new variant of GDSC for new chip. Signed-off-by: Daniil Titov Reviewed-by

[PATCH v6 1/6] dt-bindings: clock: qcom: Add MSM8937 Global Clock Controller

2025-08-19 Thread Barnabás Czémán
Add device tree bindings for the global clock controller on Qualcomm MSM8937 platform. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Barnabás Czémán --- .../devicetree/bindings/clock/qcom,gcc-msm8953.yaml | 11 --- include/dt-bindings/clock/qcom,gcc-msm8917.h | 19 +

[PATCH v6 5/6] dt-bindings: arm: qcom: Add Xiaomi Redmi 3S

2025-08-19 Thread Barnabás Czémán
Document Xiaomi Redmi 3S (land). Add qcom,msm8937 for msm-id, board-id allow-list. Acked-by: Krzysztof Kozlowski Signed-off-by: Barnabás Czémán --- Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qco

[PATCH 1/3] drm/msm: Fix obj leak in VM_BIND error path

2025-08-19 Thread Rob Clark
If we fail a handle-lookup part way thru, we need to drop the already obtained obj references. Fixes: 2e6a8a1fe2b2 ("drm/msm: Add VM_BIND ioctl") Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/msm_gem_vma.c | 25 +++-- 1 file changed, 19 insertions(+), 6 deletions(-) diff

Re: [PATCH v2 2/2] drm: bridge: Add TI tmds181 and sn65dp159 driver

2025-08-19 Thread kernel test robot
Hi Mike, kernel test robot noticed the following build errors: [auto build test ERROR on 53e760d8949895390e256e723e7ee46618310361] url: https://github.com/intel-lab-lkp/linux/commits/Mike-Looijmans/dt-bindings-drm-bridge-ti-tmds181-Add-TI-TMDS181-and-SN65DP159-bindings/20250819-133458 base

[PATCH 0/3] drm/msm: A few GEM/VM_BIND fixes

2025-08-19 Thread Rob Clark
Fixes for a few issues found in vkd3d-proton testing. Rob Clark (3): drm/msm: Fix obj leak in VM_BIND error path drm/msm: Fix missing VM_BIND offset/range validation drm/msm: Fix 32b size truncation drivers/gpu/drm/msm/msm_gem.c | 17 - drivers/gpu/drm/msm/msm_gem.h

[PATCH 2/3] drm/msm: Fix missing VM_BIND offset/range validation

2025-08-19 Thread Rob Clark
We need to reject the MAP op if offset+range is larger than the BO size. Reported-by: Connor Abbott Fixes: 2e6a8a1fe2b2 ("drm/msm: Add VM_BIND ioctl") Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/msm_gem_vma.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/msm/msm

[PATCH 3/3] drm/msm: Fix 32b size truncation

2025-08-19 Thread Rob Clark
Somehow we never noticed this when arm64 became a thing, many years ago. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/msm_gem.c | 17 - drivers/gpu/drm/msm/msm_gem.h | 6 +++--- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_gem.c b/

Re: [PATCH v4 0/2] Support for Synaptics TDDI series panels

2025-08-19 Thread Rob Herring
On Tue, Aug 19, 2025 at 08:26:43PM +0530, Kaustabh Chakraborty wrote: > Synaptics' Touch and Display Driver Integration (TDDI) technology [1] > employs a single chip for both touchscreen and display capabilities. > Such designs reportedly help reducing costs and power consumption. > > Although the

[PATCH v5 0/3] Decouple max_pclk check from constant display feats

2025-08-19 Thread Swamil Jain
In an effort to make the existing compatibles more usable, we are removing the max_pclk_khz form dispc_features structure and doing the supported pixel clock checks using "max_successful_rate[]" and "max_attempted_rate[]". Changes are fully backwards compatible. After integration of OLDI support[

Re: [PATCH V11 35/47] drm/colorop: Add 1D Curve Custom LUT type

2025-08-19 Thread Sebastian Wick
On Fri Aug 15, 2025 at 5:50 AM CEST, Alex Hung wrote: > We've previously introduced DRM_COLOROP_1D_CURVE for > pre-defined 1D curves. But we also have HW that supports > custom curves and userspace needs the ability to pass > custom curves, aka LUTs. > > This patch introduces a new colorop type, ca

Re: [PATCH V11 07/47] drm/colorop: Add BYPASS property

2025-08-19 Thread Sebastian Wick
On Fri Aug 15, 2025 at 5:49 AM CEST, Alex Hung wrote: > From: Harry Wentland > > We want to be able to bypass each colorop at all times. > Introduce a new BYPASS boolean property for this. > > Reviewed-by: Simon Ser > Reviewed-by: Louis Chauvet > Signed-off-by: Alex Hung > Signed-off-by: Harry

Re: [PATCH V11 06/47] drm/colorop: Add 1D Curve subtype

2025-08-19 Thread Sebastian Wick
On Fri Aug 15, 2025 at 5:49 AM CEST, Alex Hung wrote: > From: Harry Wentland > > Add a new drm_colorop with DRM_COLOROP_1D_CURVE with two subtypes: > DRM_COLOROP_1D_CURVE_SRGB_EOTF and DRM_COLOROP_1D_CURVE_SRGB_INV_EOTF. > > Reviewed-by: Simon Ser > Reviewed-by: Louis Chauvet > Signed-off-by: Ha

[PATCH v5 3/3] drm/tidss: oldi: Add atomic_check hook for oldi bridge

2025-08-19 Thread Swamil Jain
From: Jayesh Choudhary Since OLDI consumes DSS VP clock directly as serial clock, certain checks cannot be performed in tidss driver which should be checked in OLDI driver. Add check for mode clock and set max_successful_rate and max_attempted_rate field for tidss in case the VP is OLDI. Fixes:

[PATCH v5 2/3] drm/tidss: Remove max_pclk_khz from tidss display features

2025-08-19 Thread Swamil Jain
From: Jayesh Choudhary TIDSS hardware by itself does not have variable max_pclk for each VP. The maximum pixel clock is determined by the limiting factor between the functional clock and the PLL (parent to the VP/pixel clock). The limitation that has been modeled till now comes from the clock (P

[PATCH v5 1/3] drm/tidss: oldi: Add property to identify OLDI supported VP

2025-08-19 Thread Swamil Jain
From: Jayesh Choudhary TIDSS should know which VP has OLDI output to avoid calling clock functions for that VP as those are controlled by OLDI driver. Add a property "is_ext_vp_clk" to "tidss_device" structure for that. Mark it 'true' in tidss_oldi_init() and 'false' in tidss_oldi_deinit(). Fixe

Re: [PATCH v4 00/13] Apply drm_bridge_connector and panel_bridge helper for the Analogix DP driver

2025-08-19 Thread Marek Szyprowski
On 15.08.2025 04:59, Damon Ding wrote: > On 2025/8/15 5:16, Marek Szyprowski wrote: >> On 14.08.2025 16:33, Marek Szyprowski wrote: >>> On 14.08.2025 12:47, Damon Ding wrote: PATCH 1 is a small format optimization for struct analogid_dp_device. PATCH 2 is to perform mode setting in &drm_b

[PATCH v3 5/8] drm: renesas: rcar-du: use drmm_writeback_connector_init()

2025-08-19 Thread Dmitry Baryshkov
Use drmm_plain_encoder_alloc() to allocate simple encoder and drmm_writeback_connector_init() in order to initialize writeback connector instance. Reviewed-by: Suraj Kandpal Reviewed-by: Louis Chauvet Signed-off-by: Dmitry Baryshkov --- .../gpu/drm/renesas/rcar-du/rcar_du_writeback.c| 23 +

[PATCH v3 0/8] drm: writeback: clean up writeback connector initialization

2025-08-19 Thread Dmitry Baryshkov
Drivers using drm_writeback_connector_init() / _with_encoder() don't perform cleanup in a manner similar to drmm_writeback_connector_init() (see drm_writeback_connector_cleanup()). Migrate all existing drivers to use drmm_writeback_connector_init(), drop drm_writeback_connector_init() and drm_write

[PATCH v3 3/8] drm/mali: use drmm_writeback_connector_init()

2025-08-19 Thread Dmitry Baryshkov
Use drmm_plain_encoder_alloc() to allocate simple encoder and drmm_writeback_connector_init() in order to initialize writeback connector instance. Reviewed-by: Suraj Kandpal Reviewed-by: Louis Chauvet Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/arm/malidp_mw.c | 25 ++--

[PATCH v3 8/8] drm: writeback: rename drm_writeback_connector_init_with_encoder()

2025-08-19 Thread Dmitry Baryshkov
Rename drm_writeback_connector_init_with_encoder() to drm_writeback_connector_init() and adapt its interface to follow drmm_writeback_connector_init(). Reviewed-by: Suraj Kandpal Reviewed-by: Louis Chauvet Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_writeback.c | 14 +++---

[PATCH v3 6/8] drm/vc4: use drmm_writeback_connector_init()

2025-08-19 Thread Dmitry Baryshkov
Use drmm_plain_encoder_alloc() to allocate simple encoder and drmm_writeback_connector_init() in order to initialize writeback connector instance. Reviewed-by: Louis Chauvet Reviewed-by: Suraj Kandpal Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/vc4/vc4_txp.c | 9 - 1 file chang

[PATCH v3 7/8] drm: writeback: drop excess connector initialization functions

2025-08-19 Thread Dmitry Baryshkov
Now as all drivers have been converted to drmm_writeback_connector_init(), drop drm_writeback_connector_init() and drm_writeback_connector::encoder field, they are unused now. Reviewed-by: Suraj Kandpal Reviewed-by: Louis Chauvet Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_writebac

[PATCH v3 4/8] drm/msm/dpu: use drmm_writeback_connector_init()

2025-08-19 Thread Dmitry Baryshkov
Use drmm_plain_encoder_alloc() to allocate simple encoder and drmm_writeback_connector_init() in order to initialize writeback connector instance. Reviewed-by: Louis Chauvet Reviewed-by: Suraj Kandpal Reviewed-by: Jessica Zhang Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1

[PATCH v3 2/8] drm/komeda: use drmm_writeback_connector_init()

2025-08-19 Thread Dmitry Baryshkov
Use drmm_plain_encoder_alloc() to allocate simple encoder and drmm_writeback_connector_init() in order to initialize writeback connector instance. Reviewed-by: Suraj Kandpal Reviewed-by: Louis Chauvet Signed-off-by: Dmitry Baryshkov --- .../drm/arm/display/komeda/komeda_wb_connector.c | 30 +

[PATCH v3 1/8] drm/amd/display: use drmm_writeback_connector_init()

2025-08-19 Thread Dmitry Baryshkov
Use drmm_plain_encoder_alloc() to allocate simple encoder and drmm_writeback_connector_init() in order to initialize writeback connector instance. Reviewed-by: Louis Chauvet Reviewed-by: Suraj Kandpal Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c| 2

Re: [PATCH v1 17/19] dt-bindings: display: tegra: document Tegra20 and Tegra30 CSI

2025-08-19 Thread Rob Herring
On Tue, Aug 19, 2025 at 03:16:29PM +0300, Svyatoslav Ryhel wrote: > Document CSI hw block found in Tegra20 and Tegra30 SoC. > > Signed-off-by: Svyatoslav Ryhel > --- > .../display/tegra/nvidia,tegra210-csi.yaml| 78 +++ > 1 file changed, 63 insertions(+), 15 deletions(-) > >

Re: [PATCH v1 04/19] dt-bindings: display: tegra: document Tegra30 VIP

2025-08-19 Thread Rob Herring
On Tue, Aug 19, 2025 at 03:16:16PM +0300, Svyatoslav Ryhel wrote: > Parallel VI interface found in Tegra30 is exactly the same as Tegra20 has. That's not what the compatible schema says. 'exactly the same' implies a fallback to whatever it is exactly the same as. > > Signed-off-by: Svyatoslav R

Re: [PATCH v3] drm: Replace the deprecated DRM_* logging macros in gem helper files

2025-08-19 Thread Michal Wajdeczko
On 8/19/2025 2:11 PM, Athul Raj Kollareth wrote: > Replace the DRM_* logging macros used in gem helper files with the appropriate > ones specified in /include/drm/drm_print.h. > > Signed-off-by: Athul Raj Kollareth > --- > Changes in v3: > - Revert all changes to drm_gem_objects_lookup() >

Re: [PATCH v2 1/4] dt-bindings: backlight: Add max25014 bindings

2025-08-19 Thread Rob Herring
On Tue, Aug 19, 2025 at 12:58:59PM +0200, Maud Spierings wrote: > The Maxim MAX25014 is a 4-channel automotive grade backlight driver IC > with intgrated boost controller. > > Signed-off-by: Maud Spierings > --- > .../bindings/leds/backlight/maxim,max25014.yaml| 79 > ++

Re: [PATCH v15 11/13] drm/msm/dpu: support SSPP assignment for quad-pipe case

2025-08-19 Thread Dmitry Baryshkov
On Tue, Aug 19, 2025 at 09:31:05AM +0800, Jun Nie wrote: > Currently, SSPPs are assigned to a maximum of two pipes. However, > quad-pipe usage scenarios require four pipes and involve configuring > two stages. In quad-pipe case, the first two pipes share a set of > mixer configurations and enable m

[PATCH v2 8/8] drm/display: bridge_connector: drop default list for HDMI Infoframes

2025-08-19 Thread Dmitry Baryshkov
Now as all bridges are updated to list supported HDMI InfoFrames, drop the default value from drm_bridge_connector_init(). All HDMI bridges now have to declare all supported InfoFrames. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/display/drm_bridge_connector.c | 7 +-- 1 file changed

[PATCH v2 7/8] drm/rockchip: rk3066: declare supported infoframes

2025-08-19 Thread Dmitry Baryshkov
Declare which infoframes are supported via the .hdmi_write_infoframe() interface. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/rockchip/rk3066_hdmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rockchip/rk3066_hdmi.c b/drivers/gpu/drm/rockchip/rk3066_hdmi.c index

[PATCH v2 2/8] drm/bridge: adv7511: declare supported infoframes

2025-08-19 Thread Dmitry Baryshkov
Declare which infoframes are supported via the .hdmi_write_infoframe() interface. Audio infoframe is handled separately. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_drv

[PATCH v2 0/8] drm/connector: hdmi: limit infoframes per driver capabilities

2025-08-19 Thread Dmitry Baryshkov
It's not uncommon for the particular device to support only a subset of HDMI InfoFrames. It's not a big problem for the kernel, since we adopted a model of ignoring the unsupported Infoframes, but it's a bigger problem for the userspace: we end up having files in debugfs which do mot match what is

[PATCH v2 4/8] drm/bridge: lontium-lt9611: declare supported infoframes

2025-08-19 Thread Dmitry Baryshkov
Declare which infoframes are supported via the .hdmi_write_infoframe() interface. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/bridge/lontium-lt9611.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/bridge/lontium-lt9611.c b/drivers/gpu/drm/bridge/lontium-lt9611.c

[PATCH v2 6/8] drm/msm: hdmi: declare supported infoframes

2025-08-19 Thread Dmitry Baryshkov
Declare which infoframes are supported via the .hdmi_write_infoframe() interface. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c b/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c in

[PATCH v2 5/8] drm/bridge: synopsys/dw-hdmi-qp: declare supported infoframes

2025-08-19 Thread Dmitry Baryshkov
Declare which infoframes are supported via the .hdmi_write_infoframe() interface. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c b/drivers/gpu/drm/bridge/synopsy

[PATCH v2 3/8] drm/bridge: ite-it6263: declare supported infoframes

2025-08-19 Thread Dmitry Baryshkov
Declare which infoframes are supported via the .hdmi_write_infoframe() interface. Reviewed-by: Liu Ying Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/bridge/ite-it6263.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/ite-it6263.c b/drivers/gpu/drm/bridge/ite-i

[PATCH v2 1/8] drm/connector: let drivers declare infoframes as unsupported

2025-08-19 Thread Dmitry Baryshkov
Currently DRM framework expects that the HDMI connector driver supports all infoframe types: it generates the data as required and calls into the driver to program all of them, letting the driver to soft-fail if the infoframe is unsupported. This has a major drawback on userspace API: the framework

[PATCH v2 2/2] drm/amd/display: fix leak of probed modes

2025-08-19 Thread Fedor Pchelkin
amdgpu_dm_connector_ddc_get_modes() reinitializes a connector's probed modes list without cleaning it up. First time it is called during the driver's initialization phase, then via drm_mode_getconnector() ioctl. The leaks observed with Kmemleak are as following: unreferenced object 0x88812f91b

[PATCH v2 1/2] drm/modes: export drm_mode_remove() helper

2025-08-19 Thread Fedor Pchelkin
This functionality may be helpful in drivers so export it for reusability. Found by Linux Verification Center (linuxtesting.org). Signed-off-by: Fedor Pchelkin --- drivers/gpu/drm/drm_connector.c | 8 +--- drivers/gpu/drm/drm_modes.c | 15 +++ include/drm/drm_modes.h

[PATCH v2 0/2] a fix for connector modes leak in amdgpu driver

2025-08-19 Thread Fedor Pchelkin
The first patch is a prerequisite exporting a convenient helper at include/drm/modes.h used in the second one fixing a leak in amdgpu driver. v1: https://lore.kernel.org/all/20250817094346.15740-1-pchel...@ispras.ru/ Fedor Pchelkin (2): drm/modes: export drm_mode_remove() helper drm/amd/displ

[PATCH] drm/xe: Skip creation of pcode sysfs files when pcode is disabled

2025-08-19 Thread Andi Shyti
From: Andi Shyti Coverity warns that 'cap' may be used uninitialised. If pcode is disabled there is no need to go through the hassle of a pcode read or taking a PM reference. Check skip_pcode early in the function and return if it is set. No change for platforms where pcode is enabled. Signed-

Re: [PATCH] gpu: host1x: Syncpoint interrupt performance optimization

2025-08-19 Thread Mikko Perttunen
On Monday, July 7, 2025 6:58 PM Mikko Perttunen wrote: > From: Mikko Perttunen > > Optimize performance of syncpoint interrupt handling by reading > the status register in 64-bit chunks when possible, and skipping > processing when the read value is zero. > > Signed-off-by: Mikko Perttunen > --

Re: [PATCH 19/19] perf: Garbage-collect event_init checks

2025-08-19 Thread Robin Murphy
On 19/08/2025 3:44 am, kernel test robot wrote: Hello, kernel test robot noticed "BUG:unable_to_handle_page_fault_for_address" on: commit: 1ba20479196e5af3ebbedf9321de6b26f2a0cdd3 ("[PATCH 19/19] perf: Garbage-collect event_init checks") url: https://github.com/intel-lab-lkp/linux/commits/R

Re: [PATCH 1/2] dt-bindings: drm/bridge: ti-tmds181: Add TI TMDS181 and SN65DP159 bindings

2025-08-19 Thread Conor Dooley
On Tue, Aug 19, 2025 at 10:26:15AM +0200, Mike Looijmans wrote: > On 19-08-2025 09:51, Krzysztof Kozlowski wrote: > > On 19/08/2025 09:46, Mike Looijmans wrote: > > > > > + > > > > > +properties: > > > > > + compatible: > > > > > +enum: > > > > > + - ti,tmds181 > > > > > + - ti,sn65d

Re: [PATCH] drm/amd/display: fix leak of probed modes

2025-08-19 Thread Fedor Pchelkin
On Mon, 18. Aug 21:17, Limonciello, Mario wrote: > On 8/17/25 4:43 AM, Fedor Pchelkin wrote: > > For what the patch does there exists a drm_mode_remove() helper but it's > > static at drivers/gpu/drm/drm_connector.c and requires to be exported > > first. This probably looks like a subject for an in

Re: [RFC 3/3] drm/xe: Add DRM_XE_GEM_CREATE_FLAG_PINNED flag and implementation

2025-08-19 Thread Thomas Hellström
Hi, Maarten, On Tue, 2025-08-19 at 13:49 +0200, Maarten Lankhorst wrote: > Add an option to pin memory through the science of cgroup accounting. > A bo will be pinned for its entire lifetime, and this allows buffers > that are pinned for dma-buf export without requiring the pinning to > be > done

Re: [PATCH] drm/sched/tests: Remove redundant header files

2025-08-19 Thread Markus Elfring
> The header file is already included on line 8. Remove the > redundant include. You would like to omit a duplicate #include directive, don't you? Will a corresponding refinement become helpful for the summary phrase and change description? Regards, Markus

Re: [PATCH 1/1] drm/amd/display: Add quirk to force backlight type on some TUXEDO devices

2025-08-19 Thread Werner Sembach
Am 09.04.25 um 18:27 schrieb Werner Sembach: The display backlight on TUXEDO Polaris AMD Gen2 and Gen3 with panels BOE 2420 and BOE 2423 must be forced to pwn controlled to be able to control the brightness. This could already be archived via a module parameter, but this patch adds a quirk to

Re: [PATCH v2 3/9] drm/bridge: add drm_for_each_bridge_in_chain_scoped()

2025-08-19 Thread Luca Ceresoli
Hi Maxime, On Tue, 19 Aug 2025 15:47:06 +0200 Maxime Ripard wrote: > > +/** > > + * drm_for_each_bridge_in_chain_scoped - iterate over all bridges attached > > + * to an encoder > > + * @encoder: the encoder to iterate bridges on > > + * @bridge: a bridge po

[PATCH] drm/i915/guc: Add synchronization on interrupt enable flag

2025-08-19 Thread Zhanjun Dong
Boolean flag access from interrupt context might have synchronous issue on multiple processor platform, flage modified by one core might be read as an old value by another core. This issue on interrupt enable flag might causes interrupt missing or leakage. Fixed by change the data type as automic t

[PATCH 4/4] drm/gpusvm: Make drm_gpusvm_for_each_* macros public

2025-08-19 Thread Himal Prasad Ghimiray
The drm_gpusvm_for_each_notifier, drm_gpusvm_for_each_notifier_safe and drm_gpusvm_for_each_range_safe macros are useful for locating notifiers and ranges within a user-specified range. By making these macros public, we enable broader access and utility for developers who need to leverage them in t

[PATCH 2/4] drm/gpuvm: Kill drm_gpuva_init()

2025-08-19 Thread Himal Prasad Ghimiray
From: Boris Brezillon drm_gpuva_init() only has one internal user, and given we are about to add new optional fields, it only add maintenance burden for no real benefit, so let's kill the thing now. Cc: Danilo Krummrich Cc: Rob Clark Signed-off-by: Boris Brezillon Acked-by: Danilo Krummrich

[PATCH 3/4] drm/gpuvm: Introduce drm_gpuvm_madvise_ops_create

2025-08-19 Thread Himal Prasad Ghimiray
This ops is used to iterate over GPUVA's in the user-provided range and split the existing sparse VMA's if the start or end of the input range lies within it. The operations can create up to 2 REMAPS and 2 MAPs. The primary use case is for drivers to assign attributes to GPU VAs in the specified r

[PATCH 1/4] drm/gpuvm: Pass map arguments through a struct

2025-08-19 Thread Himal Prasad Ghimiray
From: Boris Brezillon We are about to pass more arguments to drm_gpuvm_sm_map[_ops_create](), so, before we do that, let's pass arguments through a struct instead of changing each call site every time a new optional argument is added. Cc: Danilo Krummrich Cc: Brendan King Cc: Matt Coster Cc:

[PATCH 0/4] Xe-agnostic patches to support MADVISE

2025-08-19 Thread Himal Prasad Ghimiray
This series contains a set of patches that modify files outside the Xe driver to enable support for MADVISE [1] in the Xe subsystem. These patches are being submitted for merging via drm-misc. Once these patches are backmerged into drm-xe-next, the remaining patches from the MADVISE [1] series wil

[syzbot] [fbdev?] KASAN: slab-out-of-bounds Read in fb_pad_aligned_buffer (2)

2025-08-19 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:2674d1eadaa2 Add linux-next specific files for 20250812 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=10c12af058 kernel config: https://syzkaller.appspot.com/x/.config?x=712e4169f26d539a dashbo

Re: [PATCH v2] drm/gpusvm: some kernel-doc fixes

2025-08-19 Thread Matthew Brost
On Tue, Aug 19, 2025 at 04:27:08PM +0100, Matthew Auld wrote: > This should be enough to get scripts/kernel-doc passing for > drm_gpusvm.[ch], so we can then add them to our CI build infra. > > v2: > - Also drop misplaced range_evict() > > Link: https://gitlab.freedesktop.org/drm/xe/ci/-/merge_r

Re: [RFC PATCH 1/6] mm/mmu_notifier: Allow multiple struct mmu_interval_notifier passes

2025-08-19 Thread Matthew Brost
On Tue, Aug 19, 2025 at 01:33:40PM +0200, Thomas Hellström wrote: > On Tue, 2025-08-19 at 19:55 +1000, Alistair Popple wrote: > > On Mon, Aug 18, 2025 at 01:46:55PM -0300, Jason Gunthorpe wrote: > > > On Mon, Aug 18, 2025 at 09:44:01AM -0700, Matthew Brost wrote: > > > > On Mon, Aug 18, 2025 at 01:

[PATCH v2] drm/gpusvm: some kernel-doc fixes

2025-08-19 Thread Matthew Auld
This should be enough to get scripts/kernel-doc passing for drm_gpusvm.[ch], so we can then add them to our CI build infra. v2: - Also drop misplaced range_evict() Link: https://gitlab.freedesktop.org/drm/xe/ci/-/merge_requests/86 Signed-off-by: Matthew Auld Cc: Matthew Brost --- drivers/gpu/

Re: [PATCH] drm/amd/display: Remove redundant header files

2025-08-19 Thread Alex Deucher
Applied. Thanks! On Tue, Aug 19, 2025 at 10:33 AM Liao Yuanhong wrote: > > The header file "dc_stream.h" is already included on line 1507. Remove the > redundant include. > > This is because the header file was initially included towards the latter > part of the code. Subsequent commits had to i

[PATCH v4 2/2] drm: panel: add support for Synaptics TDDI series DSI panels

2025-08-19 Thread Kaustabh Chakraborty
Synaptics TDDI (Touch/Display Integration) panels utilize a single chip for display and touch controllers. Implement a simple device driver for such panels, along with its built-in LED backlight controller, and add support for TD4101 and TD4300 panels in the driver. Signed-off-by: Kaustabh Chakrab

[PATCH v4 1/2] dt-bindings: display: panel: document Synaptics TDDI panel

2025-08-19 Thread Kaustabh Chakraborty
Document the Synaptics TDDI (Touch/Display Integration) panel hardware. Along with the MIPI-DSI panel, these devices also have an in-built LED backlight device and a touchscreen, all packed together in a single chip. Also, add compatibles for supported panels - TD4101 and TD4300. Both have the '-p

[PATCH v4 0/2] Support for Synaptics TDDI series panels

2025-08-19 Thread Kaustabh Chakraborty
Synaptics' Touch and Display Driver Integration (TDDI) technology [1] employs a single chip for both touchscreen and display capabilities. Such designs reportedly help reducing costs and power consumption. Although the touchscreens, which are powered by Synaptics' Register-Mapped Interface 4 (RMI4

Re: [PATCH v7 0/6] Add support for DU/DSI clocks and DSI driver support for the Renesas RZ/V2H(P) SoC

2025-08-19 Thread Laurent Pinchart
On Tue, Aug 19, 2025 at 03:48:08PM +0200, Geert Uytterhoeven wrote: > On Mon, 28 Jul 2025 at 22:14, Prabhakar wrote: > > From: Lad Prabhakar > > > > This patch series adds DU/DSI clocks and provides support for the > > MIPI DSI interface on the RZ/V2H(P) SoC. It was originally part of > > series [

Re: [PATCH V4 4/5] drm/bridge: it66121: Use vid/pid to detect the type of chip

2025-08-19 Thread Andrew Davis
On 8/19/25 8:08 AM, Nishanth Menon wrote: The driver knows exactly which version of the chip is present since the vid/pid is used to enforce a compatibility. Given that some devices like IT66121 has potentially been replaced with IT66122 mid production for many platforms, it makes no sense to use

Re: [PATCH net-next 5/6] net: ti: icssg-prueth: Add AF_XDP zero copy for RX

2025-08-19 Thread Jakub Kicinski
On Mon, 18 Aug 2025 16:54:23 +0530 Meghana Malladi wrote: > @@ -1332,6 +1350,13 @@ static int prueth_xsk_wakeup(struct net_device *ndev, > u32 qid, u32 flags) > } > } > > + if (flags & XDP_WAKEUP_RX) { > + if (!napi_if_scheduled_mark_missed(&emac->napi_rx)) {

Re: [PATCH] drm/sched/tests: Remove redundant header files

2025-08-19 Thread Tvrtko Ursulin
On 19/08/2025 15:26, Liao Yuanhong wrote: The header file is already included on line 8. Remove the redundant include. Fixes: 5a99350794fec ("drm/sched: Add scheduler unit testing infrastructure and some basic tests") Signed-off-by: Liao Yuanhong --- drivers/gpu/drm/scheduler/tests/sched_

[PATCH] drm/sched/tests: Remove redundant header files

2025-08-19 Thread Liao Yuanhong
The header file is already included on line 8. Remove the redundant include. Fixes: 5a99350794fec ("drm/sched: Add scheduler unit testing infrastructure and some basic tests") Signed-off-by: Liao Yuanhong --- drivers/gpu/drm/scheduler/tests/sched_tests.h | 1 - 1 file changed, 1 deletion(-) d

Re: [PATCH v2 2/2] drm: bridge: Add TI tmds181 and sn65dp159 driver

2025-08-19 Thread Mike Looijmans
On 19-08-2025 15:22, Maxime Ripard wrote: On Tue, Aug 19, 2025 at 07:31:15AM +0200, Mike Looijmans wrote: The tmds181 and sn65dp159 are "retimers" and hence can be considered HDMI-to-HDMI bridges. Typical usage is to convert the output of an FPGA into a valid HDMI signal, and it will typically b

[PATCH] drm/amd/display: Remove redundant header files

2025-08-19 Thread Liao Yuanhong
The header file "dc_stream.h" is already included on line 1507. Remove the redundant include. This is because the header file was initially included towards the latter part of the code. Subsequent commits had to include the header file again earlier in the code. In my opinion, this doesn't count a

[PATCH] drm/gpusvm: some kernel-doc fixes

2025-08-19 Thread Matthew Auld
This should be enough to get scripts/kernel-doc passing for drm_gpusvm.[ch], so we can then add them to our CI build infra. Link: https://gitlab.freedesktop.org/drm/xe/ci/-/merge_requests/86 Signed-off-by: Matthew Auld Cc: Matthew Brost --- drivers/gpu/drm/drm_gpusvm.c | 4 ++-- 1 file changed,

Re: [PATCH v3 01/13] dt-bindings: display: st: add new compatible to LTDC device

2025-08-19 Thread Rob Herring (Arm)
On Tue, 19 Aug 2025 11:15:54 +0200, Raphael Gallais-Pou wrote: > The new STMicroelectronics SoC features a display controller similar to > the one used in previous SoCs. Because there is additional registers, > it is incompatible with existing IPs. > > Add the new name to the list of compatible

Re: [PATCH v3 01/13] dt-bindings: display: st: add new compatible to LTDC device

2025-08-19 Thread Rob Herring
On Tue, Aug 19, 2025 at 03:17:46PM +0200, Raphael Gallais-Pou wrote: > > > On 8/19/25 13:01, Rob Herring (Arm) wrote: > > On Tue, 19 Aug 2025 11:15:54 +0200, Raphael Gallais-Pou wrote: > >> The new STMicroelectronics SoC features a display controller similar to > >> the one used in previous SoCs.

Re: [PATCH v2 9/9] drm/imx: parallel-display: put the bridge returned by drm_bridge_get_next_bridge()

2025-08-19 Thread Maxime Ripard
On Fri, 1 Aug 2025 19:05:31 +0200, Luca Ceresoli wrote: > The bridge returned by drm_bridge_get_next_bridge() is refcounted. Put it > when done. We need to ensure it is not put before either next_bridge or > next_bridge_state is in use, thus for simplicity use a cleanup action. > > Signed-off-by:

Re: [PATCH v2 8/9] drm/bridge: put the bridge returned by drm_bridge_get_next_bridge()

2025-08-19 Thread Maxime Ripard
On Fri, 1 Aug 2025 19:05:30 +0200, Luca Ceresoli wrote: > The bridge returned by drm_bridge_get_next_bridge() is refcounted. Put it > when done. We need to ensure it is not put before either next_bridge or > next_bridge_state is in use, thus for simplicity use a cleanup action. > > Signed-off-by:

Re: [PATCH v2 4/9] drm/omapdrm: use drm_bridge_chain_get_last_bridge()

2025-08-19 Thread Maxime Ripard
On Fri, 1 Aug 2025 19:05:26 +0200, Luca Ceresoli wrote: > Use drm_bridge_chain_get_last_bridge() instead of open coding a loop with > two invocations of drm_bridge_get_next_bridge() per iteration. > > Besides being cleaner and more efficient, this change is necessary in > preparation for drm_bridg

  1   2   3   >