summaryrefslogtreecommitdiff
path: root/src/radeon_reg.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-07-23 13:28:36 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-07-23 13:28:36 -0400
commit328e4c816348b6f867df30b39856dbe78c8e0dcc (patch)
treedcc0def6ce13174f0af563272ca28f3b9b1a4b66 /src/radeon_reg.h
parentf96d5b255425fbd02be2cad26edb590d474a5640 (diff)
RS780: fill in MC access functions
Also, r6xx/r7xx don't have indirect MC space, so don't try to access it.
Diffstat (limited to 'src/radeon_reg.h')
-rw-r--r--src/radeon_reg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon_reg.h b/src/radeon_reg.h
index 1db7c673..9df7fffd 100644
--- a/src/radeon_reg.h
+++ b/src/radeon_reg.h
@@ -3549,6 +3549,11 @@
# define R520_MEM_NUM_CHANNELS_SHIFT 24
# define R520_MC_CHANNEL_SIZE (1 << 23)
+#define RS780_MC_INDEX 0x28f8
+# define RS780_MC_INDEX_MASK 0x1ff
+# define RS780_MC_INDEX_WR_EN (1 << 9)
+#define RS780_MC_DATA 0x28fc
+
#define R600_RAMCFG 0x2408
# define R600_CHANSIZE (1 << 7)
# define R600_CHANSIZE_OVERRIDE (1 << 10)