summaryrefslogtreecommitdiff
path: root/src/radeon_reg.h
diff options
context:
space:
mode:
authorAlex Deucher <alex@samba.(none)>2008-02-26 13:16:22 -0500
committerAlex Deucher <alex@samba.(none)>2008-02-26 13:16:22 -0500
commit4207793f9b6c891cb17ba715223d2002668885e3 (patch)
treeb43ee56ab688f55fbe0c1071a60ac4ea45f5806c /src/radeon_reg.h
parent823d8bf49e4c0a8c839354179942c5a1944c178d (diff)
R300/R500: set the number graphics pipes properly
This should fix the checkerboard issues on r300/r350 cards.
Diffstat (limited to 'src/radeon_reg.h')
-rw-r--r--src/radeon_reg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/radeon_reg.h b/src/radeon_reg.h
index b8a63d7e..78b6eede 100644
--- a/src/radeon_reg.h
+++ b/src/radeon_reg.h
@@ -3819,7 +3819,11 @@
#define R600_BIOS_7_SCRATCH 0x1740
#define R300_GB_TILE_CONFIG 0x4018
-# define R300_ENABLE_TILING (1 << 1)
+# define R300_ENABLE_TILING (1 << 0)
+# define R300_PIPE_COUNT_RV350 (0 << 1)
+# define R300_PIPE_COUNT_R300 (3 << 1)
+# define R300_PIPE_COUNT_R420_3P (6 << 1)
+# define R300_PIPE_COUNT_R420 (7 << 1)
# define R300_TILE_SIZE_8 (0 << 4)
# define R300_TILE_SIZE_16 (1 << 4)
# define R300_TILE_SIZE_32 (2 << 4)