Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH] tests/intel/i915_pipe_stress: Use only first pipe if Bigjoiner is used
@ 2023-09-14  8:03 Stanislav Lisovskiy
  2023-09-14  8:58 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Stanislav Lisovskiy @ 2023-09-14  8:03 UTC (permalink / raw)
  To: igt-dev; +Cc: juha-pekka.heikkila

We currently are having test failures for Bigjoiner, because that
test tries to use all pipes simultaneously, not realizing that
if we use a Bigjoiner mode on pipe A, the adjacent pipe won't be
available.
For now just fix it by using only one pipe, if resolution > 3840
is detected.

Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
---
 tests/intel/i915_pipe_stress.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/intel/i915_pipe_stress.c b/tests/intel/i915_pipe_stress.c
index 3cd84d027f..a050fa0117 100644
--- a/tests/intel/i915_pipe_stress.c
+++ b/tests/intel/i915_pipe_stress.c
@@ -590,6 +590,12 @@ static void stress_pipes(struct data *data, struct timespec *start,
 		igt_pipe_crc_stop(data->pipe_crc[pipe]);
 		igt_assert_crc_equal(&crc, &crc2);
 
+		/*
+		 * Do not try to use other pipes, if Bigjoiner is used
+		 */
+		if (data->highest_mode[pipe]->hdisplay > 3840)
+			break;
+
 		++pipe;
 	}
 }
-- 
2.37.3

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

end of thread, other threads:[~2023-10-11 10:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-14  8:03 [igt-dev] [PATCH] tests/intel/i915_pipe_stress: Use only first pipe if Bigjoiner is used Stanislav Lisovskiy
2023-09-14  8:58 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-09-14  9:24 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
2023-09-14 10:05 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-09-14 13:43 ` [igt-dev] [PATCH] " Modem, Bhanuprakash
2023-09-27  9:01   ` Lisovskiy, Stanislav
2023-10-11 10:07     ` Modem, Bhanuprakash

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