Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/vm: Use xe_vm_lock() helper for locking
@ 2024-04-23  7:03 Himal Prasad Ghimiray
  2024-04-23  6:54 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (16 more replies)
  0 siblings, 17 replies; 21+ messages in thread
From: Himal Prasad Ghimiray @ 2024-04-23  7:03 UTC (permalink / raw)
  To: intel-xe; +Cc: Himal Prasad Ghimiray, Matthew Brost

There is no change in functionality. Using the helper function
defined within the driver.

Cc: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
---
 drivers/gpu/drm/xe/xe_vm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index 85d6f359142d..e9c8dc6d7b83 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -1279,7 +1279,7 @@ struct xe_vm *xe_vm_create(struct xe_device *xe, u32 flags)
 
 	drm_gem_object_put(vm_resv_obj);
 
-	err = dma_resv_lock_interruptible(xe_vm_resv(vm), NULL);
+	err = xe_vm_lock(vm, true);
 	if (err)
 		goto err_close;
 
-- 
2.25.1


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

end of thread, other threads:[~2024-04-24  2:26 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-23  7:03 [PATCH] drm/xe/vm: Use xe_vm_lock() helper for locking Himal Prasad Ghimiray
2024-04-23  6:54 ` ✓ CI.Patch_applied: success for " Patchwork
2024-04-23  6:54 ` ✓ CI.checkpatch: " Patchwork
2024-04-23  6:55 ` ✓ CI.KUnit: " Patchwork
2024-04-23  7:07 ` ✓ CI.Build: " Patchwork
2024-04-23  7:10 ` ✓ CI.Hooks: " Patchwork
2024-04-23  7:11 ` ✓ CI.checksparse: " Patchwork
2024-04-23 11:59 ` ✗ CI.FULL: failure " Patchwork
2024-04-23 14:05 ` [PATCH] " Nilawar, Badal
2024-04-23 17:12   ` Matthew Brost
2024-04-23 14:58 ` ✓ CI.Patch_applied: success for drm/xe/vm: Use xe_vm_lock() helper for locking (rev2) Patchwork
2024-04-23 14:58 ` ✓ CI.checkpatch: " Patchwork
2024-04-23 14:59 ` ✓ CI.KUnit: " Patchwork
2024-04-23 15:10 ` ✓ CI.Build: " Patchwork
2024-04-23 15:13 ` ✓ CI.Hooks: " Patchwork
2024-04-23 15:21 ` [PATCH] drm/xe/vm: Use xe_vm_lock() helper for locking Dixit, Ashutosh
2024-04-23 17:16   ` Matthew Brost
2024-04-24  2:26     ` Ghimiray, Himal Prasad
2024-04-23 15:26 ` ✓ CI.checksparse: success for drm/xe/vm: Use xe_vm_lock() helper for locking (rev2) Patchwork
2024-04-23 15:59 ` ✓ CI.BAT: " Patchwork
2024-04-23 23:35 ` ✗ CI.FULL: failure " Patchwork

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