]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe/dp: Fix non-display builds with DP tunnelling incorrectly enabled
authorImre Deak <imre.deak@intel.com>
Fri, 17 Jan 2025 15:38:43 +0000 (17:38 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 21 Jan 2025 14:45:19 +0000 (16:45 +0200)
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: 73900dce57e4 ("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
drivers/gpu/drm/xe/Kconfig

index 50cf80df519004291afbbca2bb45716a8de30e22..99219c16e8aaca5b3a34e505074289609d675708 100644 (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