From 768e32a3ab5e45cc52558fb544d392729e02f1ae Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Fri, 18 Oct 2013 14:29:20 +0100 Subject: [PATCH] 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 --- lib/igt_debugfs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c index f903454..ca34c1e 100644 --- a/lib/igt_debugfs.c +++ b/lib/igt_debugfs.c @@ -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; -- 2.7.4