Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_flip: Restrict the hang tests execution to single pipe combinations
@ 2023-06-27 20:13 Jeevan B
  2023-06-27 21:09 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jeevan B @ 2023-06-27 20:13 UTC (permalink / raw)
  To: igt-dev

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

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

end of thread, other threads:[~2023-06-30 15:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-27 20:13 [igt-dev] [PATCH i-g-t] tests/kms_flip: Restrict the hang tests execution to single pipe combinations Jeevan B
2023-06-27 21:09 ` [igt-dev] ✓ Fi.CI.BAT: success for " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox