diff options
author | Pallavi Mishra <pallavi.mishra@intel.com> | 2023-11-01 02:08:38 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 19:43:32 +0300 |
commit | ebb00b285bef8bcdc46ac4e344d5748539bdd213 (patch) | |
tree | 000824d1019bd7c09fc06213912e07d4774a8e6c /drivers | |
parent | fd0975b7cfee7d3e6db6771193b0cff230b7eec8 (diff) | |
download | linux-ebb00b285bef8bcdc46ac4e344d5748539bdd213.tar.xz |
drm/xe: Dump CTB during TLB timeout
Print CTB info during TLB invalidation
timeout event.
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Pallavi Mishra <pallavi.mishra@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c b/drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c index bd6005b9d498..b5c39c55e1fa 100644 --- a/drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c +++ b/drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c @@ -319,6 +319,7 @@ int xe_gt_tlb_invalidation_wait(struct xe_gt *gt, int seqno) { struct xe_device *xe = gt_to_xe(gt); struct xe_guc *guc = >->uc.guc; + struct drm_printer p = drm_err_printer(__func__); int ret; /* @@ -331,6 +332,7 @@ int xe_gt_tlb_invalidation_wait(struct xe_gt *gt, int seqno) if (!ret) { drm_err(&xe->drm, "gt%d: TLB invalidation time'd out, seqno=%d, recv=%d\n", gt->info.id, seqno, gt->tlb_invalidation.seqno_recv); + xe_guc_ct_print(&guc->ct, &p, true); return -ETIME; } |