aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r600d.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-03-20 17:18:39 -0400
committerDave Airlie <airlied@redhat.com>2012-03-21 06:55:57 +0000
commitc420c7454f9c13d2dc706516d13fb9329ccacd05 (patch)
tree7c39ee95586f2a436d81ef1d86a10fef9dfad852 /drivers/gpu/drm/radeon/r600d.h
parentdrm/radeon/kms/vm: set vram base offset properly for TN (diff)
downloadlinux-dev-c420c7454f9c13d2dc706516d13fb9329ccacd05.tar.xz
linux-dev-c420c7454f9c13d2dc706516d13fb9329ccacd05.zip
drm/radeon/kms: add support for ucode loading on trinity (v2)
v2: fix check for MC ucode from Tom. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600d.h')
-rw-r--r--drivers/gpu/drm/radeon/r600d.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600d.h b/drivers/gpu/drm/radeon/r600d.h
index 8ae328ff5fdd..3568a2e345fa 100644
--- a/drivers/gpu/drm/radeon/r600d.h
+++ b/drivers/gpu/drm/radeon/r600d.h
@@ -593,6 +593,10 @@
#define RLC_UCODE_ADDR 0x3f2c
#define RLC_UCODE_DATA 0x3f30
+/* new for TN */
+#define TN_RLC_SAVE_AND_RESTORE_BASE 0x3f10
+#define TN_RLC_CLEAR_STATE_RESTORE_BASE 0x3f20
+
#define SRBM_SOFT_RESET 0xe60
# define SOFT_RESET_RLC (1 << 13)