[igt-dev] [i-g-t V3 19/52] tests/kms_lease: Add support for Bigjoiner
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Fri Sep 9 14:02:58 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.
V2: - Use updated helper name
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..dfdb1e39 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 (!i915_pipe_output_combo_valid(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