Given that vblanks generally occur 60 times a second, waiting 3 seconds

seems rather excessive.

MFC after:	3 days
This commit is contained in:
Robert Noland 2009-06-23 17:52:41 +00:00
parent 3a5185e13a
commit a2d33c4900

View file

@ -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);
}