[igt-dev] [i-g-t] tests/kms_color: Avoid usage of same pipe on multiple outputs
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Wed Jul 13 13:15:21 UTC 2022
Sanitize the system state before starting the subtest.
Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/6198
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
tests/kms_color.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/kms_color.c b/tests/kms_color.c
index 6ea721f1..85562134 100644
--- a/tests/kms_color.c
+++ b/tests/kms_color.c
@@ -839,6 +839,7 @@ run_deep_color_tests_for_pipe(data_t *data, enum pipe p)
if (!panel_supports_deep_color(data->drm_fd, output->name))
continue;
+ igt_display_reset(&data->display);
igt_output_set_prop_value(output, IGT_CONNECTOR_MAX_BPC, 10);
igt_output_set_pipe(output, p);
igt_display_commit_atomic(&data->display, DRM_MODE_ATOMIC_ALLOW_MODESET, NULL);
--
2.35.1
More information about the igt-dev
mailing list