Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/vblank: Use memory barriers optimized for atomic_t instead of gen…
…erics. Documentation/atomic_ops.txt tells us that there are memory barriers optimized for atomic_inc and other atomic_t ops. Use these instead of smp_wmb(), and also to make the required memory barriers around vblank counter increments more explicit. Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
- Loading branch information