[i-g-t 11/51] tests/kms_content_protection: Add support for Bigjoiner
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Thu Aug 11 16:42:15 UTC 2022
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
tests/kms_content_protection.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index 3041f1cd..6d566c53 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -338,6 +338,12 @@ static void test_content_protection_on_output(igt_output_t *output,
if (!igt_pipe_is_free(display, pipe))
continue;
+ igt_output_set_pipe(output, pipe);
+ if (!igt_test_constraint(display)) {
+ igt_output_set_pipe(output, PIPE_NONE);
+ continue;
+ }
+
modeset_with_fb(pipe, output, s);
test_cp_enable_with_retry(output, s, 3, content_type, false,
false);
@@ -610,6 +616,11 @@ test_content_protection_mst(int content_type)
igt_assert_f(igt_pipe_connector_valid(pipe, output), "Output-pipe combination invalid\n");
igt_output_set_pipe(output, pipe);
+ if (!igt_test_constraint(display)){
+ igt_output_set_pipe(output, PIPE_NONE);
+ continue;
+ }
+
prepare_modeset_on_mst_output(output);
mst_output[dp_mst_outputs++] = output;
--
2.35.1
More information about the Intel-gfx-trybot
mailing list