summaryrefslogtreecommitdiff
path: root/lib/igt_debugfs.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-10-18 14:29:20 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2013-10-18 14:30:53 +0100
commit768e32a3ab5e45cc52558fb544d392729e02f1ae (patch)
tree874286066210177d2ad401ab0cb8c2170f65bf3d /lib/igt_debugfs.c
parent5e3047ce522ed57dd6d06bd7512d792bcf601855 (diff)
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>
Diffstat (limited to 'lib/igt_debugfs.c')
-rw-r--r--lib/igt_debugfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c
index f903454b..ca34c1e9 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;