summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/cik_int.h
diff options
context:
space:
mode:
authorAlexey Skidanov <alexey.skidanov@gmail.com>2014-11-25 10:34:31 +0200
committerOded Gabbay <oded.gabbay@gmail.com>2015-05-19 13:02:28 +0300
commit930c5ff4390221cccf368b305c04351fbcf0dfcf (patch)
treef0fb0a82c91897d0088b2653deba3a557c798ea1 /drivers/gpu/drm/amd/amdkfd/cik_int.h
parent59d3e8be87a14c6a0d91c683e63d9b31734525ae (diff)
downloadlinux-930c5ff4390221cccf368b305c04351fbcf0dfcf.tar.bz2
drm/amdkfd: Add bad opcode exception handling
Signed-off-by: Alexey Skidanov <alexey.skidanov@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/cik_int.h')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/cik_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/cik_int.h b/drivers/gpu/drm/amd/amdkfd/cik_int.h
index bbef9e23ab19..79a16d24c1b8 100644
--- a/drivers/gpu/drm/amd/amdkfd/cik_int.h
+++ b/drivers/gpu/drm/amd/amdkfd/cik_int.h
@@ -34,6 +34,7 @@ struct cik_ih_ring_entry {
#define CIK_INTSRC_DEQUEUE_COMPLETE 0xC6
#define CIK_INTSRC_CP_END_OF_PIPE 0xB5
+#define CIK_INTSRC_CP_BAD_OPCODE 0xB7
#define CIK_INTSRC_SQ_INTERRUPT_MSG 0xEF
#endif