From: Soham Purkait <soham.purkait@intel.com>
To: igt-dev@lists.freedesktop.org, riana.tauro@intel.com,
badal.nilawar@intel.com, kamil.konieczny@intel.com,
vinay.belgaumkar@intel.com
Cc: anshuman.gupta@intel.com, soham.purkait@intel.com
Subject: [PATCH i-g-t 0/3] Guard idle residency tests against busy DRM clients
Date: Mon, 30 Mar 2026 21:48:05 +0530 [thread overview]
Message-ID: <20260330161808.2474476-1-soham.purkait@intel.com> (raw)
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
next reply other threads:[~2026-03-30 16:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-30 16:18 Soham Purkait [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260330161808.2474476-1-soham.purkait@intel.com \
--to=soham.purkait@intel.com \
--cc=anshuman.gupta@intel.com \
--cc=badal.nilawar@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@intel.com \
--cc=riana.tauro@intel.com \
--cc=vinay.belgaumkar@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox