public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/6] tests/kms_pipe_crc_basic: add mst suspend-resume test
@ 2026-04-01 11:55 Kunal Joshi
  2026-04-01 11:55 ` [PATCH i-g-t 1/6] tests/intel/kms_mst_helper: Add kernel-doc for existing function Kunal Joshi
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Kunal Joshi @ 2026-04-01 11:55 UTC (permalink / raw)
  To: igt-dev; +Cc: Kunal Joshi

This patch series introduces MST suspend-resume test
to kms_pipe_crc_basic. The MST test validates there
is no corruption/blank out across suspend/resume cycles
for all possible subsets.

Kunal Joshi (6):
  tests/intel/kms_mst_helper: Add kernel-doc for existing function
  tests/intel/kms_mst_helper: Add helper to check for MST outputs
  lib/igt_kms: Fix max_non_joiner_mode_found
  lib/igt_kms: Export get_max_pipe_hdisplay as public helper
  tests/intel/kms_joiner: Require boundary mode for basic-max-non-joiner
  tests/kms_pipe_crc_basic: Add MST suspend-resume test

 lib/igt_kms.c                |  25 +--
 lib/igt_kms.h                |   1 +
 tests/intel/kms_joiner.c     |   4 +
 tests/intel/kms_mst_helper.c |  24 ++-
 tests/intel/kms_mst_helper.h |   1 +
 tests/kms_pipe_crc_basic.c   | 318 +++++++++++++++++++++++++++++++++++
 tests/meson.build            |   3 +
 7 files changed, 364 insertions(+), 12 deletions(-)

-- 
2.48.1


^ permalink raw reply	[flat|nested] 17+ messages in thread
* [PATCH i-g-t 0/6] tests/kms_pipe_crc_basic: add mst suspend-resume test
@ 2026-02-02  8:45 Kunal Joshi
  2026-02-02  8:45 ` [PATCH i-g-t 6/6] tests/kms_pipe_crc_basic: Add MST " Kunal Joshi
  0 siblings, 1 reply; 17+ messages in thread
From: Kunal Joshi @ 2026-02-02  8:45 UTC (permalink / raw)
  To: igt-dev; +Cc: Kunal Joshi

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


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

end of thread, other threads:[~2026-04-01 14:46 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-01 11:55 [PATCH i-g-t 0/6] tests/kms_pipe_crc_basic: add mst suspend-resume test Kunal Joshi
2026-04-01 11:55 ` [PATCH i-g-t 1/6] tests/intel/kms_mst_helper: Add kernel-doc for existing function Kunal Joshi
2026-04-01 11:55 ` [PATCH i-g-t 2/6] tests/intel/kms_mst_helper: Add helper to check for MST outputs Kunal Joshi
2026-04-01 11:55 ` [PATCH i-g-t 3/6] lib/igt_kms: Fix max_non_joiner_mode_found Kunal Joshi
2026-04-01 11:44   ` Jani Nikula
2026-04-01 11:57     ` Joshi, Kunal1
2026-04-01 11:55 ` [PATCH i-g-t 4/6] lib/igt_kms: Export get_max_pipe_hdisplay as public helper Kunal Joshi
2026-04-01 11:47   ` Jani Nikula
2026-04-01 14:46     ` Joshi, Kunal1
2026-04-01 11:55 ` [PATCH i-g-t 5/6] tests/intel/kms_joiner: Require boundary mode for basic-max-non-joiner Kunal Joshi
2026-04-01 11:55 ` [PATCH i-g-t 6/6] tests/kms_pipe_crc_basic: Add MST suspend-resume test Kunal Joshi
2026-04-01 11:52   ` Jani Nikula
2026-04-01 11:59     ` Joshi, Kunal1
2026-04-01 12:06     ` Ville Syrjälä
2026-04-01 12:17       ` Joshi, Kunal1
  -- strict thread matches above, loose matches on Subject: below --
2026-02-02  8:45 [PATCH i-g-t 0/6] tests/kms_pipe_crc_basic: add mst " Kunal Joshi
2026-02-02  8:45 ` [PATCH i-g-t 6/6] tests/kms_pipe_crc_basic: Add MST " Kunal Joshi
2026-02-04 10:40   ` Bilal, Mohammed

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