drm/bridge: cdns-dsi: Select VIDEOMODE_HELPERS
Subsystems (3)
PATCH 1/1 drm/bridge: cdns-dsi: Select VIDEOMODE_HELPERS
When no other driver selects CONFIG_VIDEOMODE_HELPERS but CONFIG_DRM_CDNS_DSI is enabled, there is a linker or modpost error:
ERROR: modpost: "drm_display_mode_to_videomode" [drivers/gpu/drm/bridge/cadence/cdns-dsi.ko] undefined!
Select VIDEOMODE_HELPERS to ensure that this helper function is available to the driver.
--- drivers/gpu/drm/bridge/cadence/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/cadence/Kconfig +1 -0
@@ -6,6 +6,7 @@ config DRM_CDNS_DSI select DRM_PANEL_BRIDGE select GENERIC_PHY select GENERIC_PHY_MIPI_DPHY + select VIDEOMODE_HELPERS depends on OF help Support Cadence DPI to DSI bridge. This is an internal
---
base-commit: 3f13bcc886fc034113cb75cb32b8d9db1216b846
change-id: 20250821-cdns-videohelpers-71182a6145bc
Best regards,
Signature · 1 line
Nathan Chancellor <[email protected]>
Gentle ping, this seems fairly obvious and it continues to break out builds in -next.
Quoted 35 lines · Nathan Chancellor
When no other driver selects
CONFIG_VIDEOMODE_HELPERSbutCONFIG_DRM_CDNS_DSIis enabled, there is a linker or modpost error:ERROR: modpost: "
drm_display_mode_to_videomode" [drivers/gpu/drm/bridge/cadence/cdns-dsi.ko] undefined!Select
VIDEOMODE_HELPERSto ensure that this helper function is available to the driver.Fixes ce4bc5ca7c1d ("drm/bridge: cdns-dsi: Use video mode and clean up cdns_dsi_mode2cfg()")Signed-off-by Nathan Chancellor <[email protected]>--- drivers/gpu/drm/bridge/cadence/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/bridge/cadence/Kconfig +1
-1@@ -6,6 +6,7 @@ config DRM_CDNS_DSI select DRM_PANEL_BRIDGE select GENERIC_PHY select GENERIC_PHY_MIPI_DPHY + select VIDEOMODE_HELPERS depends on OF help Support Cadence DPI to DSI bridge. This is an internal ---base-commit:
3f13bcc886fc034113cb75cb32b8d9db1216b846
change-id: 20250821-cdns-videohelpers-71182a6145bcBest regards,
Signature · 1 line
Nathan Chancellor <[email protected]>
Quoted 5 lines · Nathan Chancellor
When no other driver selects
CONFIG_VIDEOMODE_HELPERSbutCONFIG_DRM_CDNS_DSIis enabled, there is a linker or modpost error:ERROR: modpost: "
drm_display_mode_to_videomode" [drivers/gpu/drm/bridge/cadence/cdns-dsi.ko] undefined!
Quoted 9 lines
Select
VIDEOMODE_HELPERSto ensure that this helper function is available to the driver.Fixes ce4bc5ca7c1d ("drm/bridge: cdns-dsi: Use video mode and clean up cdns_dsi_mode2cfg()")Signed-off-by Nathan Chancellor <[email protected]>--- drivers/gpu/drm/bridge/cadence/Kconfig | 1 + 1 file changed, 1 insertion(+)
Signature · 2 lines
With best wishes Dmitry
Dmitry Baryshkov
AppliedQuoted 9 lines · Nathan Chancellor
When no other driver selects
CONFIG_VIDEOMODE_HELPERSbutCONFIG_DRM_CDNS_DSIis enabled, there is a linker or modpost error:ERROR: modpost: "
drm_display_mode_to_videomode" [drivers/gpu/drm/bridge/cadence/cdns-dsi.ko] undefined!Select
VIDEOMODE_HELPERSto ensure that this helper function is available to the driver.[...]
Applied to drm-misc-next, thanks!
[1/1] drm/bridge: cdns-dsi: Select VIDEOMODE_HELPERS
commit: 28fa7f5243c02a812af50707c9805c2b57deceeb
Best regards,
Signature · 2 lines
With best wishes Dmitry