Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Michał Grzelak" <michal.grzelak@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: juhapekka.heikkila@gmail.com,
	"Michał Grzelak" <michal.grzelak@intel.com>
Subject: [PATCH i-g-t v1 1/1] tests/kms_pipe_crc_basic: limit execution of suspend tests
Date: Mon, 29 Jun 2026 11:13:50 +0200	[thread overview]
Message-ID: <20260629091350.2706610-2-michal.grzelak@intel.com> (raw)
In-Reply-To: <20260629091350.2706610-1-michal.grzelak@intel.com>

Unless using extended run flag limit the execution of suspend tests to
first and last active CRTC. This helps with reducing default execution
time of the test which can lower number of hitting CI timeout.

Cc: Juha-Pekka Heikkilä <juhapekka.heikkila@gmail.com>
Signed-off-by: Michał Grzelak <michal.grzelak@intel.com>
---
 tests/kms_pipe_crc_basic.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
index 42e1415452..50b8a580f0 100644
--- a/tests/kms_pipe_crc_basic.c
+++ b/tests/kms_pipe_crc_basic.c
@@ -428,6 +428,10 @@ int igt_main_args("e", NULL, help_str, opt_handler, NULL)
 				if(!crtc_output_combo_valid(&data.display, crtc, output))
 					continue;
 
+				if (!extended && crtc->crtc_index != active_crtcs[0] &&
+				crtc->crtc_index != active_crtcs[last_crtc_index])
+					continue;
+
 				igt_dynamic_f("pipe-%s-%s",
 					      igt_crtc_name(crtc),
 					      output->name) {
-- 
2.45.2


  reply	other threads:[~2026-06-29  9:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-29  9:13 [PATCH i-g-t v1 0/1] pipe_crc_basic: limit suspend Michał Grzelak
2026-06-29  9:13 ` Michał Grzelak [this message]
2026-06-29 21:49 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-06-29 21:54 ` ✗ i915.CI.BAT: failure " Patchwork
2026-06-30  7:06 ` ✓ Xe.CI.FULL: success " Patchwork

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=20260629091350.2706610-2-michal.grzelak@intel.com \
    --to=michal.grzelak@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=juhapekka.heikkila@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox