diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-11 11:34:45 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-12-18 02:35:21 +0100 |
commit | 85b2331b3437a55c21cce3ee1ea0bd12301ecb56 (patch) | |
tree | fee7d39e57c75d8c137c0c713c7196de3b747adb /drivers/gpu/drm/r128 | |
parent | drm: Kill DRM_COPY_(TO|FROM)_USER (diff) | |
download | linux-85b2331b3437a55c21cce3ee1ea0bd12301ecb56.tar.xz linux-85b2331b3437a55c21cce3ee1ea0bd12301ecb56.zip |
drm: Kill DRM_*MEMORYBARRIER
The real linux interfaces are soooo much easier on the eyes ...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/r128')
-rw-r--r-- | drivers/gpu/drm/r128/r128_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/r128/r128_drv.h b/drivers/gpu/drm/r128/r128_drv.h index 4318bfa845cb..5bf3f5ff805d 100644 --- a/drivers/gpu/drm/r128/r128_drv.h +++ b/drivers/gpu/drm/r128/r128_drv.h @@ -514,7 +514,7 @@ do { \ if (R128_VERBOSE) \ DRM_INFO("COMMIT_RING() tail=0x%06x\n", \ dev_priv->ring.tail); \ - DRM_MEMORYBARRIER(); \ + mb(); \ R128_WRITE(R128_PM4_BUFFER_DL_WPTR, dev_priv->ring.tail); \ R128_READ(R128_PM4_BUFFER_DL_WPTR); \ } while (0) |