summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r600_reg.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-12-12 20:30:32 +0100
committerAlex Deucher <alexander.deucher@amd.com>2012-12-12 20:34:08 +0100
commit6253e4c75d96006c06b9ac8f417eba873de2497b (patch)
treecf582d44c381f4732364d9947ebc6f05d61cc963 /drivers/gpu/drm/radeon/r600_reg.h
parentdrm/radeon: fix amd afusion gpu setup aka sumo v2 (diff)
downloadlinux-6253e4c75d96006c06b9ac8f417eba873de2497b.tar.xz
linux-6253e4c75d96006c06b9ac8f417eba873de2497b.zip
drm/radeon: improve mc_stop/mc_resume on r5xx-r7xx
Along the same lines of what was done for evergreen+ in the last kernel. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_reg.h')
-rw-r--r--drivers/gpu/drm/radeon/r600_reg.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600_reg.h b/drivers/gpu/drm/radeon/r600_reg.h
index 2b960cb5c18a..909219b1bf80 100644
--- a/drivers/gpu/drm/radeon/r600_reg.h
+++ b/drivers/gpu/drm/radeon/r600_reg.h
@@ -96,6 +96,15 @@
#define R600_CONFIG_F0_BASE 0x542C
#define R600_CONFIG_APER_SIZE 0x5430
+#define R600_BIF_FB_EN 0x5490
+#define R600_FB_READ_EN (1 << 0)
+#define R600_FB_WRITE_EN (1 << 1)
+
+#define R600_CITF_CNTL 0x200c
+#define R600_BLACKOUT_MASK 0x00000003
+
+#define R700_MC_CITF_CNTL 0x25c0
+
#define R600_ROM_CNTL 0x1600
# define R600_SCK_OVERWRITE (1 << 1)
# define R600_SCK_PRESCALE_CRYSTAL_CLK_SHIFT 28