summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_dma.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-11 11:34:45 +0100
committerDave Airlie <airlied@redhat.com>2013-12-18 11:35:21 +1000
commit85b2331b3437a55c21cce3ee1ea0bd12301ecb56 (patch)
treefee7d39e57c75d8c137c0c713c7196de3b747adb /drivers/gpu/drm/nouveau/nouveau_dma.h
parent1d6ac185c32134233f77ce44800ceb4ab9361401 (diff)
downloadlinux-85b2331b3437a55c21cce3ee1ea0bd12301ecb56.tar.gz
linux-85b2331b3437a55c21cce3ee1ea0bd12301ecb56.tar.bz2
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/nouveau/nouveau_dma.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_dma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_dma.h b/drivers/gpu/drm/nouveau/nouveau_dma.h
index 984004d66a6d..dc0e0c5cadb4 100644
--- a/drivers/gpu/drm/nouveau/nouveau_dma.h
+++ b/drivers/gpu/drm/nouveau/nouveau_dma.h
@@ -155,7 +155,7 @@ BEGIN_IMC0(struct nouveau_channel *chan, int subc, int mthd, u16 data)
}
#define WRITE_PUT(val) do { \
- DRM_MEMORYBARRIER(); \
+ mb(); \
nouveau_bo_rd32(chan->push.buffer, 0); \
nv_wo32(chan->object, chan->user_put, ((val) << 2) + chan->push.vma.offset); \
} while (0)