mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/imx: select DRM_DISPLAY_HELPER as needed
@ 2025-12-04  9:46 Arnd Bergmann
  2025-12-04  9:47 ` Dmitry Baryshkov
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2025-12-04  9:46 UTC (permalink / raw)
  To: Philipp Zabel, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Shawn Guo,
	Sascha Hauer, Dmitry Baryshkov
  Cc: Arnd Bergmann, Pengutronix Kernel Team, Fabio Estevam, dri-devel,
	imx, linux-arm-kernel, linux-kernel

From: Arnd Bergmann <arnd@arndb.de>

CONFIG_DRM_BRIDGE_CONNECTOR is a bool option that turns on features of
the display helpers, which are in a module controlled by the (tristate)
CONFIG_DRM_DISPLAY_HELPER. If the display helpers are in a loadable
module, a built-in driver trying to use the bridge connectors fails
to link:

x86_64-linux-ld: drivers/gpu/drm/imx/ipuv3/parallel-display.o: in function `imx_pd_bind':
parallel-display.c:(.text+0xcd): undefined reference to `drm_bridge_connector_init'
x86_64-linux-ld: drivers/gpu/drm/imx/ipuv3/imx-ldb.o: in function `imx_ldb_bind':
imx-ldb.c:(.text+0x224): undefined reference to `drm_bridge_connector_init'

Select the DRM_BRIDGE_CONNECTOR symbol as well, to ensure it's built-in
if anything needs it.

Fixes: f94b9707a1c9 ("drm/imx: parallel-display: switch to imx_legacy_bridge / drm_bridge_connector")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/gpu/drm/imx/ipuv3/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/imx/ipuv3/Kconfig b/drivers/gpu/drm/imx/ipuv3/Kconfig
index acaf25089001..1c3825a86380 100644
--- a/drivers/gpu/drm/imx/ipuv3/Kconfig
+++ b/drivers/gpu/drm/imx/ipuv3/Kconfig
@@ -13,6 +13,7 @@ config DRM_IMX
 config DRM_IMX_PARALLEL_DISPLAY
 	tristate "Support for parallel displays"
 	depends on DRM_IMX
+	select DRM_DISPLAY_HELPER
 	select DRM_BRIDGE
 	select DRM_BRIDGE_CONNECTOR
 	select DRM_IMX_LEGACY_BRIDGE
@@ -33,6 +34,7 @@ config DRM_IMX_LDB
 	depends on DRM_IMX
 	depends on COMMON_CLK
 	select MFD_SYSCON
+	select DRM_DISPLAY_HELPER
 	select DRM_BRIDGE
 	select DRM_BRIDGE_CONNECTOR
 	select DRM_PANEL_BRIDGE
-- 
2.39.5


^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: [PATCH] drm/imx: select DRM_DISPLAY_HELPER as needed
@ 2026-07-14  7:36 Lalaev, Andrei
  0 siblings, 0 replies; 3+ messages in thread
From: Lalaev, Andrei @ 2026-07-14  7:36 UTC (permalink / raw)
  To: arnd
  Cc: airlied, arnd, dri-devel, festevam, imx, kernel,
	linux-arm-kernel, linux-kernel, lumag, maarten.lankhorst,
	mripard, p.zabel, s.hauer, shawnguo, simona, tzimmermann

Hi,

Gentle ping.

I noticed that another patch [1] selects DRM_DISPLAY_HELPER for DRM_IMX_PARALLEL_DISPLAY, but not for DRM_IMX_LDB.

[1] - https://lore.kernel.org/lkml/20260121102607.4087362-1-martin.kepplinger-novakovic@ginzinger.com/

Best regards,
Andrei Lalaev

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-07-14  7:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-04  9:46 [PATCH] drm/imx: select DRM_DISPLAY_HELPER as needed Arnd Bergmann
2025-12-04  9:47 ` Dmitry Baryshkov
2026-07-14  7:36 Lalaev, Andrei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®