diff options
Diffstat (limited to 'lib/igt_debugfs.c')
-rw-r--r-- | lib/igt_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c index b0e5cfa5..d9e9ff7b 100644 --- a/lib/igt_debugfs.c +++ b/lib/igt_debugfs.c @@ -971,7 +971,7 @@ igt_pipe_crc_get_current(int drm_fd, igt_pipe_crc_t *pipe_crc, igt_crc_t *crc) igt_pipe_crc_get_single(pipe_crc, crc); return; } - } while (crc->frame <= vblank); + } while (igt_vblank_before_eq(crc->frame, vblank)); crc_sanity_checks(crc); } |