All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeevan B <jeevan.b@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: ramanaidu.naladala@intel.com, Jeevan B <jeevan.b@intel.com>
Subject: [PATCH i-g-t] tests/kms_display_modes: Skip mirrored pipe combinations
Date: Tue,  7 Jul 2026 09:41:13 +0530	[thread overview]
Message-ID: <20260707041113.3997991-1-jeevan.b@intel.com> (raw)

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


             reply	other threads:[~2026-07-07  4:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-07  4:11 Jeevan B [this message]
2026-07-07  9:35 ` ✓ Xe.CI.BAT: success for tests/kms_display_modes: Skip mirrored pipe combinations (rev2) Patchwork
2026-07-07  9:39 ` ✓ i915.CI.BAT: " Patchwork
2026-07-07 11:25 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-07 22:39 ` ✓ i915.CI.Full: " Patchwork
2026-07-08  4:49 ` [PATCH i-g-t] tests/kms_display_modes: Skip mirrored pipe combinations Naladala, Ramanaidu
  -- strict thread matches above, loose matches on Subject: below --
2026-07-06  5:08 Jeevan B
2026-07-06 13:52 ` Naladala, Ramanaidu

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=20260707041113.3997991-1-jeevan.b@intel.com \
    --to=jeevan.b@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=ramanaidu.naladala@intel.com \
    /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 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.