drm/panel: fix novatek-nt36536 dependencies
Subsystems (3)
PATCH 1/1 drm/panel: fix novatek-nt36536 dependencies
From: Arnd Bergmann <[email protected]>
The recently added driver requires access to DSC helper code and fails to link without that:
ld.lld: error: undefined symbol: drm_dsc_pps_payload_pack
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
referenced by panel-novatek-nt36536.c:109 (
/home/arnd/arm-soc/drivers/gpu/drm/panel/panel-novatek-nt36536.c:109)
drivers/gpu/drm/panel/panel-novatek-nt36536.o:(novatek_prepare) in archive vmlinux.a
Add the usual Kconfig dependency.
--- drivers/gpu/drm/panel/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/panel/Kconfig +2 -0
@@ -694,6 +694,8 @@ config DRM_PANEL_NOVATEK_NT36536 depends on OF depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE + select DRM_DISPLAY_DSC_HELPER + select DRM_DISPLAY_HELPER select DRM_KMS_HELPER help Say Y here if you want to enable support for Novatek NT36536-based
Signature · 1 line
2.53.0
Quoted 22 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The recently added driver requires access to DSC helper code and fails to link without that:
ld.lld: error: undefined symbol:
drm_dsc_pps_payload_packQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
referenced by panel-novatek-nt36536.c:109 (
/home/arnd/arm-soc/drivers/gpu/drm/panel/panel-novatek-nt36536.c:109)
drivers/gpu/drm/panel/panel-novatek-nt36536.o:(novatek_prepare) in archive vmlinux.aAdd the usual
Kconfigdependency.Fixes 75a5dbd1f4f7 ("drm/panel: Add Novatek NT36536 panel driver")Signed-off-by Arnd Bergmann <[email protected]>--- drivers/gpu/drm/panel/Kconfig | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/panel/Kconfig +0
-0
drivers/gpu/drm/panel/Kconfig config DRM_PANEL_NOVATEK_NT36536 · line 701
Quoted 8 lines
drivers/gpu/drm/panel/Kconfig +2
-0@@ -694,6 +694,8 @@ config DRM_PANEL_NOVATEK_NT36536 depends on OF depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE + select DRM_DISPLAY_DSC_HELPER + select DRM_DISPLAY_HELPER select DRM_KMS_HELPER help Say Y here if you want to enable support for Novatek NT36536-based
Thanks,
Neil
Hi,
Quoted 8 lines · Arnd Bergmann
The recently added driver requires access to DSC helper code and fails to link without that:
ld.lld: error: undefined symbol:
drm_dsc_pps_payload_packQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
referenced by panel-novatek-nt36536.c:109 (
/home/arnd/arm-soc/drivers/gpu/drm/panel/panel-novatek-nt36536.c:109)
drivers/gpu/drm/panel/panel-novatek-nt36536.o:(novatek_prepare) in archive vmlinux.a[...]
Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next)
[1/1] drm/panel: fix novatek-nt36536 dependencies
https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/f11277810402d0e2f3f8e64618cdb5af2ade8d3f
Signature · 1 line
Neil