summaryrefslogtreecommitdiff
path: root/tests/intel/xe_huc_copy.c
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2023-09-14 18:20:59 -0700
committerFrancois Dugast <francois.dugast@intel.com>2023-10-17 10:14:53 +0200
commitd5ac0843015e3a8f17e23613d64c54eb93cfe7f5 (patch)
tree1d448585dff9fcd4508deb08b00ebaaa3f2c5804 /tests/intel/xe_huc_copy.c
parenta90f4c8639380005b0cc45262ca0516698231b34 (diff)
xe: Update to new VM bind uAPI
Sync vs. async changes and new error handling. Signed-off-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Francois Dugast <francois.dugast@intel.com> [Rodrigo and Francois rebased and fixed conflicts]
Diffstat (limited to 'tests/intel/xe_huc_copy.c')
-rw-r--r--tests/intel/xe_huc_copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/intel/xe_huc_copy.c b/tests/intel/xe_huc_copy.c
index c9891a729..c71ff74a1 100644
--- a/tests/intel/xe_huc_copy.c
+++ b/tests/intel/xe_huc_copy.c
@@ -117,7 +117,7 @@ test_huc_copy(int fd)
{ .addr = ADDR_BATCH, .size = SIZE_BATCH }, // batch
};
- vm = xe_vm_create(fd, DRM_XE_VM_CREATE_ASYNC_BIND_OPS, 0);
+ vm = xe_vm_create(fd, DRM_XE_VM_CREATE_ASYNC_DEFAULT, 0);
exec_queue = xe_exec_queue_create_class(fd, vm, DRM_XE_ENGINE_CLASS_VIDEO_DECODE);
sync.flags = DRM_XE_SYNC_SYNCOBJ | DRM_XE_SYNC_SIGNAL;
sync.handle = syncobj_create(fd, 0);