[PATCH v3 0/2] Enhance SVM stats
Matthew Brost
matthew.brost at intel.com
Tue Jun 3 23:34:43 UTC 2025
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
More information about the Intel-xe
mailing list