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 <suraj.kandpal@intel.com>
Fixes: 73900dce57 ("drm/xe/dp: Enable DP tunneling")
Reported-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250117153843.1312303-1-imre.deak@intel.com
This commit is contained in:
Imre Deak
2025-01-17 17:38:43 +02:00
parent 2218704997
commit 8a2392fec5

View File

@@ -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