diff options
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/mga_irq.c | 2 | ||||
-rw-r--r-- | shared-core/r128_irq.c | 2 | ||||
-rw-r--r-- | shared-core/radeon_irq.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/shared-core/mga_irq.c b/shared-core/mga_irq.c index 66236053..28e9a262 100644 --- a/shared-core/mga_irq.c +++ b/shared-core/mga_irq.c @@ -65,7 +65,7 @@ int mga_vblank_wait(drm_device_t *dev, unsigned int *sequence) */ DRM_WAIT_ON( ret, dev->vbl_queue, 3*DRM_HZ, ( ( ( cur_vblank = atomic_read(&dev->vbl_received ) ) - + ~*sequence + 1 ) <= (1<<23) ) ); + - *sequence ) <= (1<<23) ) ); *sequence = cur_vblank; diff --git a/shared-core/r128_irq.c b/shared-core/r128_irq.c index 8dfee07e..bfc30405 100644 --- a/shared-core/r128_irq.c +++ b/shared-core/r128_irq.c @@ -65,7 +65,7 @@ int DRM(vblank_wait)(drm_device_t *dev, unsigned int *sequence) */ DRM_WAIT_ON( ret, dev->vbl_queue, 3*DRM_HZ, ( ( ( cur_vblank = atomic_read(&dev->vbl_received ) ) - + ~*sequence + 1 ) <= (1<<23) ) ); + - *sequence ) <= (1<<23) ) ); *sequence = cur_vblank; diff --git a/shared-core/radeon_irq.c b/shared-core/radeon_irq.c index e2182ff7..c5cd61c5 100644 --- a/shared-core/radeon_irq.c +++ b/shared-core/radeon_irq.c @@ -159,7 +159,7 @@ int DRM(vblank_wait)(drm_device_t *dev, unsigned int *sequence) */ DRM_WAIT_ON( ret, dev->vbl_queue, 3*DRM_HZ, ( ( ( cur_vblank = atomic_read(&dev->vbl_received ) ) - + ~*sequence + 1 ) <= (1<<23) ) ); + - *sequence ) <= (1<<23) ) ); *sequence = cur_vblank; |