summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd/cik_int.h
diff options
context:
space:
mode:
authorBesar Wicaksono <besar.wicaksono@amd.com>2017-10-28 02:35:18 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2017-10-28 02:35:18 +0300
commit66b783b4465de05ce6b370b1ae97e95b0fc14a34 (patch)
tree30d638f49a44adc9ad50a92bf7c4c788426c9a24 /drivers/gpu/drm/amd/amdkfd/cik_int.h
parent7a88cbd8d65d622c00bd76ba4ae1d893b292c91c (diff)
downloadlinux-66b783b4465de05ce6b370b1ae97e95b0fc14a34.tar.xz
drm/amdkfd: Add SDMA trap src id to the KFD isr wanted list
This enables SDMA signalling with event interrupt. Signed-off-by: Besar Wicaksono <Besar.Wicaksono@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Oded Gabbay <oded.gabbay@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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/cik_int.h b/drivers/gpu/drm/amd/amdkfd/cik_int.h
index 79a16d24c1b8..109298b9d507 100644
--- a/drivers/gpu/drm/amd/amdkfd/cik_int.h
+++ b/drivers/gpu/drm/amd/amdkfd/cik_int.h
@@ -32,9 +32,10 @@ struct cik_ih_ring_entry {
uint32_t reserved;
};
-#define CIK_INTSRC_DEQUEUE_COMPLETE 0xC6
#define CIK_INTSRC_CP_END_OF_PIPE 0xB5
#define CIK_INTSRC_CP_BAD_OPCODE 0xB7
+#define CIK_INTSRC_DEQUEUE_COMPLETE 0xC6
+#define CIK_INTSRC_SDMA_TRAP 0xE0
#define CIK_INTSRC_SQ_INTERRUPT_MSG 0xEF
#endif