[igt-dev] [i-g-t v8 11/51] tests/kms_concurrent: Add support for Bigjoiner

Bhanuprakash Modem
2023-02-23T15:15:28Z

Reviewed-by: Nidhi Gupta <nidhi1.gupta@intel.com>
---
tests/kms_concurrent.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/tests/kms_concurrent.c b/tests/kms_concurrent.c
index 6f8ffd4a6..e6d61a84d 100644
--- a/tests/kms_concurrent.c
+++ b/tests/kms_concurrent.c
@@ -330,9 +330,17 @@ run_tests_for_pipe(data_t *data, enum pipe pipe)
igt_describe("Test atomic mode setting concurrently with multiple planes and screen "
"resolution.");
igt_subtest_with_dynamic_f("pipe-%s", kmstest_pipe_name(pipe)) {
- for_each_valid_output_on_pipe(&data->display, pipe, output)
+ for_each_valid_output_on_pipe(&data->display, pipe, output) {
+ igt_display_reset(&data->display);
+
+ igt_output_set_pipe(output, pipe);
+ if (!i915_pipe_output_combo_valid(&data->display))
+ continue;
+
+ igt_output_set_pipe(output, PIPE_NONE);
igt_dynamic_f("%s", igt_output_name(output))
run_test(data, pipe, output);
+ }
}
}

--
2.39.1