Re: [PATCH v4 14/23] drm/tests: hdmi: Add macro to support EDEADLK handling

2025-05-25 Thread Maxime Ripard
On Thu, May 22, 2025 at 07:47:00PM +0300, Cristian Ciocaltea wrote: > On 5/22/25 7:06 PM, Maxime Ripard wrote: > > On Mon, May 19, 2025 at 01:35:46PM +0300, Cristian Ciocaltea wrote: > >> On 5/19/25 10:22 AM, Maxime Ripard wrote: > >>> Hi, > >>> > >>> On Fri, Apr 25, 2025 at 01:27:05PM +0300, Crist

Re: [PATCH 9/9] iosys_map: embed the is_iomem bit into the pointer.

2025-05-25 Thread Thomas Zimmermann
Hi Am 22.05.25 um 17:09 schrieb Lucas De Marchi: On Thu, May 22, 2025 at 04:52:18PM +1000, Dave Airlie wrote: From: Dave Airlie This reduces this struct from 16 to 8 bytes, and it gets embedded into a lot of things. Signed-off-by: Dave Airlie Replied too early on cover. Chatting with Mich

Re: [PATCH] drm/mediatek: Add wait_event_timeout when disabling plane

2025-05-25 Thread 林睿祥

[PATCH] drm/amd/display: Add null pointer check for get_first_active_display()

2025-05-25 Thread Wentao Liang
The function mod_hdcp_hdcp1_enable_encryption() calls the function get_first_active_display(), but does not check its return value. The return value is a null pointer if the display list is empty. This will lead to a null pointer dereference in mod_hdcp_hdcp2_enable_encryption(). Add a null pointe

[PATCH] drm/rockchip: lvds: Convert to drm bridge

2025-05-25 Thread Chaoyi Chen
From: Chaoyi Chen Convert it to drm bridge driver, it will be convenient for us to migrate the connector part to the display driver later. Signed-off-by: Chaoyi Chen --- drivers/gpu/drm/rockchip/rockchip_lvds.c | 68 ++-- 1 file changed, 29 insertions(+), 39 deletions(-) d

Re: [PATCH v2 2/2] drm: add overview diagram for drm stack

2025-05-25 Thread Bagas Sanjaya
On Fri, May 23, 2025 at 03:52:26PM -0400, Abdulrasaq Lawani wrote: > diff --git a/Documentation/gpu/introduction.rst > b/Documentation/gpu/introduction.rst > index > 91bb0efc96d69921a122c5265b1431fa18110a7a..2653048ad4bb0ecbc2b676295440442dddbabae6 > 100644 > --- a/Documentation/gpu/introduction

Re: [PATCH v2] drm/rockchip: cdn-dp: Convert to drm bridge

2025-05-25 Thread Chaoyi Chen
Hi Dmitry, On 2025/5/24 6:17, Dmitry Baryshkov wrote: On Fri, May 23, 2025 at 09:13:10AM +0800, Chaoyi Chen wrote: From: Chaoyi Chen Convert it to drm bridge driver, it will be convenient for us to migrate the connector part to the display driver later. Considering that some code depend on t

Re: [PATCH v4 5/5] arm64: dts: qcom: Add Lenovo ThinkBook 16 G7 QOY device tree

2025-05-25 Thread Aleksandrs Vinarskis
On Sun, 25 May 2025 at 15:33, Dmitry Baryshkov wrote: > > On Sat, May 24, 2025 at 07:58:13PM +0200, Aleksandrs Vinarskis wrote: > > On Sat, 24 May 2025 at 17:33, Dmitry Baryshkov > > wrote: > > > > > > On Sat, May 24, 2025 at 01:48:40PM +0200, Jens Glathe via B4 Relay wrote: > > > > From: Jens Gl

Re: [PATCH v3 02/22] drm: convert many bridge drivers from devm_kzalloc() to devm_drm_bridge_alloc() API

2025-05-25 Thread Adam Ford
On Fri, May 9, 2025 at 8:56 AM Luca Ceresoli wrote: > > devm_drm_bridge_alloc() is the new API to be used for allocating (and > partially initializing) a private driver struct embedding a struct > drm_bridge. > > For many drivers having a simple code flow in the probe function, this > commit does

