From: Imre Deak Date: Fri, 17 Jan 2025 15:38:43 +0000 (+0200) Subject: drm/xe/dp: Fix non-display builds with DP tunnelling incorrectly enabled X-Git-Tag: v6.15-rc1~120^2~16^2~217 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a2392fec5b4b96d738feb6ecef02b9958bb64b1;p=thirdparty%2Fkernel%2Flinux.git drm/xe/dp: Fix non-display builds with DP tunnelling incorrectly enabled Code for the DP tunnelling functionality in the xe driver can be built only if the display code is also built, adjust the kconfig dependency accordingly. Cc: Suraj Kandpal Fixes: 73900dce57e4 ("drm/xe/dp: Enable DP tunneling") Reported-by: Lucas De Marchi Reviewed-by: Suraj Kandpal Signed-off-by: Imre Deak Link: https://patchwork.freedesktop.org/patch/msgid/20250117153843.1312303-1-imre.deak@intel.com --- diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig index 50cf80df51900..99219c16e8aac 100644 --- a/drivers/gpu/drm/xe/Kconfig +++ b/drivers/gpu/drm/xe/Kconfig @@ -61,7 +61,7 @@ config DRM_XE_DISPLAY config DRM_XE_DP_TUNNEL bool "Enable DP tunnel support" - depends on DRM_XE + depends on DRM_XE_DISPLAY depends on USB4 select DRM_DISPLAY_DP_TUNNEL default y