]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Add ops_execute function which returns a fence
authorMatthew Brost <matthew.brost@intel.com>
Thu, 25 Apr 2024 04:55:02 +0000 (21:55 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 26 Apr 2024 19:09:56 +0000 (12:09 -0700)
commit75192758d640227b68e4e21de811891219f3d0e2
tree8d9cbe29b42fcdf6c344909efd900a042bc6600a
parent77f2ef3f16f511c8a8444061d59c8eadc634d33b
drm/xe: Add ops_execute function which returns a fence

Add ops_execute function which returns a fence. This will be helpful to
initiate all binds (VM bind IOCTL, rebinds in exec IOCTL, rebinds in
preempt rebind worker, and rebinds in pagefaults) via a gpuva ops list.
Returning a fence is needed in various paths.

v2:
 - Rebase

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-3-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_vm.c