Skip to content

Guard idle residency 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_pm_residency: Check for other DRM device userstests/intel/xe_pm_residency.c tests/meson.build+26 -00 replies
3/3HAX: Add idle-residency tests to xe-fast-feedback.testlisttests/intel-ci/xe.fast-feedback.testlist+1 -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 0/3] Guard idle residency tests against busy DRM clients

The idle residency subtests are sensitive to unrelated DRM clients on the same card. When other processes keep the device busy, the measured idle residency can be lower 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 idle residency tests to detect competing DRM 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_pm_residency: Check for other DRM device users
HAX: Add idle-residency 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 |  1 +
 tests/intel/xe_pm_residency.c            | 25 +++++++
 tests/meson.build                        |  1 +
 5 files changed, 130 insertions(+)
Signature · 1 line
2.43.0