Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/kms_bw: Fix the condition check for max pipe count
@ 2024-03-21  5:24 Bhanuprakash Modem
  2024-03-21  6:24 ` ✓ CI.xeBAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bhanuprakash Modem @ 2024-03-21  5:24 UTC (permalink / raw)
  To: igt-dev, karthik.b.s; +Cc: Bhanuprakash Modem

Fix the condition check to skip the subtest if ASIC doesn't
have the requested number of pipes.

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 tests/kms_bw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_bw.c b/tests/kms_bw.c
index 96b19199d..05f7e79ad 100644
--- a/tests/kms_bw.c
+++ b/tests/kms_bw.c
@@ -186,7 +186,7 @@ static void run_test_linear_tiling(data_t *data, int pipe, const drmModeModeInfo
 	 * not give the numver of valid crtcs and always return IGT_MAX_PIPES */
 	for_each_pipe(display, p) num_pipes++;
 
-	igt_skip_on_f(pipe > num_pipes,
+	igt_skip_on_f(pipe >= num_pipes,
                       "ASIC does not have %d pipes\n", pipe);
 
 	test_init(data);
-- 
2.43.2


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

end of thread, other threads:[~2024-03-26  8:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-21  5:24 [PATCH i-g-t] tests/kms_bw: Fix the condition check for max pipe count Bhanuprakash Modem
2024-03-21  6:24 ` ✓ CI.xeBAT: success for " Patchwork
2024-03-21  6:39 ` ✓ Fi.CI.BAT: " Patchwork
2024-03-22  1:30 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-03-26  8:40 ` [PATCH i-g-t] " Karthik B S

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