public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/3] Guard idle residency tests against busy DRM clients
@ 2026-03-30 16:18 Soham Purkait
  2026-03-30 16:18 ` [PATCH i-g-t 1/3] lib/igt_drm_clients: Add helper to list and count the DRM client processes Soham Purkait
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Soham Purkait @ 2026-03-30 16:18 UTC (permalink / raw)
  To: igt-dev, riana.tauro, badal.nilawar, kamil.konieczny,
	vinay.belgaumkar
  Cc: anshuman.gupta, soham.purkait

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(+)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH i-g-t 0/3] Guard gt-c6-idle test against busy DRM clients
@ 2026-04-02 13:00 Soham Purkait
  2026-04-02 13:00 ` [PATCH i-g-t 1/3] lib/igt_drm_clients: Add helper to list and count the DRM client processes Soham Purkait
  0 siblings, 1 reply; 9+ messages in thread
From: Soham Purkait @ 2026-04-02 13:00 UTC (permalink / raw)
  To: igt-dev, riana.tauro, badal.nilawar, kamil.konieczny,
	vinay.belgaumkar
  Cc: anshuman.gupta, soham.purkait

      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(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-04-02 13:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-30 16:18 [PATCH i-g-t 0/3] Guard idle residency tests against busy DRM clients Soham Purkait
2026-03-30 16:18 ` [PATCH i-g-t 1/3] lib/igt_drm_clients: Add helper to list and count the DRM client processes Soham Purkait
2026-03-30 16:18 ` [PATCH i-g-t 2/3] tests/intel/xe_pm_residency: Check for other DRM device users Soham Purkait
2026-03-30 16:18 ` [PATCH i-g-t 3/3] HAX: Add idle-residency tests to xe-fast-feedback.testlist Soham Purkait
2026-03-31  4:46 ` ✓ Xe.CI.BAT: success for Guard idle residency tests against busy DRM clients Patchwork
2026-03-31  4:57 ` ✓ i915.CI.BAT: " Patchwork
2026-03-31 10:14 ` ✓ Xe.CI.FULL: " Patchwork
2026-03-31 14:55 ` ✗ i915.CI.Full: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2026-04-02 13:00 [PATCH i-g-t 0/3] Guard gt-c6-idle test " Soham Purkait
2026-04-02 13:00 ` [PATCH i-g-t 1/3] lib/igt_drm_clients: Add helper to list and count the DRM client processes Soham Purkait

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox