[igt-dev] [i-g-t 19/51] tests/kms_lease: Add support for Bigjoiner
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Sun Aug 14 18:08:36 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_lease.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/kms_lease.c b/tests/kms_lease.c
index 0bf102a6..512d2fc3 100644
--- a/tests/kms_lease.c
+++ b/tests/kms_lease.c
@@ -823,6 +823,12 @@ static void run_test(data_t *data, void (*testfunc)(data_t *))
kmstest_pipe_name(p),
igt_output_name(output));
+ igt_display_reset(display);
+
+ igt_output_set_pipe(output, p);
+ if (!igt_test_constraint(display))
+ continue;
+
data->pipe = p;
data->crtc_id = pipe_to_crtc_id(display, p);
data->connector_id = output->id;
--
2.35.1
More information about the igt-dev
mailing list