Skip to content

Guard gt-c6-idle test against busy DRM clients

Soham Purkait igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

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: Add check for the other drm clients using the devicetests/intel/xe_pmu.c tests/meson.build+26 -21 reply
3/3HAX: Add gt-c6-idle test 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 gt-c6-idle test against busy DRM clients

The gt-c6-idle 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 gt-c6-idle test 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: Add check for the other drm clients using the
device
HAX: Add gt-c6-idle test 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_pmu.c                     | 27 ++++++-
 tests/meson.build                        |  1 +
 5 files changed, 130 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1