drm/xe: Add TDR for invalidation fence timeout cleanup
authorMatthew Brost <matthew.brost@intel.com>
Tue, 24 Jan 2023 18:35:59 +0000 (10:35 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:27:46 +0000 (18:27 -0500)
commit38224c00d9c284030d60be83571e5f1bd5fc79c6
tree0beb4a93b485944174e290b0bd4c40723b716450
parent24b52db6ae00d8e8c4a7af5622890b70d4de51b9
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>
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c
drivers/gpu/drm/xe/xe_gt_tlb_invalidation_types.h
drivers/gpu/drm/xe/xe_gt_types.h
drivers/gpu/drm/xe/xe_trace.h