[RFC PATCH 2/2] backlight: Improve support for dual backlight with primary/secondary linkage

2025-05-25 Thread Pengyu Luo
This patch enhances dual-backlight handling by explicitly linking primary and secondary backlight devices using new fields: - `is_secondary`: Marks if a device is secondary in a pair - `secondary`: Points to the associated secondary device (if any) - `primary`: Points to the primary device (for se

[PATCH v8 4/4] drm/tidss: Add OLDI bridge support

2025-05-25 Thread Aradhya Bhatia
From: Aradhya Bhatia The AM62x and AM62Px SoCs feature 2 OLDI TXes each, which makes it possible to connect them in dual-link or cloned single-link OLDI display modes. The current OLDI support in tidss_dispc.c can only support for a single OLDI TX, connected to a VP and doesn't really support con

[PATCH v8 1/4] dt-bindings: display: ti, am65x-dss: Re-indent the example

2025-05-25 Thread Aradhya Bhatia
From: Aradhya Bhatia Reduce tab size from 8 spaces to 4 spaces to make the bindings consistent, and easy to expand. Acked-by: Rob Herring (Arm) Reviewed-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen Signed-off-by: Aradhya Bhatia Signed-off-by: Aradhya Bhatia --- .../bindings/display/ti/

[PATCH v8 2/4] dt-bindings: display: ti: Add schema for AM625 OLDI Transmitter

2025-05-25 Thread Aradhya Bhatia
From: Aradhya Bhatia The OLDI transmitters (TXes) do not have registers of their own, and are dependent on the source video-ports (VPs) from the DSS to provide configuration data. This hardware doesn't directly sit on the internal bus of the SoC, but does so via the DSS. Hence, the OLDI TXes are

[PATCH v8 3/4] drm/tidss: Mark AM65x OLDI code separately

2025-05-25 Thread Aradhya Bhatia
The dss dt schema and the tidss driver have kept the single-link OLDI in AM65x integrated with the parent video-port (VP) from DSS (as the OLDI configuration happens from the source VP only). To help configure the dual-lvds modes that the OLDI has to offer in devices AM62x and later, a new OLDI bri

[PATCH v8 0/4] drm/tidss: Add OLDI bridge support

2025-05-25 Thread Aradhya Bhatia
Hello all, This patch series adds support for the dual OLDI TXes supported in Texas Instruments' AM62x and AM62Px family of SoCs. The OLDI TX hardware supports single-lvds, lvds-clone, and dual-lvds modes. These TXes have now been represented through DRM bridges within TI-DSS. * Some history and

[PATCH] drm: tegra: Fix undefined behavior in left shift operation

2025-05-25 Thread Yu-Chun Lin
According to the C11 standard (ISO/IEC 9899:2011, 6.5.7): "If E1 has a signed type and E1 x 2^E2 is not representable in the result type, the behavior is undefined." Shifting 1 << 31 causes signed integer overflow, which leads to undefined behavior. Fix this by explicitly using 'BIT(31)' to ensur

Re: [PATCH v4 5/5] arm64: dts: qcom: Add Lenovo ThinkBook 16 G7 QOY device tree

2025-05-25 Thread Dmitry Baryshkov
On Sat, May 24, 2025 at 07:58:13PM +0200, Aleksandrs Vinarskis wrote: > On Sat, 24 May 2025 at 17:33, Dmitry Baryshkov > wrote: > > > > On Sat, May 24, 2025 at 01:48:40PM +0200, Jens Glathe via B4 Relay wrote: > > > From: Jens Glathe > > > > > > Device tree for the Lenovo Thinkbook 16 G7 QOY > >

Re: [PATCH 4/4] drm/panel-edp: Add BOE NE14QDM panel for Dell Latitude 7455

2025-05-25 Thread Dmitry Baryshkov
On Sun, May 25, 2025 at 06:53:36AM -0300, Val Packett wrote: > Cannot confirm which variant exactly it is, as the EDID alphanumeric data > contains '0RGNR' <0x80> 'NE14QDM' and ends there; but it's 60 Hz and with > touch. > > I do not have access to datasheets for these panels, so the timing is >

Re: [PATCH 01/34] drm: convert many bridge drivers from devm_kzalloc() to devm_drm_bridge_alloc() API

2025-05-25 Thread Adam Ford
On Mon, Apr 7, 2025 at 9:24 AM Luca Ceresoli wrote: > > devm_drm_bridge_alloc() is the new API to be used for allocating (and > partially initializing) a private driver struct embedding a struct > drm_bridge. > > For many drivers having a simple code flow in the probe function, this > commit does

Re: [PATCH] media: dt-bindings: mediatek: Constrain iommus

2025-05-25 Thread Krzysztof Kozlowski
On 25/05/2025 12:48, Daniel Stone wrote: > On Sun, 25 May 2025 at 06:16, Krzysztof Kozlowski > wrote: >> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl-2l.yaml >> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl-2l.yaml >> @@ -45,9 +45,8 @@ properties: >

Re: [PATCH/RFC 0/3] Atari DRM driver

2025-05-25 Thread Geert Uytterhoeven
Hi Eero, On Thu, 22 May 2025 at 00:56, Eero Tamminen wrote: > On 21.5.2025 10.06, Geert Uytterhoeven wrote: > > On Wed, 21 May 2025 at 01:59, Eero Tamminen wrote: > >> I tried your "atari-drm-wip-v1" branch commits on top of 6.14. > > > > Thanks for testing! > > > >> After some minor changes tho

Re: [PATCH] media: dt-bindings: mediatek: Constrain iommus

2025-05-25 Thread Daniel Stone
On Sun, 25 May 2025 at 06:16, Krzysztof Kozlowski wrote: > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl-2l.yaml > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl-2l.yaml > @@ -45,9 +45,8 @@ properties: >- description: OVL-2L Clock > >iommu

[RFC PATCH 1/2] backlight: Rename duplicated devices to support dual-backlight setups

2025-05-25 Thread Pengyu Luo
When registering a backlight device, if a device with the same name already exists, append "-secondary" to the new device's name. This is useful for platforms with dual backlight drivers (e.g. some panels use dual ktz8866), where both instances need to coexist. For now, only one secondary instance

[PATCH 4/4] drm/panel-edp: Add BOE NE14QDM panel for Dell Latitude 7455

2025-05-25 Thread Val Packett
Cannot confirm which variant exactly it is, as the EDID alphanumeric data contains '0RGNR' <0x80> 'NE14QDM' and ends there; but it's 60 Hz and with touch. I do not have access to datasheets for these panels, so the timing is a guess that was tested to work fine on this laptop. Signed-off-by: Val

Re: [PATCH v4 3/6] iio: fix potential out-of-bound write

2025-05-25 Thread Jonathan Cameron
On Thu, 8 May 2025 15:06:09 +0200 Markus Burri wrote: > The buffer is set to 20 characters. If a caller write more characters, > count is truncated to the max available space in "simple_write_to_buffer". > To protect from OoB access, check that the input size fit into buffer and > add a zero ter

Re: [PATCH v4 3/6] iio: fix potential out-of-bound write

2025-05-25 Thread Jonathan Cameron
On Thu, 8 May 2025 15:06:09 +0200 Markus Burri wrote: > The buffer is set to 20 characters. If a caller write more characters, > count is truncated to the max available space in "simple_write_to_buffer". > To protect from OoB access, check that the input size fit into buffer and > add a zero ter

Re: [PATCH v4 1/6] iio: backend: fix out-of-bound write

2025-05-25 Thread Jonathan Cameron
On Sun, 11 May 2025 15:27:07 +0100 Jonathan Cameron wrote: > On Thu, 8 May 2025 15:06:07 +0200 > Markus Burri wrote: > > > The buffer is set to 80 character. If a caller write more characters, > > count is truncated to the max available space in "simple_write_to_buffer". > > But afterwards a s