lib: Don't wait for a vblank when enabling the CRCs
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 18 Oct 2013 13:29:20 +0000 (14:29 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Fri, 18 Oct 2013 13:30:53 +0000 (14:30 +0100)
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>
lib/igt_debugfs.c

index f903454..ca34c1e 100644 (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;