summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_gt.c
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2023-01-18 08:11:43 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-20 02:27:45 +0300
commitfc108a8b759f52b879e9a39642ee7988d251e453 (patch)
tree7d4238ba97b09c26176c888161b5d13e7d80bd49 /drivers/gpu/drm/xe/xe_gt.c
parent62ad062150c2ab72b0881c2f24f710e4c0bc4cd7 (diff)
downloadlinux-fc108a8b759f52b879e9a39642ee7988d251e453.tar.xz
drm/xe: Add TLB invalidation fence
Fence will be signaled when TLB invalidation completion. Signed-off-by: Matthew Brost <matthew.brost@intel.com> Suggested-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_gt.c')
-rw-r--r--drivers/gpu/drm/xe/xe_gt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c
index 96136f130eda..28bbb3159531 100644
--- a/drivers/gpu/drm/xe/xe_gt.c
+++ b/drivers/gpu/drm/xe/xe_gt.c
@@ -669,6 +669,7 @@ static int gt_reset(struct xe_gt *gt)
xe_uc_stop_prepare(&gt->uc);
xe_gt_pagefault_reset(gt);
+ xe_gt_tlb_invalidation_reset(gt);
err = xe_uc_stop(&gt->uc);
if (err)