[PATCH i-g-t v7 0/3] tests/intel/xe_pmu: Add PMU tests
Vinay Belgaumkar
vinay.belgaumkar at intel.com
Thu Jan 30 21:30:25 UTC 2025
Add utils and gt-c6 tests that utilize PMU counters.
Cc: Riana Tauro <riana.tauro at intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
Vinay Belgaumkar (3):
lib/igt_core: Add tolerance and measured_usleep utils
lib/igt_perf: Add utils to extract PMU event info
tests/xe/pmu: Add pmu tests for gt-c6
lib/igt_core.c | 20 ++++
lib/igt_core.h | 20 ++++
lib/igt_perf.c | 70 ++++++++++++
lib/igt_perf.h | 2 +
tests/intel/drm_fdinfo.c | 55 ++-------
tests/intel/gem_exec_nop.c | 6 -
tests/intel/gem_spin_batch.c | 6 -
tests/intel/i915_pm_rc6_residency.c | 42 ++-----
tests/intel/perf_pmu.c | 15 +--
tests/intel/sysfs_heartbeat_interval.c | 17 +--
tests/intel/xe_pm_residency.c | 29 +----
tests/intel/xe_pmu.c | 149 +++++++++++++++++++++++++
tests/meson.build | 1 +
13 files changed, 284 insertions(+), 148 deletions(-)
create mode 100644 tests/intel/xe_pmu.c
--
2.38.1
More information about the igt-dev
mailing list