summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panel/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-07-19 16:09:21 +0300
committerNeil Armstrong <neil.armstrong@linaro.org>2023-07-31 15:44:22 +0300
commita1865d3b98c97d25cbfbba4318180f5cfe8ec22d (patch)
tree6cce1ff5d15cf13463684cbf902d1d735bccd2b2 /drivers/gpu/drm/panel/Kconfig
parentb229ea58cbe2f107dc0a7e2c7cdce193f7166b47 (diff)
downloadlinux-a1865d3b98c97d25cbfbba4318180f5cfe8ec22d.tar.xz
drm/panel: r66451: select CONFIG_DRM_DISPLAY_DP_HELPER
The newly added driver only builds when DRM_DISPLAY_DP_HELPER is enabled: x86_64-linux-ld: drivers/gpu/drm/panel/panel-visionox-r66451.o: in function `visionox_r66451_enable': panel-visionox-r66451.c:(.text+0x105): undefined reference to `drm_dsc_pps_payload_pack' Select both CONFIG_DRM_DISPLAY_DP_HELPER and CONFIG_DRM_DISPLAY_HELPER to ensure the helper function is always available. Fixes: a6dfab2738fc ("drm/panel: Add driver for Visionox r66451 panel") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Jessica Zhang <quic_jesszhan@quicinc.com> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230719130940.659837-1-arnd@kernel.org
Diffstat (limited to 'drivers/gpu/drm/panel/Kconfig')
-rw-r--r--drivers/gpu/drm/panel/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig
index 05f9e800e448..b097b2507ac5 100644
--- a/drivers/gpu/drm/panel/Kconfig
+++ b/drivers/gpu/drm/panel/Kconfig
@@ -799,6 +799,8 @@ config DRM_PANEL_VISIONOX_R66451
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 Visionox
R66451 1080x2340 AMOLED DSI panel.