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 first and last pipe combinations
@ 2023-07-18 11:00 Jeevan B
  2023-07-18 13:33 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jeevan B @ 2023-07-18 11:00 UTC (permalink / raw)
  To: igt-dev

restrict the hang tests execution to single pipe combinations still
causing timed-out so limiting the combination to first and last pipe.

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

diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index ef2234f74..ee4e8a43d 100755
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -1729,10 +1729,14 @@ 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 */
+					/* Limit the execution to 2 CRTCs
+					 * (first and last combination) for hang tests */
 					if ((flags & TEST_HANG) && !all_pipes &&
 					    (n != 0 && n != resources->count_crtcs))
 						continue;
+					if ((flags & TEST_HANG) && !all_pipes &&
+					    m != resources->count_crtcs - 1)
+						continue;
 
 					run_test_on_crtc_set(&o, crtc_idxs,
 							     RUN_PAIR,
-- 
2.41.0

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

end of thread, other threads:[~2023-07-27  5:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-18 11:00 [igt-dev] [PATCH i-g-t] tests/kms_flip: Restrict the hang tests execution to first and last pipe combinations Jeevan B
2023-07-18 13:33 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-07-18 14:05 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
2023-07-18 17:55 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-07-26 15:02 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny
2023-07-27  5:21   ` B, Jeevan

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