Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/3] Add PMU tests to validate engine activity
@ 2025-02-12  9:58 Riana Tauro
  2025-02-12  9:58 ` [PATCH i-g-t 1/3] lib/igt_perf: Add utils to extract PMU event info Riana Tauro
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Riana Tauro @ 2025-02-12  9:58 UTC (permalink / raw)
  To: igt-dev
  Cc: riana.tauro, anshuman.gupta, umesh.nerlige.ramappa,
	vinay.belgaumkar, soham.purkait

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

Add two tests to validate engine activity

engine-activity-idle
engine-activity

KMD Patch: https://patchwork.freedesktop.org/series/144408/

Riana Tauro (2):
  tests/intel/xe_pmu: Add PMU test to validate engine activity stats
  tests/intel/xe_pmu: Add idle engine activity test

Vinay Belgaumkar (1):
  lib/igt_perf: Add utils to extract PMU event info

 lib/igt_perf.c       |  70 ++++++++++++++++++
 lib/igt_perf.h       |   2 +
 tests/intel/xe_pmu.c | 166 +++++++++++++++++++++++++++++++++++++++++++
 tests/meson.build    |   1 +
 4 files changed, 239 insertions(+)
 create mode 100644 tests/intel/xe_pmu.c

-- 
2.47.1


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

end of thread, other threads:[~2025-02-17  6:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-12  9:58 [PATCH i-g-t 0/3] Add PMU tests to validate engine activity Riana Tauro
2025-02-12  9:58 ` [PATCH i-g-t 1/3] lib/igt_perf: Add utils to extract PMU event info Riana Tauro
2025-02-13 14:30   ` Kamil Konieczny
2025-02-16 11:26   ` Purkait, Soham
2025-02-12  9:58 ` [PATCH i-g-t 2/3] tests/intel/xe_pmu: Add PMU test to validate engine activity stats Riana Tauro
2025-02-14 18:55   ` Umesh Nerlige Ramappa
2025-02-14 19:01     ` Umesh Nerlige Ramappa
2025-02-12  9:58 ` [PATCH i-g-t 3/3] tests/intel/xe_pmu: Add idle engine activity test Riana Tauro
2025-02-14 19:08   ` Umesh Nerlige Ramappa
2025-02-17  6:58     ` Riana Tauro
2025-02-13  1:07 ` ✓ Xe.CI.BAT: success for Add PMU tests to validate engine activity Patchwork
2025-02-13  1:20 ` ✓ i915.CI.BAT: " Patchwork
2025-02-13 10:04 ` ✗ i915.CI.Full: failure " Patchwork
2025-02-13 12:03 ` ✗ Xe.CI.Full: " Patchwork

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