From: Kunal Joshi <kunal1.joshi@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Kunal Joshi <kunal1.joshi@intel.com>
Subject: [PATCH i-g-t 0/6] tests/kms_pipe_crc_basic: add mst suspend-resume test
Date: Mon, 2 Feb 2026 14:15:33 +0530 [thread overview]
Message-ID: <20260202084539.2524306-1-kunal1.joshi@intel.com> (raw)
This patch series introduces MST suspend-resume test to kms_pipe_crc_basic.
While at it add framework for general resource cleanup infrastructure.
The cleanup framework addresses the problem of leaked resources (framebuffers,
pipe CRCs, file descriptors) when tests exit early via igt_require(), igt_skip(),
or igt_assert() failures. By registering resources with the cleanup framework,
tests can ensure proper cleanup on all exit paths without manual handling.
The MST test validates that CRC values remain stable across suspend/resume cycles
for all possible subsets of MST outputs connected to a single MST hub.
Kunal Joshi (6):
tests/intel/kms_mst_helper: Add helper to check for MST outputs
lib/igt_cleanup: Add general resource cleanup infrastructure
tests/kms_pipe_crc_basic: Use cleanup framework for framebuffers
tests/kms_pipe_crc_basic: Use cleanup framework for pipe CRC
tests/kms_pipe_crc_basic: Use cleanup framework for drm_fd
tests/kms_pipe_crc_basic: Add MST suspend-resume test
lib/igt.h | 1 +
lib/igt_cleanup.c | 492 +++++++++++++++++++++++++++++++++++
lib/igt_cleanup.h | 63 +++++
lib/meson.build | 1 +
tests/intel/kms_mst_helper.c | 19 ++
tests/intel/kms_mst_helper.h | 1 +
tests/kms_pipe_crc_basic.c | 262 ++++++++++++++++++-
tests/meson.build | 3 +
8 files changed, 835 insertions(+), 7 deletions(-)
create mode 100644 lib/igt_cleanup.c
create mode 100644 lib/igt_cleanup.h
--
2.43.0
next reply other threads:[~2026-02-02 8:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-02 8:45 Kunal Joshi [this message]
2026-02-02 8:45 ` [PATCH i-g-t 1/6] tests/intel/kms_mst_helper: Add helper to check for MST outputs Kunal Joshi
2026-02-02 8:45 ` [PATCH i-g-t 2/6] lib/igt_cleanup: Add general resource cleanup infrastructure Kunal Joshi
2026-02-02 8:45 ` [PATCH i-g-t 3/6] tests/kms_pipe_crc_basic: Use cleanup framework for framebuffers Kunal Joshi
2026-02-02 8:45 ` [PATCH i-g-t 4/6] tests/kms_pipe_crc_basic: Use cleanup framework for pipe CRC Kunal Joshi
2026-02-02 8:45 ` [PATCH i-g-t 5/6] tests/kms_pipe_crc_basic: Use cleanup framework for drm_fd Kunal Joshi
2026-02-02 8:45 ` [PATCH i-g-t 6/6] tests/kms_pipe_crc_basic: Add MST suspend-resume test Kunal Joshi
2026-02-04 10:40 ` Bilal, Mohammed
2026-02-03 0:13 ` ✓ Xe.CI.BAT: success for tests/kms_pipe_crc_basic: add mst suspend-resume test (rev3) Patchwork
2026-02-03 0:19 ` ✓ i915.CI.BAT: " Patchwork
2026-02-03 7:54 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-02-03 8:55 ` ✗ i915.CI.Full: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2026-04-01 11:55 [PATCH i-g-t 0/6] tests/kms_pipe_crc_basic: add mst suspend-resume test Kunal Joshi
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=20260202084539.2524306-1-kunal1.joshi@intel.com \
--to=kunal1.joshi@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/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