diff options
author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2023-11-29 14:54:57 +0000 |
---|---|---|
committer | Francois Dugast <francois.dugast@intel.com> | 2023-12-05 09:26:37 +0100 |
commit | dc71419700526bebcfe336b12efb3f3c5b258ccf (patch) | |
tree | b3b525ca3bf24897f1f09c8497911f18bb4d94bc /benchmarks | |
parent | 56b96d90c93d108765d8c25781c21c231fb4e564 (diff) |
tests/intel/xe: Adjust to KMD uAPI changes for long-running VMs
Currently we're using "compute mode" for long running VMs using
using preempt-fences for memory management, and "fault mode" for long
running VMs using page faults.
Change this to use the terminology "long-running" abbreviated as LR for
long-running VMs. These VMs can then either be in preempt-fence mode or
fault mode. The user can force fault mode at creation time, but otherwise
the driver can choose whether to use or not use fault mode mode for
long-running vms depending on the device capabilities.
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Francois Dugast <francois.dugast@intel.com>
Cc: Oak Zeng <oak.zeng@intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/gem_wsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/gem_wsim.c b/benchmarks/gem_wsim.c index 66ad7563d..e937e1027 100644 --- a/benchmarks/gem_wsim.c +++ b/benchmarks/gem_wsim.c @@ -2038,7 +2038,7 @@ static void xe_vm_create_(struct xe_vm *vm) if (vm->compute_mode) flags |= DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT | - DRM_XE_VM_CREATE_FLAG_COMPUTE_MODE; + DRM_XE_VM_CREATE_FLAG_LR_MODE; vm->id = xe_vm_create(fd, flags, 0); } |