]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Add vm_bind_ioctl_ops_fini helper
authorMatthew Brost <matthew.brost@intel.com>
Thu, 25 Apr 2024 04:55:09 +0000 (21:55 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 26 Apr 2024 19:10:04 +0000 (12:10 -0700)
commit61e3270ef9610ab40b1b56aa62e2b8471c32f1f7
tree09fcc73024e33c5f011ddc2d988c025d32906955
parent22cfdd286572decf5225cc219205ca3348cfc4af
drm/xe: Add vm_bind_ioctl_ops_fini helper

Simplify VM bind code by signaling out-fences / destroying VMAs in a
single location. Will help with transition single job for many bind ops.

v2:
 - s/vm_bind_ioctl_ops_install_fences/vm_bind_ioctl_ops_fini (Oak)
 - Set last fence in vm_bind_ioctl_ops_fini (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-10-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_vm.c