summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/cikd.h
diff options
context:
space:
mode:
authorLeo Liu <leo.liu@amd.com>2015-02-18 13:19:26 +0100
committerAlex Deucher <alexander.deucher@amd.com>2015-02-25 22:06:07 +0100
commitdc12a3ec712de225da48b35bd602e60397f25f2d (patch)
treef2d315fa8121f495c40db77d3a707d65438e9d15 /drivers/gpu/drm/radeon/cikd.h
parentdrm/radeon: dump full IB if we hit a packet error (diff)
downloadlinux-dc12a3ec712de225da48b35bd602e60397f25f2d.tar.xz
linux-dc12a3ec712de225da48b35bd602e60397f25f2d.zip
drm/radeon: enable SRBM timeout interrupt on CIK v2
v2: disable it on suspend Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/cikd.h')
-rw-r--r--drivers/gpu/drm/radeon/cikd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/cikd.h b/drivers/gpu/drm/radeon/cikd.h
index 03003f8a6de6..c648e1996dab 100644
--- a/drivers/gpu/drm/radeon/cikd.h
+++ b/drivers/gpu/drm/radeon/cikd.h
@@ -482,6 +482,10 @@
#define SOFT_RESET_ORB (1 << 23)
#define SOFT_RESET_VCE (1 << 24)
+#define SRBM_READ_ERROR 0xE98
+#define SRBM_INT_CNTL 0xEA0
+#define SRBM_INT_ACK 0xEA8
+
#define VM_L2_CNTL 0x1400
#define ENABLE_L2_CACHE (1 << 0)
#define ENABLE_L2_FRAGMENT_PROCESSING (1 << 1)