All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/kms_display_modes: Skip mirrored pipe combinations
@ 2026-07-06  5:08 Jeevan B
  2026-07-06 13:52 ` Naladala, Ramanaidu
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Jeevan B @ 2026-07-06  5:08 UTC (permalink / raw)
  To: igt-dev; +Cc: karthik.b.s, Jeevan B

Use a canonical pipe ordering in extended-mode-basic so each pipe pair
is tested only once. This removes mirrored combinations (A-B and B-A)
that provide duplicate coverage.

Reducing these redundant combinations lowers the total number of dynamic
subtests, helping prevent incomplete test execution in CI while
preserving coverage of all pipe and output pairings.

Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
 tests/kms_display_modes.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/kms_display_modes.c b/tests/kms_display_modes.c
index d8aae4256..983733b9b 100644
--- a/tests/kms_display_modes.c
+++ b/tests/kms_display_modes.c
@@ -190,6 +190,9 @@ static void run_extendedmode_test(data_t *data) {
 			if (crtc1 == crtc2)
 				continue;
 
+			if (crtc1->pipe > crtc2->pipe)
+				continue;
+
 			if (output1 == output2)
 				continue;
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH i-g-t] tests/kms_display_modes: Skip mirrored pipe combinations
@ 2026-07-07  4:11 Jeevan B
  2026-07-08  4:49 ` Naladala, Ramanaidu
  0 siblings, 1 reply; 8+ messages in thread
From: Jeevan B @ 2026-07-07  4:11 UTC (permalink / raw)
  To: igt-dev; +Cc: ramanaidu.naladala, Jeevan B

Use a canonical pipe ordering in extended-mode-basic so each pipe pair
is tested only once. This removes mirrored combinations (A-B and B-A)
that provide duplicate coverage.

Reducing these redundant combinations lowers the total number of dynamic
subtests, helping prevent incomplete test execution in CI while
preserving coverage of all pipe and output pairings.

v2: Skip mirrored pipe pairs, but keep both directions for SST<->MST
    combos.

Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
 tests/kms_display_modes.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/kms_display_modes.c b/tests/kms_display_modes.c
index d8aae4256..c1876aa05 100644
--- a/tests/kms_display_modes.c
+++ b/tests/kms_display_modes.c
@@ -193,6 +193,11 @@ static void run_extendedmode_test(data_t *data) {
 			if (output1 == output2)
 				continue;
 
+			if (crtc1->pipe > crtc2->pipe &&
+			    igt_check_output_is_dp_mst(output1) ==
+			    igt_check_output_is_dp_mst(output2))
+				continue;
+
 			igt_display_reset(display);
 
 			igt_output_set_crtc(output1, crtc1);
-- 
2.43.0


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

end of thread, other threads:[~2026-07-08  4:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-06  5:08 [PATCH i-g-t] tests/kms_display_modes: Skip mirrored pipe combinations Jeevan B
2026-07-06 13:52 ` Naladala, Ramanaidu
2026-07-07  3:57 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-07-07  3:58 ` ✓ i915.CI.BAT: " Patchwork
2026-07-07  5:57 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-07 12:10 ` ✗ i915.CI.Full: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2026-07-07  4:11 [PATCH i-g-t] " Jeevan B
2026-07-08  4:49 ` Naladala, Ramanaidu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.