From: Jeevan B <jeevan.b@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] tests/kms_flip: Restrict the hang tests execution to single pipe combinations
Date: Wed, 28 Jun 2023 01:43:27 +0530 [thread overview]
Message-ID: <20230627201327.24312-1-jeevan.b@intel.com> (raw)
To save the CI execution time, instead of running on all pipes
restrict the hang tests execution to single pipe combinations.
If we want to execute on all pipes, we need to pass an extra
argument "-e" indicates extended.
Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
tests/kms_flip.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index f1e0700c1..00bb7e962 100755
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -1729,6 +1729,11 @@ static void run_pair(int duration, int flags)
crtc_idxs[0] = n;
crtc_idxs[1] = m;
+ /* Limit the execution to PIPE_A combination for hang tests */
+ if ((flags & TEST_HANG) && !all_pipes &&
+ (n != 0 && n != resources->count_crtcs))
+ continue;
+
run_test_on_crtc_set(&o, crtc_idxs,
RUN_PAIR,
resources->count_crtcs,
--
2.41.0
next reply other threads:[~2023-06-27 20:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-27 20:13 Jeevan B [this message]
2023-06-27 21:09 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_flip: Restrict the hang tests execution to single pipe combinations Patchwork
2023-06-28 14:41 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-06-30 15:27 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny
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=20230627201327.24312-1-jeevan.b@intel.com \
--to=jeevan.b@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/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