From 462a6ea4caadae0c68f6fe3e0343950ced2095cb Mon Sep 17 00:00:00 2001
From: Oliver McFadden <z3ro.geek@gmail.com>
Date: Tue, 13 Mar 2007 01:19:56 +0000
Subject: Corrected values written to R300_RB3D_DSTCACHE_CTLSTAT to either
 R300_RB3D_DSTCACHE_02 or R300_RB3D_DSTCACHE_0A, rather than hexadecimal
 values.

---
 shared-core/r300_cmdbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'shared-core')

diff --git a/shared-core/r300_cmdbuf.c b/shared-core/r300_cmdbuf.c
index aa8b80e5..e62cbda5 100644
--- a/shared-core/r300_cmdbuf.c
+++ b/shared-core/r300_cmdbuf.c
@@ -692,7 +692,7 @@ static __inline__ void r300_pacify(drm_radeon_private_t *dev_priv)
 
 	BEGIN_RING(6);
 	OUT_RING(CP_PACKET0(R300_RB3D_DSTCACHE_CTLSTAT, 0));
-	OUT_RING(0xa);
+	OUT_RING(R300_RB3D_DSTCACHE_0A);
 	OUT_RING(CP_PACKET0(R300_RB3D_ZCACHE_CTLSTAT, 0));
 	OUT_RING(0x3);
 	OUT_RING(CP_PACKET3(RADEON_CP_NOP, 0));
-- 
cgit v1.2.3