From 063d0a30c2a9899ae52d50ad5d37d6171e37e3f8 Mon Sep 17 00:00:00 2001
From: Michel Daenzer <michel@daenzer.net>
Date: Tue, 18 Jun 2002 22:40:26 +0000
Subject: endianness fixes

---
 linux/radeon_drv.h | 5 +++--
 1 file 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 {						\
-- 
cgit v1.2.3