[PATCH i-g-t v8 0/6] kms_flip: limit number of subtests run

Michał Grzelak
2026-03-09T09:25:42Z

Next version of [1]. This series addresses both 2x-* and single output
tests. It also handles timeouts seen on SNB & BMG. This series has been
tested on config with 4 outputs connected.

[1] https://lore.kernel.org/igt-dev/20260226083115.1747856-1-michal.grzelak@intel.com

BR,
Michał

---
Changelog:
v7->v8
- add WA for BMG

v6->v7
- remove unused global vars (Jani)
- staticize rest of global vars (Jani)

v5->v6
- fix typo in commit message (Thasleem)
- clarify selecting compatible mode (Thasleem)
- add init of devid & SNB WA

v4->v5
- rename all_pipes to all_crtcs during rebase

v3->v4
- change \gt into \ge sign

v2->v3
- ease counting of pairs of outputs
- limit number of tested outputs
- narrow pair & output limiting to suspend subtests
- add separate param for pair and connector limiting

v1->v2
- split pipe limiting into 2x- and single subtests
- add output pair limiting

Michał Grzelak (6):
tests/kms_flip: test suspend on one pair of pipes
tests/kms_flip: run suspend tests on one pipe per output
tests/kms_flip: limit output pairs when testing suspend
tests/kms_flip: limit number of outputs wrt suspend
tests/kms_flip: staticize & remove unused global vars
tests/kms_flip: test suspend at most twice on SNB && BMG

tests/kms_flip.c | 82 +++++++++++++++++++++++++++++++++++++++---------
1 file changed, 68 insertions(+), 14 deletions(-)

--
2.45.2