diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-06-23 17:50:35 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-06-23 17:50:35 +0000 |
commit | aaadc6c547b28578896149a2344b4faee426cc47 (patch) | |
tree | 9347f3c5e300259c3dd6beaea58379554de0ff35 /sys/dev/drm | |
parent | 260369c16622c74e132521461e953ff88f1a95b6 (diff) | |
download | FreeBSD-src-aaadc6c547b28578896149a2344b4faee426cc47.zip FreeBSD-src-aaadc6c547b28578896149a2344b4faee426cc47.tar.gz |
vblank[crtc].last represents the hardware counter while request.sequence
represents the software counter. Don't currupt things here.
MFC after: 3 days
Diffstat (limited to 'sys/dev/drm')
-rw-r--r-- | sys/dev/drm/drm_irq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/drm/drm_irq.c b/sys/dev/drm/drm_irq.c index a13192c..8bc3192 100644 --- a/sys/dev/drm/drm_irq.c +++ b/sys/dev/drm/drm_irq.c @@ -463,7 +463,6 @@ int drm_wait_vblank(struct drm_device *dev, void *data, struct drm_file *file_pr } 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) ; ) { |