svn commit: r194746 - head/sys/dev/drm

Robert Noland rnoland at FreeBSD.org
Tue Jun 23 17:52:41 UTC 2009


Author: rnoland
Date: Tue Jun 23 17:52:41 2009
New Revision: 194746
URL: http://svn.freebsd.org/changeset/base/194746

Log:
  Given that vblanks generally occur 60 times a second, waiting 3 seconds
  seems rather excessive.
  
  MFC after:	3 days

Modified:
  head/sys/dev/drm/drm_irq.c

Modified: head/sys/dev/drm/drm_irq.c
==============================================================================
--- head/sys/dev/drm/drm_irq.c	Tue Jun 23 17:50:35 2009	(r194745)
+++ head/sys/dev/drm/drm_irq.c	Tue Jun 23 17:52:41 2009	(r194746)
@@ -472,7 +472,7 @@ int drm_wait_vblank(struct drm_device *d
 			    !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);
 		}
 


More information about the svn-src-head mailing list