[igt-dev] [i-g-t v5 10/52] tests/kms_concurrent: Add support for Bigjoiner

Gupta, Nidhi1 nidhi1.gupta at intel.com
Thu Dec 29 03:26:43 UTC 2022


On Tue, 2022-11-15 at 08:43 +0530, Bhanuprakash Modem wrote:
>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.
>
>V2: - Use updated helper name
>
>Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
>---
Reviewed-by: Nidhi Gupta <nidhi1.gupta at 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 6f8ffd4a..e6d61a84 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);
>+                          }
>             }
>}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20221229/983b713e/attachment-0001.htm>


More information about the igt-dev mailing list