summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_trace.h
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2023-01-24 10:35:59 -0800
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-19 18:27:46 -0500
commit38224c00d9c284030d60be83571e5f1bd5fc79c6 (patch)
tree0beb4a93b485944174e290b0bd4c40723b716450 /drivers/gpu/drm/xe/xe_trace.h
parent24b52db6ae00d8e8c4a7af5622890b70d4de51b9 (diff)
downloadlwn-38224c00d9c284030d60be83571e5f1bd5fc79c6.tar.gz
lwn-38224c00d9c284030d60be83571e5f1bd5fc79c6.zip
drm/xe: Add TDR for invalidation fence timeout cleanup
Endless fences are not good, add a TDR to cleanup any invalidation fences which have not received an invalidation message within a timeout period. Signed-off-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_trace.h')
-rw-r--r--drivers/gpu/drm/xe/xe_trace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_trace.h b/drivers/gpu/drm/xe/xe_trace.h
index b5b0f1bff7ec..d1cd4b57a974 100644
--- a/drivers/gpu/drm/xe/xe_trace.h
+++ b/drivers/gpu/drm/xe/xe_trace.h
@@ -70,6 +70,11 @@ DEFINE_EVENT(xe_gt_tlb_invalidation_fence, xe_gt_tlb_invalidation_fence_signal,
TP_ARGS(fence)
);
+DEFINE_EVENT(xe_gt_tlb_invalidation_fence, xe_gt_tlb_invalidation_fence_timeout,
+ TP_PROTO(struct xe_gt_tlb_invalidation_fence *fence),
+ TP_ARGS(fence)
+);
+
DECLARE_EVENT_CLASS(xe_bo,
TP_PROTO(struct xe_bo *bo),
TP_ARGS(bo),