[PATCH v2 0/2] drm/bridge: panel: Check device dependency before managing device link
From: Liu Ying
Date: Mon Nov 27 2023 - 00:10:18 EST
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