Skip to content

Commit f066af8

Browse files
Jude Shihalexdeucher
authored andcommitted
drm/amdgpu: add DMUB outbox event IRQ source define/complete/debug flag
[Why & How] We use outbox interrupt that allows us to do the AUX via DMUB Therefore, we need to add some irq source related definition in the header files; Signed-off-by: Jude Shih <shenshih@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 3495d3c commit f066af8

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -922,6 +922,7 @@ struct amdgpu_device {
922922
struct amdgpu_irq_src pageflip_irq;
923923
struct amdgpu_irq_src hpd_irq;
924924
struct amdgpu_irq_src dmub_trace_irq;
925+
struct amdgpu_irq_src dmub_outbox_irq;
925926

926927
/* rings */
927928
u64 fence_context;

drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,5 +1132,7 @@
11321132

11331133
#define DCN_1_0__SRCID__DMCUB_OUTBOX_HIGH_PRIORITY_READY_INT 0x68
11341134
#define DCN_1_0__CTXID__DMCUB_OUTBOX_HIGH_PRIORITY_READY_INT 6
1135+
#define DCN_1_0__SRCID__DMCUB_OUTBOX_LOW_PRIORITY_READY_INT 0x68 // DMCUB_IHC_outbox1_ready_int IHC_DMCUB_outbox1_ready_int_ack DMCUB_OUTBOX_LOW_PRIORITY_READY_INTERRUPT DISP_INTERRUPT_STATUS_CONTINUE24 Level/Pulse
1136+
#define DCN_1_0__CTXID__DMCUB_OUTBOX_LOW_PRIORITY_READY_INT 8
11351137

11361138
#endif // __IRQSRCS_DCN_1_0_H__

0 commit comments

Comments
 (0)