Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Enhance SVM stats
@ 2025-06-03 23:34 Matthew Brost
  2025-06-03 23:34 ` [PATCH v3 1/2] drm/xe: Add clear_stats GT debugfs Matthew Brost
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Matthew Brost @ 2025-06-03 23:34 UTC (permalink / raw)
  To: intel-xe
  Cc: michal.mrozek, francois.dugast, thomas.hellstrom,
	himal.prasad.ghimiray

Add ability to clear GT stats and add more SVM stats for profiling.
Scripts should be able to be built on top of stats to breakdown time
spent in parts of the SVM page fault handler, bandwidth of copy engine,
etc... Will help showing concrete performance improvements when
implementing SVM optimizations.

Open suggestions of more stats. Prefetch not considered - can be done in
a follow up.

v2:
 - Include local changes missed in first rev
v3:
 - More stats after putting together script to parse

Matthew Brost (2):
  drm/xe: Add clear_stats GT debugfs
  drm/xe: Add more SVM GT stats

 drivers/gpu/drm/xe/xe_gt_debugfs.c     |  22 ++
 drivers/gpu/drm/xe/xe_gt_stats.c       |  47 +++++
 drivers/gpu/drm/xe/xe_gt_stats.h       |   1 +
 drivers/gpu/drm/xe/xe_gt_stats_types.h |  33 +++
 drivers/gpu/drm/xe/xe_svm.c            | 274 ++++++++++++++++++++++++-
 5 files changed, 369 insertions(+), 8 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-06-27 17:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-03 23:34 [PATCH v3 0/2] Enhance SVM stats Matthew Brost
2025-06-03 23:34 ` [PATCH v3 1/2] drm/xe: Add clear_stats GT debugfs Matthew Brost
2025-06-27 16:24   ` Francois Dugast
2025-06-03 23:34 ` [PATCH v3 2/2] drm/xe: Add more SVM GT stats Matthew Brost
2025-06-04 10:24   ` Francois Dugast
2025-06-04 14:13     ` Matthew Brost
2025-06-27 16:29       ` Francois Dugast
2025-06-27 17:37         ` Matthew Brost
2025-06-03 23:38 ` ✓ CI.Patch_applied: success for Enhance SVM stats Patchwork
2025-06-03 23:38 ` ✗ CI.checkpatch: warning " Patchwork
2025-06-03 23:39 ` ✗ CI.KUnit: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox