Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx> --- tests/kms_rotation_crc.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index d196c7c..d318cd2 100644 --- a/tests/kms_rotation_crc.c +++ b/tests/kms_rotation_crc.c @@ -142,9 +142,12 @@ static void test_plane_rotation(data_t *data, enum igt_plane plane_type) enum pipe pipe; int valid_tests = 0; igt_crc_t crc_output; + enum igt_commit_style commit = COMMIT_LEGACY; - if (plane_type == IGT_PLANE_PRIMARY) + if (plane_type == IGT_PLANE_PRIMARY) { igt_require(data->display.has_universal_planes); + commit = COMMIT_UNIVERSAL; + } for_each_connected_output(display, output) { for_each_pipe(display, pipe) { @@ -159,7 +162,7 @@ static void test_plane_rotation(data_t *data, enum igt_plane plane_type) continue; igt_plane_set_rotation(plane, IGT_ROTATION_180); - igt_display_commit2(display, COMMIT_UNIVERSAL); + igt_display_commit2(display, commit); igt_pipe_crc_collect_crc(data->pipe_crc, &crc_output); igt_assert(igt_crc_equal(&data->ref_crc, &crc_output)); -- 1.8.3.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx