Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/tests: Use uninterruptible VM lock
@ 2024-05-21 10:27 Nirmoy Das
  2024-05-21 10:45 ` Matthew Auld
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Nirmoy Das @ 2024-05-21 10:27 UTC (permalink / raw)
  To: intel-xe; +Cc: Nirmoy Das, Matthew Auld

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>
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
---
 drivers/gpu/drm/xe/tests/xe_migrate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/tests/xe_migrate.c b/drivers/gpu/drm/xe/tests/xe_migrate.c
index b6e7f80c3774..962f6438e219 100644
--- 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, true);
+		xe_vm_lock(m->q->vm, false);
 		xe_migrate_sanity_test(m, test);
 		xe_vm_unlock(m->q->vm);
 	}
-- 
2.42.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-05-21 20:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-21 10:27 [PATCH] drm/xe/tests: Use uninterruptible VM lock Nirmoy Das
2024-05-21 10:45 ` Matthew Auld
2024-05-21 11:28 ` ✓ CI.Patch_applied: success for " Patchwork
2024-05-21 11:29 ` ✓ CI.checkpatch: " Patchwork
2024-05-21 11:30 ` ✓ CI.KUnit: " Patchwork
2024-05-21 11:41 ` ✓ CI.Build: " Patchwork
2024-05-21 11:44 ` ✓ CI.Hooks: " Patchwork
2024-05-21 11:45 ` ✓ CI.checksparse: " Patchwork
2024-05-21 12:22 ` ✓ CI.BAT: " Patchwork
2024-05-21 15:34 ` ✗ CI.FULL: failure " Patchwork
2024-05-21 20:15   ` Nirmoy Das

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox