drm/panel/raydium-rm692e5: select CONFIG_DRM_DISPLAY_DP_HELPER
authorArnd Bergmann <arnd@arndb.de>
Mon, 23 Oct 2023 11:55:58 +0000 (13:55 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Fri, 12 Jan 2024 09:29:06 +0000 (10:29 +0100)
As with several other panel drivers, this fails to link without the DP
helper library:

ld: drivers/gpu/drm/panel/panel-raydium-rm692e5.o: in function `rm692e5_prepare':
panel-raydium-rm692e5.c:(.text+0x11f4): undefined reference to `drm_dsc_pps_payload_pack'

Select the same symbols that the others already use.

Fixes: 988d0ff29ecf7 ("drm/panel: Add driver for BOE RM692E5 AMOLED panel")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231023115619.3551348-1-arnd@kernel.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231023115619.3551348-1-arnd@kernel.org
drivers/gpu/drm/panel/Kconfig

index 99e14dc212ecbea709ea09282dbf8608f1925c28..a4ac4b47777fe4c3c28ed3cd62c7e6c4d41836fa 100644 (file)
@@ -530,6 +530,8 @@ config DRM_PANEL_RAYDIUM_RM692E5
        depends on OF
        depends on DRM_MIPI_DSI
        depends on BACKLIGHT_CLASS_DEVICE
+       select DRM_DISPLAY_DP_HELPER
+       select DRM_DISPLAY_HELPER
        help
          Say Y here if you want to enable support for Raydium RM692E5-based
          display panels, such as the one found in the Fairphone 5 smartphone.