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

engine-activity-idle
engine-activity-load-idle
engine-activity-load

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 tests

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

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

-- 
2.47.1


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

end of thread, other threads:[~2025-02-19 10:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17 14:20 [PATCH i-g-t v2 0/3] Add PMU tests to validate engine activity Riana Tauro
2025-02-17 14:20 ` [PATCH i-g-t v2 1/3] lib/igt_perf: Add utils to extract PMU event info Riana Tauro
2025-02-19 10:13   ` Kamil Konieczny
2025-02-17 14:20 ` [PATCH i-g-t v2 2/3] tests/intel/xe_pmu: Add PMU test to validate engine activity stats Riana Tauro
2025-02-18 20:05   ` Umesh Nerlige Ramappa
2025-02-17 14:20 ` [PATCH i-g-t v2 3/3] tests/intel/xe_pmu: Add idle engine activity tests Riana Tauro
2025-02-18 20:18   ` Umesh Nerlige Ramappa
2025-02-17 23:42 ` ✓ Xe.CI.BAT: success for Add PMU tests to validate engine activity (rev3) Patchwork
2025-02-17 23:48 ` ✓ i915.CI.BAT: " Patchwork
2025-02-18  5:31 ` ✗ i915.CI.Full: failure " Patchwork
2025-02-18 17:20 ` ✗ 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