drm/xe: Add xe_exec_queue_last_fence_test_dep
authorMatthew Brost <matthew.brost@intel.com>
Thu, 4 Jul 2024 04:16:48 +0000 (21:16 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 4 Jul 2024 05:27:02 +0000 (22:27 -0700)
commit96e7ebb220f8a873321cfc5a87bc4533d36ec444
tree14c66eb51f03fb384549884647f0c6a89a049176
parent2e524668c440104633af1effcc85d1d6234c7ccf
drm/xe: Add xe_exec_queue_last_fence_test_dep

Helpful to determine if a bind can immediately use CPU or needs to be
deferred a drm scheduler job.

v7:
 - Better wording in kernel doc (Matthew Auld)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240704041652.272920-4-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_exec_queue.c
drivers/gpu/drm/xe/xe_exec_queue.h