[igt-dev] [PATCH] Revert "tests/kms_concurrent: remove an AMD device check"
Alex Hung
alex.hung at amd.com
Thu Sep 15 19:35:03 UTC 2022
This reverts commit 79ebd88d01d679ffe9f6f24108c6ac4dc3f04ddd.
The interdependent kernel patch is not merged yet so revert
79ebd88d to avoid regressions.
Signed-off-by: Alex Hung <alex.hung at amd.com>
---
tests/kms_concurrent.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/kms_concurrent.c b/tests/kms_concurrent.c
index 3ad51569..6f8ffd4a 100644
--- a/tests/kms_concurrent.c
+++ b/tests/kms_concurrent.c
@@ -276,6 +276,8 @@ test_resolution_with_output(data_t *data, enum pipe pipe, int max_planes, igt_ou
/* switch to lower resolution */
igt_output_override_mode(output, mode_lo);
free(mode_lo);
+ if (is_amdgpu_device(data->drm_fd))
+ igt_output_set_pipe(output, PIPE_NONE);
igt_display_commit2(&data->display, COMMIT_ATOMIC);
/* switch back to higher resolution */
--
2.37.3
More information about the igt-dev
mailing list