[i-g-t v2 26/51] tests/kms_plane_multiple: Add support for Bigjoiner
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Fri Aug 12 05:20:00 UTC 2022
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
tests/kms_plane_multiple.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/tests/kms_plane_multiple.c b/tests/kms_plane_multiple.c
index 1679f7ce..f8584a95 100644
--- a/tests/kms_plane_multiple.c
+++ b/tests/kms_plane_multiple.c
@@ -366,12 +366,18 @@ static void
test_plane_position(data_t *data, enum pipe pipe, uint64_t modifier)
{
igt_output_t *output;
+ igt_display_t *display = &data->display;
int n_planes = opt.all_planes ?
data->display.pipes[pipe].n_planes : DEFAULT_N_PLANES;
- output = igt_get_single_output_for_pipe(&data->display, pipe);
+ output = igt_get_single_output_for_pipe(display, pipe);
igt_require(output);
+ igt_display_reset(display);
+
+ igt_output_set_pipe(output, pipe);
+ igt_require(igt_test_constraint(display));
+
if (!opt.user_seed)
opt.seed = time(NULL);
--
2.35.1
More information about the Intel-gfx-trybot
mailing list