drm/xe: Make TLB invalidation fences unordered
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Wed, 27 Mar 2024 09:11:35 +0000 (10:11 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 28 Mar 2024 07:39:29 +0000 (08:39 +0100)
commit0453f1757501df2e82b66b3183a24bba5a6f8fa3
treece8d7312d4cd27d6b8bc7cc206882ff2c5de1919
parent5a091aff50b780ae29c7faf70a7a6c21c98a54c4
drm/xe: Make TLB invalidation fences unordered

They can actually complete out-of-order, so allocate a unique
fence context for each fence.

Fixes: 5387e865d90e ("drm/xe: Add TLB invalidation fence after rebinds issued from execs")
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: <stable@vger.kernel.org> # v6.8+
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240327091136.3271-4-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c
drivers/gpu/drm/xe/xe_gt_types.h
drivers/gpu/drm/xe/xe_pt.c