drm/panel: nt37801: select CONFIG_DRM_DISPLAY_DSC_HELPER
authorArnd Bergmann <arnd@arndb.de>
Fri, 23 May 2025 12:11:22 +0000 (14:11 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Fri, 23 May 2025 20:57:42 +0000 (23:57 +0300)
The newly added driver uses the DSC helper module, but does not
select its Kconfig symbol, so configurations are possible that
cause a link failure:

ERROR: modpost: "drm_dsc_pps_payload_pack" [drivers/gpu/drm/panel/panel-novatek-nt37801.ko] undefined!

Fixes: 4fca6849864d ("drm/panel: Add Novatek NT37801 panel driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250523121127.2269693-1-arnd@kernel.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/panel/Kconfig

index 721581d425b4472e7544caad0dd0a7c9b38e71ec..cfebb08e8a62680a14a500d28decfafc2daf743a 100644 (file)
@@ -522,6 +522,8 @@ config DRM_PANEL_NOVATEK_NT37801
        depends on OF
        depends on DRM_MIPI_DSI
        depends on BACKLIGHT_CLASS_DEVICE
+       select DRM_DISPLAY_DSC_HELPER
+       select DRM_DISPLAY_HELPER
        help
          Say Y here if you want to enable support for Novatek NT37801 (or
          NT37810) AMOLED DSI Video Mode LCD panel module with 1440x3200