summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/radeon_drv.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/linux/radeon_drv.h b/linux/radeon_drv.h
index ba9f8de9..31e598b2 100644
--- a/linux/radeon_drv.h
+++ b/linux/radeon_drv.h
@@ -730,8 +730,9 @@ do { \
dev_priv->ring.tail = write; \
} while (0)
-#define COMMIT_RING() do { \
- RADEON_WRITE( RADEON_CP_RB_WPTR, dev_priv->ring.tail ); \
+#define COMMIT_RING() do { \
+ radeon_flush_write_combine(); \
+ RADEON_WRITE( RADEON_CP_RB_WPTR, dev_priv->ring.tail ); \
} while (0)
#define OUT_RING( x ) do { \