tests/intel/xe_pmu: Guard engine accuracy tests against busy DRM clients
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | lib/igt_drm_clients: Add helper to list and count the DRM client processeslib/ lib/ | +103 | 0 replies | |
| 2/3 | tests/intel/xe_pmu: Check if other processes are using the DRM devicetests/ tests/ | +26 | 0 replies | |
| 3/3 | HAX: Add engine accuracy tests to xe-fast-feedback.testlisttests/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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