Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/display: move CEC_CORE selection to DRM_DISPLAY_HELPER

THe Kconfig symbol DRM_DISPLAY_DP_AUX_CEC is a boolean which simply
toggles whether DP_AUX_CEC support should be built into the
drm_display_helper (which can be eithera module or built-in into the
kernel). If DRM_DISPLAY_DP_AUX_CEC is selected, then CEC_CORE is
selected to be built-in into the kernel even if DRM_DISPLAY_HELPER is
selected to be built as a module. Move CEC_CORE selection to the latter
symbol in order to allow it to be built as a module.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20250517-drm-hdmi-connector-cec-v6-4-35651db6f19b@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

+1 -1
+1 -1
drivers/gpu/drm/display/Kconfig
··· 8 8 config DRM_DISPLAY_HELPER 9 9 tristate 10 10 depends on DRM 11 + select CEC_CORE if DRM_DISPLAY_DP_AUX_CEC 11 12 help 12 13 DRM helpers for display adapters. 13 14 ··· 24 23 config DRM_DISPLAY_DP_AUX_CEC 25 24 bool "Enable DisplayPort CEC-Tunneling-over-AUX HDMI support" 26 25 select DRM_DISPLAY_DP_HELPER 27 - select CEC_CORE 28 26 help 29 27 Choose this option if you want to enable HDMI CEC support for 30 28 DisplayPort/USB-C to HDMI adapters.