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

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

Reviewed-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
tests/kms_lease.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/tests/kms_lease.c b/tests/kms_lease.c
index 6bd5bc157..51d9e2167 100644
--- a/tests/kms_lease.c
+++ b/tests/kms_lease.c
@@ -1216,10 +1216,14 @@ igt_main
igt_describe(f->desc);
igt_subtest_with_dynamic_f("%s", f->name) {
for_each_pipe_with_valid_output(display, data.pipe, output) {
+ igt_display_reset(display);
+
+ igt_output_set_pipe(output, data.pipe);
+ if (!i915_pipe_output_combo_valid(display))
+ continue;
+
igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(data.pipe),
igt_output_name(output)) {
- igt_display_reset(display);
- igt_display_commit(display);
data.crtc_id = display->pipes[data.pipe].crtc_id;
data.connector_id = output->id;
data.plane_id =
--
2.39.1