lib: Don't wait for a vblank when enabling the CRCs

This was a previous attempt to solve the first CRC being bogus. We know
wait for it and discard it at the end of the function.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Damien Lespiau 2013-10-18 14:29:20 +01:00
parent 5e3047ce52
commit 768e32a3ab

View File

@ -224,8 +224,6 @@ bool igt_pipe_crc_start(igt_pipe_crc_t *pipe_crc)
char buf[64];
igt_crc_t *crcs = NULL;
igt_wait_for_vblank(pipe_crc->drm_fd, pipe_crc->pipe);
sprintf(buf, "pipe %c %s", pipe_name(pipe_crc->pipe),
pipe_crc_source_name(pipe_crc->source));
errno = 0;