summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_os_linux.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 /include/drm/drm_os_linux.h
parent1d6ac185c32134233f77ce44800ceb4ab9361401 (diff)
downloadblackbird-op-linux-85b2331b3437a55c21cce3ee1ea0bd12301ecb56.tar.gz
blackbird-op-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 'include/drm/drm_os_linux.h')
-rw-r--r--include/drm/drm_os_linux.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/drm/drm_os_linux.h b/include/drm/drm_os_linux.h
index 2953b1d83022..43008938b6b2 100644
--- a/include/drm/drm_os_linux.h
+++ b/include/drm/drm_os_linux.h
@@ -35,19 +35,12 @@ static inline void writeq(u64 val, void __iomem *reg)
#define DRM_WRITE16(map, offset, val) writew(val, ((void __iomem *)(map)->handle) + (offset))
/** Write a dword into a MMIO region */
#define DRM_WRITE32(map, offset, val) writel(val, ((void __iomem *)(map)->handle) + (offset))
-/** Read memory barrier */
/** Read a qword from a MMIO region - be careful using these unless you really understand them */
#define DRM_READ64(map, offset) readq(((void __iomem *)(map)->handle) + (offset))
/** Write a qword into a MMIO region */
#define DRM_WRITE64(map, offset, val) writeq(val, ((void __iomem *)(map)->handle) + (offset))
-#define DRM_READMEMORYBARRIER() rmb()
-/** Write memory barrier */
-#define DRM_WRITEMEMORYBARRIER() wmb()
-/** Read/write memory barrier */
-#define DRM_MEMORYBARRIER() mb()
-
#define DRM_WAIT_ON( ret, queue, timeout, condition ) \
do { \
DECLARE_WAITQUEUE(entry, current); \
OpenPOWER on IntegriCloud