diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-06-22 11:45:23 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-06-22 11:45:23 +0200 |
commit | d2d53024fb4003a6b86a3ea1ea33c76ac20bebc9 (patch) | |
tree | d7cc320591b9531d46d455fbf3656bc0bd367744 | |
parent | 2738bca6f52e236a2d9a0e456a78b10442ededdd (diff) |
Fix vblank wait condition.
Sync-to-vblank actually works again for me with radeon.
-rw-r--r-- | linux-core/drm_irq.c | 2 |
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; |