]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Don't use drm exec locking in SVM pagefaults
authorMatthew Brost <matthew.brost@intel.com>
Tue, 3 Jun 2025 17:40:12 +0000 (10:40 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 12 Jun 2025 17:43:40 +0000 (10:43 -0700)
commit265fa0692b902f82fb103722797a4a90f65d1508
tree2490d6a847eef88f792d0852fec57bebaec2c87f
parent0ed4b3c21c5013842b7e661dd1c4aa5b75c9c5db
drm/xe: Don't use drm exec locking in SVM pagefaults

Only the VM dma-resv lock is needed in SVM pagefaults so
xe_vm_lock/unlock can be used instead of drm exec. Micro optimization
but should save some CPU cycles in a critical path.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://lore.kernel.org/r/20250603174012.2195759-1-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_svm.c