[igt-dev] [i-g-t v7 09/51] tests/chamelium/kms_color_chamelium: Add support for Bigjoiner

Bhanuprakash Modem
2023-01-04T17:08:02Z

Reviewed-by: Kunal Joshi <kunal1.joshi@intel.com>
---
tests/chamelium/kms_color_chamelium.c | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/tests/chamelium/kms_color_chamelium.c b/tests/chamelium/kms_color_chamelium.c
index 907f4dd5..b7c84ae4 100644
--- a/tests/chamelium/kms_color_chamelium.c
+++ b/tests/chamelium/kms_color_chamelium.c
@@ -458,6 +458,9 @@ run_gamma_degamma_tests_for_pipe(data_t *data, enum pipe p,
data->drm_format = DRM_FORMAT_XRGB8888;
data->mode = igt_output_get_mode(data->output);

+ if (!pipe_output_combo_valid(data, p))
+ return;
+
igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(p), data->output->name)
igt_assert(test_t(data, data->primary, data->ports[port_idx]));
}
@@ -493,6 +496,9 @@ run_ctm_tests_for_pipe(data_t *data, enum pipe p,
data->drm_format = DRM_FORMAT_XRGB8888;
data->mode = igt_output_get_mode(data->output);

+ if (!pipe_output_combo_valid(data, p))
+ return;
+
igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(p), data->output->name) {
bool success = false;
int i;
@@ -538,6 +544,9 @@ run_limited_range_ctm_test_for_pipe(data_t *data, enum pipe p,
data->drm_format = DRM_FORMAT_XRGB8888;
data->mode = igt_output_get_mode(data->output);

+ if (!pipe_output_combo_valid(data, p))
+ return;
+
igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(p), data->output->name)
igt_assert(test_t(data, data->primary, data->ports[port_idx]));
}
--
2.39.0