Skip to contentSkip to conversation

drm/panel: nt37801: select CONFIG_DRM_DISPLAY_DSC_HELPER

PATCH Applied Arnd Bergmann 3 participants 4 messages May 23, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/panel: nt37801: select CONFIG_DRM_DISPLAY_DSC_HELPER

From: Arnd Bergmann <[email protected]>

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")
---
 drivers/gpu/drm/panel/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/panel/Kconfig +2 -0
index 721581d425b4..cfebb08e8a62 100644
@@ -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
Signature · 1 line
2.39.5
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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")

Indeed, I wrote the driver first without DSC and forgot about it later.

Best regards,
Krzysztof

Reviewed-by on v1 1/1
#2 lore raw
In reply to Arnd Bergmann
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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:

Quoted 8 lines

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")
---
 drivers/gpu/drm/panel/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
Signature · 2 lines
With best wishes
Dmitry
#3 lore raw
In reply to Arnd Bergmann
Quoted 8 lines · Arnd Bergmann

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!

[...]

Applied to drm-misc-next-fixes, thanks!

[1/1] drm/panel: nt37801: select CONFIG_DRM_DISPLAY_DSC_HELPER

      commit: 022546cdbf26ec6f42af7e2706702d5703df42f6

Best regards,

Signature · 1 line
Dmitry Baryshkov <[email protected]>