summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/cikd.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-09-06 20:24:48 +0200
committerAlex Deucher <alexander.deucher@amd.com>2013-06-25 23:50:32 +0200
commit9d97c99b1846c26102ddd1fac515b5783ce11253 (patch)
treec9c03e5106494df8465ac35a128e60c3ee456ed2 /drivers/gpu/drm/radeon/cikd.h
parentdrm/radeon: add support for interrupts on CIK (v5) (diff)
downloadlinux-9d97c99b1846c26102ddd1fac515b5783ce11253.tar.xz
linux-9d97c99b1846c26102ddd1fac515b5783ce11253.zip
drm/radeon/cik: log and handle VM page fault interrupts
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 a282168eadd0..cc4f28ec518e 100644
--- a/drivers/gpu/drm/radeon/cikd.h
+++ b/drivers/gpu/drm/radeon/cikd.h
@@ -95,6 +95,10 @@
#define VM_INVALIDATE_REQUEST 0x1478
#define VM_INVALIDATE_RESPONSE 0x147c
+#define VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x14DC
+
+#define VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x14FC
+
#define VM_CONTEXT0_PROTECTION_FAULT_DEFAULT_ADDR 0x1518
#define VM_CONTEXT1_PROTECTION_FAULT_DEFAULT_ADDR 0x151c