summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2022-09-15 13:35:03 -0600
committerRodrigo Siqueira <Rodrigo.Siqueira@amd.com>2022-09-22 14:35:21 -0400
commitdcb1d7a8822e62935f4fe3f2e6a04caaee669369 (patch)
treead302eac1e4c99c465e0ca7a49d579f1e499f43a
parent7596f2d47e574bcf2f272b29b6668a65429fcb6d (diff)
Revert "tests/kms_concurrent: remove an AMD device check"
This reverts commit 79ebd88d01d679ffe9f6f24108c6ac4dc3f04ddd. The interdependent kernel patch is not merged yet so revert 79ebd88d to avoid regressions. Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com>
-rw-r--r--tests/kms_concurrent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/kms_concurrent.c b/tests/kms_concurrent.c
index 3ad515696..6f8ffd4a6 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 */