[PATCH i-g-t 0/3] Add tests for per-engine-class activity

Riana Tauro riana.tauro at intel.com
Wed Jan 15 07:30:37 UTC 2025


PMU provides two counters (engine-active-ticks, total-ticks)
to calculate engine acitivity. When querying engine busyness,
user must group these 2 counters using the perf_event
group mechanism to ensure both counters are sampled together.

Add basic IGT test to validate per-engine-class activity

KMD : https://patchwork.freedesktop.org/series/143138/

Riana Tauro (2):
  lib/perf: Add helper functions to read format entries
  tests/intel/xe_pmu: Add test for per-engine-class activity

Vinay Belgaumkar (1):
  tests/xe/pmu: Add pmu tests

 lib/igt_perf.c       |  71 +++++++
 lib/igt_perf.h       |   4 +
 tests/intel/xe_pmu.c | 458 +++++++++++++++++++++++++++++++++++++++++++
 tests/meson.build    |   1 +
 4 files changed, 534 insertions(+)
 create mode 100644 tests/intel/xe_pmu.c

-- 
2.47.1



More information about the igt-dev mailing list