]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Move migrate to prefetch to op_lock_and_prep function
authorMatthew Brost <matthew.brost@intel.com>
Thu, 25 Apr 2024 04:55:03 +0000 (21:55 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 26 Apr 2024 19:09:57 +0000 (12:09 -0700)
commit0a34c12449de4b09f74808c6f6c39205ee5071f0
tree547a6773e89313f9724f039dc343de98fe98ef29
parent75192758d640227b68e4e21de811891219f3d0e2
drm/xe: Move migrate to prefetch to op_lock_and_prep function

All non-binding operations in VM bind IOCTL should be in the lock and
prepare step rather than the execution step. Move prefetch to conform to
this pattern.

v2:
 - Rebase
 - New function names (Oak)
 - Update stale comment (Oak)

Cc: Oak Zeng <oak.zeng@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Oak Zeng <oak.zeng@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240425045513.1913039-4-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_vm.c