summaryrefslogtreecommitdiff
path: root/src/radeon_reg.h
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2008-06-11 14:29:36 -0400
committerAlex Deucher <alex@botch2.com>2008-06-11 14:29:36 -0400
commitada41723fdc8cbeeda12bb4ae2d16e8d1ba215de (patch)
tree3136e202049a7aaeefdd5c89a346b8712180c2ef /src/radeon_reg.h
parent3d70c398afa0831387af81559453b77c218a54f9 (diff)
R3xx: use DSTCACHE_CTLSTAT rather than RB2D_DSTCACHE_CTLSTAT
According to the hw guys, you should use DSTCACHE_CTLSTAT to flush the 2D dst cache rather than RB2D_DSTCACHE_CTLSTAT.
Diffstat (limited to 'src/radeon_reg.h')
-rw-r--r--src/radeon_reg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/radeon_reg.h b/src/radeon_reg.h
index a9f29067..52795b16 100644
--- a/src/radeon_reg.h
+++ b/src/radeon_reg.h
@@ -4686,9 +4686,11 @@
#define R300_DST_PIPE_CONFIG 0x170c
# define R300_PIPE_AUTO_CONFIG (1 << 31)
#define R300_RB2D_DSTCACHE_MODE 0x3428
+#define R300_RB2D_DSTCACHE_MODE 0x3428
# define R300_DC_AUTOFLUSH_ENABLE (1 << 8)
# define R300_DC_DC_DISABLE_IGNORE_PE (1 << 17)
-#define R300_RB2D_DSTCACHE_CTLSTAT 0x342c
+#define R300_RB2D_DSTCACHE_CTLSTAT 0x342c /* use DSTCACHE_CTLSTAT instead */
+#define R300_DSTCACHE_CTLSTAT 0x1714
# define R300_DC_FLUSH_2D (1 << 0)
# define R300_DC_FREE_2D (1 << 2)
# define R300_RB2D_DC_FLUSH_ALL (R300_DC_FLUSH_2D | R300_DC_FREE_2D)