Skip to content

Add debugfs file to dump tlb inval stats

Nirmoy Das intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe: Add sent and recv counters for tlb invalidationsdrivers/gpu/drm/xe/xe_gt_tlb_invalidation.c drivers/gpu/drm/xe/xe_gt_types.h+30 -114 replies
2/2drm/xe: Create debugfs for tlb inval statsdrivers/gpu/drm/xe/xe_gt_debugfs.c drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h+18 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Add debugfs file to dump tlb inval stats

TLB inval stats should be useful for IGT tests as requested by Sai.

With this series the output looks like:

sudo cat /sys/kernel/debug/dri/0/gt0/tlb_stats; sudo cat /sys/kernel/debug/dri/0/gt1/tlb_stats GT0, TLB Requests sent: 321, received: 321
GT1, TLB Requests sent: 212, received: 212

Cc: Matthew Brost <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: Sai Gowtham Ch <[email protected]> Nirmoy Das (2):
drm/xe: Add sent and recv counters for tlb invalidations drm/xe: Create debugfs for tlb inval stats

 drivers/gpu/drm/xe/xe_gt_debugfs.c          |  9 +++++
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 44 +++++++++++++++------
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h |  2 +
 drivers/gpu/drm/xe/xe_gt_types.h            |  4 ++
 4 files changed, 48 insertions(+), 11 deletions(-)
Signature · 1 line
2.42.0