drivers: gpu: drm: bridge: fix kconfig dependency on DRM_KMS_HELPER
Subsystems (3)
PATCH 1/1 drivers: gpu: drm: bridge: fix kconfig dependency on DRM_KMS_HELPER
When DRM_TOSHIBA_TC358762 is enabled and DRM_KMS_HELPER is disabled, Kbuild gives the following warning:
WARNING: unmet direct dependencies detected for DRM_PANEL_BRIDGE
Depends on [n]: HAS_IOMEM [=y] && DRM_BRIDGE [=y] && DRM_KMS_HELPER [=n] Selected by [y]:
- DRM_TOSHIBA_TC358762 [=y] && HAS_IOMEM [=y] && DRM [=y] && DRM_BRIDGE [=y] && OF [=y]
This is because DRM_TOSHIBA_TC358762 selects DRM_PANEL_BRIDGE, without depending on or selecting DRM_KMS_HELPER, despite that config option depending on DRM_KMS_HELPER.
--- drivers/gpu/drm/bridge/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/Kconfig +1 -0
@@ -183,6 +183,7 @@ config DRM_TOSHIBA_TC358762 tristate "TC358762 DSI/DPI bridge" depends on OF select DRM_MIPI_DSI + select DRM_KMS_HELPER select DRM_PANEL_BRIDGE help Toshiba TC358762 DSI/DPI bridge driver.
--
2.27.0
Hey Julian,
Nice catch, this patch looks good to me. I've pushed it to drm-misc-next.
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=62066d3164467167fc27b2383f67d097e39bf176
Quoted 31 lines · Julian Braha
When
DRM_TOSHIBA_TC358762is enabled andDRM_KMS_HELPERis disabled,Kbuildgives the following warning:WARNING: unmet direct dependencies detected for
DRM_PANEL_BRIDGE
Depends on [n]:HAS_IOMEM[=y] &&DRM_BRIDGE[=y] &&DRM_KMS_HELPER[=n] Selected by [y]:
-DRM_TOSHIBA_TC358762[=y] &&HAS_IOMEM[=y] && DRM [=y] &&DRM_BRIDGE[=y] && OF [=y]This is because
DRM_TOSHIBA_TC358762selectsDRM_PANEL_BRIDGE, without depending on or selectingDRM_KMS_HELPER, despite that config option depending onDRM_KMS_HELPER.Signed-off-by Julian Braha <[email protected]>--- drivers/gpu/drm/bridge/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/bridge/Kconfig +1
-1@@ -183,6 +183,7 @@ config DRM_TOSHIBA_TC358762 tristate "TC358762 DSI/DPI bridge" depends on OF select DRM_MIPI_DSI + select DRM_KMS_HELPER select DRM_PANEL_BRIDGE help Toshiba TC358762 DSI/DPI bridge driver. --
Quoted 1 line
2.27.0
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel