tests/kms_pipe_crc_basic: add mst suspend-resume test
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | tests/intel/kms_mst_helper: Add helper to check for MST outputstests/ tests/ | +20 | 0 replies | |
| 2/6 | lib/igt_cleanup: Add general resource cleanup infrastructurelib/ lib/ lib/ +1 more | +557 | 0 replies | |
| 3/6 | tests/kms_pipe_crc_basic: Use cleanup framework for framebufferstests/ | +6 | 0 replies | |
| 4/6 | tests/kms_pipe_crc_basic: Use cleanup framework for pipe CRCtests/ | +2 | 0 replies | |
| 5/6 | tests/kms_pipe_crc_basic: Use cleanup framework for drm_fdtests/ | +1 | 0 replies | |
| 6/6 | tests/kms_pipe_crc_basic: Add MST suspend-resume testtests/ tests/ | +249 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH i-g-t 0/6] tests/kms_pipe_crc_basic: add mst suspend-resume test
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
Signature · 1 line
2.43.0