[PATCH] drm/xe/dp: Fix non-display builds with DP tunnelling incorrectly enabled

Kandpal, Suraj suraj.kandpal at intel.com
Tue Jan 21 04:37:54 UTC 2025



> -----Original Message-----
> From: Deak, Imre <imre.deak at intel.com>
> Sent: Friday, January 17, 2025 9:09 PM
> To: intel-xe at lists.freedesktop.org; intel-gfx at lists.freedesktop.org
> Cc: Kandpal, Suraj <suraj.kandpal at intel.com>; De Marchi, Lucas
> <lucas.demarchi at intel.com>
> Subject: [PATCH] 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 at intel.com>
> Fixes: 73900dce57e4 ("drm/xe/dp: Enable DP tunneling")
> Reported-by: Lucas De Marchi <lucas.demarchi at intel.com>
> Signed-off-by: Imre Deak <imre.deak at intel.com>

LGTM,
Reviewed-by: Suraj Kandpal <suraj.kandpal at intel.com>

> ---
>  drivers/gpu/drm/xe/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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
> --
> 2.44.2



More information about the Intel-xe mailing list