lkml.org 
[lkml]   [2023]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] drm/bridge: panel: Check device dependency before managing device link
Date
Hi,

This series aims to check panel device dependency upon DRM device before
managing device link between them. It fixes eariler patches in v6.7-rc1
which tried to manage the link. Without this series, the link fails to
be added for dependent panel devices and hence relevant panel bridges
fail to be attached. A real broken panel is "novatek,nt35510" defined
in arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts as reported by
Linus Walleij.

Patch 1 exports device_is_dependent() to modules as needed by patch 2.
Patch 2 checks device dependency before managing the device link.

Note that patch 2 is already in drm-misc/drm-misc-fixes and
drm-misc/for-linux-next-fixes. Patch 1 needs to be reviewed and picked up.

v2:
* Introduce patch 1 to export device_is_dependent() to modules as needed by
patch 2.

Liu Ying (2):
driver core: Export device_is_dependent() to modules
drm/bridge: panel: Check device dependency before managing device link

drivers/base/core.c | 1 +
drivers/gpu/drm/bridge/panel.c | 27 ++++++++++++++++++---------
2 files changed, 19 insertions(+), 9 deletions(-)

--
2.37.1

\
 
 \ /
  Last update: 2023-11-27 06:11    [W:0.086 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site