summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMichel Daenzer <michel@daenzer.net>2002-06-18 22:40:26 +0000
committerMichel Daenzer <michel@daenzer.net>2002-06-18 22:40:26 +0000
commit063d0a30c2a9899ae52d50ad5d37d6171e37e3f8 (patch)
tree23486f5a816719f72e227d378f20d4eec4e16592 /linux
parent1cb07189420a529a43ad390731f8365a0805a9bd (diff)
endianness fixes
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 { \