From 1bcac4dcb35c7035ecc11ed0ce8d195f4d977dfc Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Tue, 8 Jul 2014 19:27:39 +0100 Subject: [PATCH] kms_rotation_crc: Don't commit with no fb set up prepare_crtc() was trying to commit a display state without any fb to scan out... Signed-off-by: Damien Lespiau --- tests/kms_rotation_crc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index d318cd2a..5022b990 100644 --- a/tests/kms_rotation_crc.c +++ b/tests/kms_rotation_crc.c @@ -85,7 +85,6 @@ static bool prepare_crtc(data_t *data, igt_output_t *output, enum pipe pipe, int fb_id; igt_output_set_pipe(output, pipe); - igt_display_commit(display); /* create the pipe_crc object for this pipe */ igt_pipe_crc_free(data->pipe_crc);