summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2024-01-30 00:45:10 +0300
committerLucas De Marchi <lucas.demarchi@intel.com>2024-01-30 17:54:26 +0300
commitaeacfd2dbebb97a36a7221c5ec694d04480bcd30 (patch)
treea5ab3c4bbb76c2d94ee39226f0b5f942d1ac4996
parent20485e3a810c480cef60caf53988619f61127e7b (diff)
downloadlinux-aeacfd2dbebb97a36a7221c5ec694d04480bcd30.tar.xz
drm/xe/xe2: Enable has_usm
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@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240129214510.123829-1-lucas.demarchi@intel.com
-rw-r--r--drivers/gpu/drm/xe/xe_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 6664d1b2efdb..4b7999b24ff7 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 = \