drm/xe/tests: Use uninterruptible VM lock
Interruptible lock can return error and needed a return value check. This test should finish quick enough so use a uninterruptible lock instead. Cc: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240521102715.22700-1-nirmoy.das@intel.com Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
This commit is contained in:
parent
735940f999
commit
01d71dff61
@ -344,7 +344,7 @@ static int migrate_test_run_device(struct xe_device *xe)
|
||||
struct xe_migrate *m = tile->migrate;
|
||||
|
||||
kunit_info(test, "Testing tile id %d.\n", id);
|
||||
xe_vm_lock(m->q->vm, true);
|
||||
xe_vm_lock(m->q->vm, false);
|
||||
xe_migrate_sanity_test(m, test);
|
||||
xe_vm_unlock(m->q->vm);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user