[i-g-t 02/51] tests/kms_async_flips: Add support for Bigjoiner
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Thu Aug 11 16:42:06 UTC 2022
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
tests/kms_async_flips.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/tests/kms_async_flips.c b/tests/kms_async_flips.c
index 695aea74..549ff5f1 100644
--- a/tests/kms_async_flips.c
+++ b/tests/kms_async_flips.c
@@ -542,9 +542,18 @@ static void run_test(data_t *data, void (*test)(data_t *))
{
igt_output_t *output;
enum pipe pipe;
+ igt_display_t *display = &data->display;
+
+ igt_display_reset(display);
+
+ for_each_pipe(display, pipe) {
+ for_each_valid_output_on_pipe(display, pipe, output) {
+ igt_output_set_pipe(output, pipe);
+ if (!igt_test_constraint(display)) {
+ igt_output_set_pipe(output, PIPE_NONE);
+ continue;
+ }
- for_each_pipe(&data->display, pipe) {
- for_each_valid_output_on_pipe(&data->display, pipe, output) {
igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), output->name) {
data->output = output;
data->pipe = pipe;
--
2.35.1
More information about the Intel-gfx-trybot
mailing list