diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-06-23 17:52:41 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-06-23 17:52:41 +0000 |
commit | 5e047db7b1c766b59d17fe8b392e503c1246acc3 (patch) | |
tree | c95cccf700df77bf1dd5b6b1b794fb3a833453f4 /sys/dev/drm | |
parent | aaadc6c547b28578896149a2344b4faee426cc47 (diff) | |
download | FreeBSD-src-5e047db7b1c766b59d17fe8b392e503c1246acc3.zip FreeBSD-src-5e047db7b1c766b59d17fe8b392e503c1246acc3.tar.gz |
Given that vblanks generally occur 60 times a second, waiting 3 seconds
seems rather excessive.
MFC after: 3 days
Diffstat (limited to 'sys/dev/drm')
-rw-r--r-- | sys/dev/drm/drm_irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/drm_irq.c b/sys/dev/drm/drm_irq.c index 8bc3192..90e9913 100644 --- a/sys/dev/drm/drm_irq.c +++ b/sys/dev/drm/drm_irq.c @@ -472,7 +472,7 @@ int drm_wait_vblank(struct drm_device *dev, void *data, struct drm_file *file_pr !dev->irq_enabled)) ret = mtx_sleep(&dev->vblank[crtc].queue, &dev->irq_lock, PCATCH, "vblwtq", - 3 * DRM_HZ); + DRM_HZ); mtx_unlock(&dev->irq_lock); } |