Commit a5cecbac authored by Nirmoy Das's avatar Nirmoy Das Committed by Rodrigo Vivi

drm/xe: Print GT info on TLB inv failure

Print GT info on TLB inv failure for better debugbility.
Signed-off-by: default avatarNirmoy Das <nirmoy.das@intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent a56d8dab
...@@ -34,8 +34,8 @@ static void xe_gt_tlb_fence_timeout(struct work_struct *work) ...@@ -34,8 +34,8 @@ static void xe_gt_tlb_fence_timeout(struct work_struct *work)
break; break;
trace_xe_gt_tlb_invalidation_fence_timeout(fence); trace_xe_gt_tlb_invalidation_fence_timeout(fence);
drm_err(&gt_to_xe(gt)->drm, "TLB invalidation fence timeout, seqno=%d", drm_err(&gt_to_xe(gt)->drm, "gt%d: TLB invalidation fence timeout, seqno=%d",
fence->seqno); gt->info.id, fence->seqno);
list_del(&fence->link); list_del(&fence->link);
fence->base.error = -ETIME; fence->base.error = -ETIME;
...@@ -285,8 +285,8 @@ int xe_gt_tlb_invalidation_wait(struct xe_gt *gt, int seqno) ...@@ -285,8 +285,8 @@ int xe_gt_tlb_invalidation_wait(struct xe_gt *gt, int seqno)
tlb_invalidation_seqno_past(gt, seqno), tlb_invalidation_seqno_past(gt, seqno),
TLB_TIMEOUT); TLB_TIMEOUT);
if (!ret) { if (!ret) {
drm_err(&xe->drm, "TLB invalidation time'd out, seqno=%d, recv=%d\n", drm_err(&xe->drm, "gt%d: TLB invalidation time'd out, seqno=%d, recv=%d\n",
seqno, gt->tlb_invalidation.seqno_recv); gt->info.id, seqno, gt->tlb_invalidation.seqno_recv);
return -ETIME; return -ETIME;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment