projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
735940f
)
drm/xe/tests: Use uninterruptible VM lock
author
Nirmoy Das
<nirmoy.das@intel.com>
Tue, 21 May 2024 10:27:15 +0000
(12:27 +0200)
committer
Nirmoy Das
<nirmoy.das@intel.com>
Tue, 21 May 2024 20:18:51 +0000
(22:18 +0200)
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>
drivers/gpu/drm/xe/tests/xe_migrate.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/xe/tests/xe_migrate.c
b/drivers/gpu/drm/xe/tests/xe_migrate.c
index
b6e7f80
..
962f643
100644
(file)
--- a/
drivers/gpu/drm/xe/tests/xe_migrate.c
+++ b/
drivers/gpu/drm/xe/tests/xe_migrate.c
@@
-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,
tru
e);
+ xe_vm_lock(m->q->vm,
fals
e);
xe_migrate_sanity_test(m, test);
xe_vm_unlock(m->q->vm);
}