[PATCH i-g-t] tests/intel/kms_pipe_stress: Skip invalid pipe-output combinations
Jeevan B
jeevan.b at intel.com
Fri Jul 11 09:20:40 UTC 2025
Add intel_pipe_output_combo_valid check to skip invalid pipe-output
combinations which are not valid.
Signed-off-by: Jeevan B <jeevan.b at intel.com>
---
tests/intel/kms_pipe_stress.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/intel/kms_pipe_stress.c b/tests/intel/kms_pipe_stress.c
index 296c93b58..a896c830b 100644
--- a/tests/intel/kms_pipe_stress.c
+++ b/tests/intel/kms_pipe_stress.c
@@ -578,6 +578,11 @@ static void stress_pipes(struct data *data, struct timespec *start,
if (!data->highest_mode[pipe])
continue;
+ if (!intel_pipe_output_combo_valid(&data->display)) {
+ igt_output_set_pipe(output, PIPE_NONE);
+ continue;
+ }
+
igt_assert_f(data->display.pipes[pipe].n_planes < MAX_PLANES,
"Currently we don't support more than %d planes!",
MAX_PLANES);
--
2.43.0
More information about the igt-dev
mailing list