]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe: Add xe_gt_tlb_invalidation_fence_init helper
authorMatthew Brost <matthew.brost@intel.com>
Fri, 19 Jul 2024 17:29:02 +0000 (10:29 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Sat, 20 Jul 2024 02:45:29 +0000 (19:45 -0700)
commita522b285c6b4b611406d59612a8d7241714d2e31
treed42be611a4bba13cfa8d7cff6c5c45fe66e33487
parentad16682db18f4414e53bba1ce0db75b08bdc4dff
drm/xe: Add xe_gt_tlb_invalidation_fence_init helper

Other layers should not be touching struct xe_gt_tlb_invalidation_fence
directly, add helper for initialization.

v2:
 - Add dma_fence_get and list init to xe_gt_tlb_invalidation_fence_init

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240719172905.1527927-2-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h
drivers/gpu/drm/xe/xe_pt.c