On 9/25/26 15:01, Arnd Bergmann wrote:
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
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.

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(+)

diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig
index 6874752a1901..8bf7911d2a0e 100644
--- a/drivers/gpu/drm/panel/Kconfig
+++ b/drivers/gpu/drm/panel/Kconfig
@@ -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

Reviewed-by: Neil Armstrong <[email protected]>

Thanks,
Neil

Reply via email to