summaryrefslogtreecommitdiff
path: root/tests/kms_rotation_crc.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-07-08 19:27:39 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2014-07-11 15:12:22 +0100
commit1bcac4dcb35c7035ecc11ed0ce8d195f4d977dfc (patch)
tree548431b7c9bfb2d46f5dfa431726fa9beb9e5194 /tests/kms_rotation_crc.c
parentc4564e0a51dcbe6489dd02853908a8f4cdb6055a (diff)
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 <damien.lespiau@intel.com>
Diffstat (limited to 'tests/kms_rotation_crc.c')
-rw-r--r--tests/kms_rotation_crc.c1
1 files changed, 0 insertions, 1 deletions
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);