diff mbox series

drm/imx: parallel-display: select DRM_IMX_LEGACY_BRIDGE

Message ID 20240906-imx-parallel-display-select-legacy-bridge-v1-1-ebb17457e936@pengutronix.de (mailing list archive)
State New, archived
Headers show
Series drm/imx: parallel-display: select DRM_IMX_LEGACY_BRIDGE | expand

Commit Message

Philipp Zabel Sept. 6, 2024, 11:01 a.m. UTC
Add the missing select DRM_IMX_LEGACY_BRIDGE to fix kernels builds that
have the i.MX parallel-display driver enabled, but the LVDS display
bridge driver disabled.

Fixes build errors like:

  ld: vmlinux.o: in function `imx_pd_probe':
  parallel-display.c:(.text+0x3129db): undefined reference to `devm_imx_drm_legacy_bridge'

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409060118.z8BxMg7Z-lkp@intel.com/
Fixes: f94b9707a1c9 ("drm/imx: parallel-display: switch to imx_legacy_bridge / drm_bridge_connector")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 drivers/gpu/drm/imx/ipuv3/Kconfig | 1 +
 1 file changed, 1 insertion(+)


---
base-commit: 8a8a31205e62b57f1fb844d790d682286121f729
change-id: 20240906-imx-parallel-display-select-legacy-bridge-5fce63c8ce6d

Best regards,
diff mbox series

Patch

diff --git a/drivers/gpu/drm/imx/ipuv3/Kconfig b/drivers/gpu/drm/imx/ipuv3/Kconfig
index 5a40c878ebb0..4897fbd77f3f 100644
--- a/drivers/gpu/drm/imx/ipuv3/Kconfig
+++ b/drivers/gpu/drm/imx/ipuv3/Kconfig
@@ -14,6 +14,7 @@  config DRM_IMX_PARALLEL_DISPLAY
 	depends on DRM_IMX
 	select DRM_BRIDGE
 	select DRM_PANEL_BRIDGE
+	select DRM_IMX_LEGACY_BRIDGE
 	select VIDEOMODE_HELPERS
 
 config DRM_IMX_TVE