]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/panel: fix Visionox RM692E5 dependencies
authorArnd Bergmann <arnd@arndb.de>
Tue, 4 Mar 2025 14:29:02 +0000 (15:29 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 5 Mar 2025 18:52:02 +0000 (19:52 +0100)
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")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250304142907.732196-1-arnd@kernel.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
drivers/gpu/drm/panel/Kconfig

index 5927806cb4a910d0a088f4c6de0eded023cb482f..e059b06e0239b45c60f82b6ce5772f46348fc471 100644 (file)
@@ -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)