drm/hisilicon/hibmc: Select DRM_DISPLAY_HELPER for the helpers functions
Subsystems (3)
PATCH 1/1 drm/hisilicon/hibmc: Select DRM_DISPLAY_HELPER for the helpers functions
From: Yicong Yang <[email protected]>
DP stuffs of hibmc are using DRM DP helpers, select the Kconfig for dependency. Otherwise with below configuration:CONFIG_DRM_DISPLAY_HELPER=mCONFIG_DRM_HISI_HIBMC=y
Below link error is met:
ld: Unexpected GOT/PLT entries detected!
ld: Unexpected run-time procedure linkages detected!
ld: drivers/gpu/drm/hisilicon/hibmc/dp/dp_aux.o: in function `hibmc_dp_aux_init':drivers/gpu/drm/hisilicon/hibmc/dp/dp_aux.c:163: undefined reference to `drm_dp_aux_init' [...]
ld: drivers/gpu/drm/hisilicon/hibmc/dp/dp_link.o: in function `hibmc_dp_link_get_adjust_train':drivers/gpu/drm/hisilicon/hibmc/dp/dp_link.c:129: undefined reference to `drm_dp_get_adjust_request_voltage'
--- drivers/gpu/drm/hisilicon/hibmc/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/hisilicon/hibmc/Kconfig +1 -0
@@ -4,6 +4,7 @@ config DRM_HISI_HIBMC depends on DRM && PCI depends on MMU select DRM_CLIENT_SELECTION + select DRM_DISPLAY_HELPER select DRM_KMS_HELPER select DRM_VRAM_HELPER select DRM_TTM
Signature · 1 line
2.24.0