Skip to content

tests/intel/xe_pmu: Guard engine accuracy tests against busy DRM clients

Soham Purkait igt-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/igt_drm_clients: Add helper to list and count the DRM client processeslib/igt_drm_clients.c lib/igt_drm_clients.h+103 -00 replies
2/3tests/intel/xe_pmu: Check if other processes are using the DRM devicetests/intel/xe_pmu.c tests/meson.build+26 -00 replies
3/3HAX: Add engine accuracy tests to xe-fast-feedback.testlisttests/intel-ci/xe.fast-feedback.testlist+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH i-g-t v1 0/3] tests/intel/xe_pmu: Guard engine accuracy tests against busy DRM clients

The engine-activity accuracy subtests are sensitive to unrelated DRM clients on the same card. When other processes keep the device busy, the measured engine activity can be higher than expected and trigger false failures.

This series improves the robustness of the subtest by first introducing a helper to enumerate DRM client processes associated with a given card fd, and subsequently using it in engine accuracy tests to detect competing clients triggering a warning, and skipping the test.

Soham Purkait (3):
lib/igt_drm_clients: Add helper to list and count the DRM client
processes
tests/intel/xe_pmu: Check if other processes are using the DRM device
HAX: Add engine accuracy tests to xe-fast-feedback.testlist

 lib/igt_drm_clients.c                    | 93 ++++++++++++++++++++++++
 lib/igt_drm_clients.h                    | 10 +++
 tests/intel-ci/xe.fast-feedback.testlist |  3 +
 tests/intel/xe_pmu.c                     | 25 +++++++
 tests/meson.build                        |  1 +
 5 files changed, 132 insertions(+)
Signature · 1 line
2.43.0