drm/xe/tlb: print seqno_recv on fence TLB timeout
To help debugging, sample the current seqno_recv and dump it out if we encounter a TLB timeout for the fences path. Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Matthew Brost <matthew.brost@intel.com> Cc: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
parent
2ca01fe31b
commit
4aa5e3594f
@ -35,8 +35,8 @@ static void xe_gt_tlb_fence_timeout(struct work_struct *work)
|
||||
break;
|
||||
|
||||
trace_xe_gt_tlb_invalidation_fence_timeout(fence);
|
||||
drm_err(>_to_xe(gt)->drm, "gt%d: TLB invalidation fence timeout, seqno=%d",
|
||||
gt->info.id, fence->seqno);
|
||||
drm_err(>_to_xe(gt)->drm, "gt%d: TLB invalidation fence timeout, seqno=%d recv=%d",
|
||||
gt->info.id, fence->seqno, gt->tlb_invalidation.seqno_recv);
|
||||
|
||||
list_del(&fence->link);
|
||||
fence->base.error = -ETIME;
|
||||
|
Loading…
x
Reference in New Issue
Block a user