summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/drm_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_irq.c b/linux-core/drm_irq.c
index 01e970f9..5d8d71be 100644
--- a/linux-core/drm_irq.c
+++ b/linux-core/drm_irq.c
@@ -554,7 +554,7 @@ int drm_wait_vblank(DRM_IOCTL_ARGS)
return ret;
DRM_WAIT_ON(ret, dev->vbl_queue[crtc], 3 * DRM_HZ,
(((cur_vblank = drm_vblank_count(dev, crtc))
- - seq) <= (1 << 23)));
+ - vblwait.request.sequence) <= (1 << 23)));
drm_vblank_put(dev, crtc);
do_gettimeofday(&now);
vblwait.reply.tval_sec = now.tv_sec;