summaryrefslogtreecommitdiff
path: root/bsd-core/drm_dma.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2003-02-05 01:48:29 +0000
committerIan Romanick <idr@us.ibm.com>2003-02-05 01:48:29 +0000
commit3bf1f686a5d81a54c7e569a1fc1a5226b07898b6 (patch)
tree4c0073db241e250e23bb29662ffad6a04f7f9ba9 /bsd-core/drm_dma.c
parent2236fc781b306ebbf8afa10da0b92f40dfdc64b4 (diff)
Diffstat (limited to 'bsd-core/drm_dma.c')
-rw-r--r--bsd-core/drm_dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-core/drm_dma.c b/bsd-core/drm_dma.c
index 69c66c9a..0f0dd4fd 100644
--- a/bsd-core/drm_dma.c
+++ b/bsd-core/drm_dma.c
@@ -619,6 +619,7 @@ int DRM(wait_vblank)( DRM_IOCTL_ARGS )
if (vblwait.request.type & _DRM_VBLANK_RELATIVE) {
vblwait.request.sequence += atomic_read(&dev->vbl_received);
+ vblwait.request.type &= ~_DRM_VBLANK_RELATIVE;
}
flags = vblwait.request.type & _DRM_VBLANK_FLAGS_MASK;