Author: rnoland
Date: Tue Jun 23 17:50:35 2009
New Revision: 194745
URL: http://svn.freebsd.org/changeset/base/194745

Log:
  vblank[crtc].last represents the hardware counter while request.sequence
  represents the software counter.  Don't currupt things here.
  
  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:44:55 2009        (r194744)
+++ head/sys/dev/drm/drm_irq.c  Tue Jun 23 17:50:35 2009        (r194745)
@@ -463,7 +463,6 @@ int drm_wait_vblank(struct drm_device *d
        } else {
                DRM_DEBUG("waiting on vblank count %d, crtc %d\n",
                    vblwait->request.sequence, crtc);
-               dev->vblank[crtc].last = vblwait->request.sequence;
                for ( ret = 0 ; !ret && !(((drm_vblank_count(dev, crtc) -
                    vblwait->request.sequence) <= (1 << 23)) ||
                    !dev->irq_enabled) ; ) {
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to