Skip to contentSkip to conversation

drm/panel: fix Visionox RM692E5 dependencies

PATCH In review Arnd Bergmann 2 participants 2 messages Mar 4, 2025 – Mar 5, 2025

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

PATCH 1/1 drm/panel: fix Visionox RM692E5 dependencies

From: Arnd Bergmann <[email protected]>

The newly added driver uses the DSC helpers, so the corresponding Kconfig option must be enabled:

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

Fixes 7cb3274341bf ("drm/panel: Add Visionox RM692E5 panel driver")
---
 drivers/gpu/drm/panel/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/panel/Kconfig +2 -0
index 5927806cb4a9..e059b06e0239 100644
@@ -1020,6 +1020,8 @@ config DRM_PANEL_VISIONOX_RM692E5
 	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 Visionox RM692E5 amoled
 	  display panels, such as the one found in the Nothing Phone (1)
Signature · 1 line
2.39.5
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 18 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The newly added driver uses the DSC helpers, so the corresponding Kconfig option must be enabled:

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

Fixes 7cb3274341bf ("drm/panel: Add Visionox RM692E5 panel driver")
---
  drivers/gpu/drm/panel/Kconfig | 2 ++
  1 file changed, 2 insertions(+)
drivers/gpu/drm/panel/Kconfig +0 -0
index 5927806cb4a9..e059b06e0239 100644

drivers/gpu/drm/panel/Kconfig config DRM_PANEL_VISIONOX_RM692E5 · line 1027

Quoted 8 lines
drivers/gpu/drm/panel/Kconfig +2 -0
@@ -1020,6 +1020,8 @@ config DRM_PANEL_VISIONOX_RM692E5
  	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 Visionox RM692E5 amoled
  	  display panels, such as the one found in the Nothing Phone (1)