[i-g-t 32/51] tests/kms_scaling_modes: Add support for Bigjoiner
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Wed Aug 17 10:54:50 UTC 2022
This patch will add a check to Skip the subtest if a selected pipe/output
combo won't support Bigjoiner or 8K mode.
Example:
* Pipe-D wont support a mode > 5K
* To use 8K mode on a pipe then consecutive pipe must be available & free.
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
tests/kms_scaling_modes.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/tests/kms_scaling_modes.c b/tests/kms_scaling_modes.c
index 8e80189a..a0b268ae 100644
--- a/tests/kms_scaling_modes.c
+++ b/tests/kms_scaling_modes.c
@@ -93,13 +93,17 @@ static void test_scaling_mode(data_t *data, uint32_t flags)
enum pipe pipe;
for_each_pipe_with_valid_output(display, pipe, output) {
+ igt_display_reset(display);
+
if (!has_scaling_mode(output))
continue;
+ igt_output_set_pipe(output, pipe);
+ if (!igt_test_constraint(display))
+ continue;
+
igt_dynamic_f("%s-pipe-%s", output->name, kmstest_pipe_name(pipe))
test_scaling_mode_on_output(display, pipe, output, flags);
-
- igt_display_reset(display);
}
}
--
2.35.1
More information about the Intel-gfx-trybot
mailing list