[PATCH] drm/xe/xe2: Enable has_usm

Matt Roper matthew.d.roper at intel.com
Tue Jan 30 00:20:32 UTC 2024


On Mon, Jan 29, 2024 at 01:45:10PM -0800, Lucas De Marchi wrote:
> When xe2 support started to be added, USM was still not functional. This
> has changed, and now USM can be enabled for xe2. Remove FIXME leftover
> to allow VM to be created with DRM_XE_VM_CREATE_FLAG_FAULT_MODE.
> 
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>

Reviewed-by: Matt Roper <matthew.d.roper at intel.com>

> ---
>  drivers/gpu/drm/xe/xe_pci.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index 62b5e5d0fb62..cde3a63bdc7f 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -165,7 +165,7 @@ static const struct xe_graphics_desc graphics_xelpg = {
>  	.has_asid = 1, \
>  	.has_flat_ccs = 1, \
>  	.has_range_tlb_invalidation = 1, \
> -	.has_usm = 0 /* FIXME: implementation missing */, \
> +	.has_usm = 1, \
>  	.va_bits = 48, \
>  	.vm_max_level = 4, \
>  	.hw_engine_mask = \
> -- 
> 2.43.0
> 

-- 
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation


More information about the Intel-xe mailing list