drm/amd: Use newly added interrupt source defs for SOC15.
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:

committed by
Alex Deucher

parent
ba61bb1749
commit
44a99b65fc
@@ -25,6 +25,8 @@
|
||||
#include "ppatomctrl.h"
|
||||
#include "ppsmc.h"
|
||||
#include "atom.h"
|
||||
#include "ivsrcid/thm/irqsrcs_thm_9_0.h"
|
||||
#include "ivsrcid/smuio/irqsrcs_smuio_9_0.h"
|
||||
|
||||
uint8_t convert_to_vid(uint16_t vddc)
|
||||
{
|
||||
@@ -594,17 +596,17 @@ int smu9_register_irq_handlers(struct pp_hwmgr *hwmgr)
|
||||
|
||||
amdgpu_irq_add_id((struct amdgpu_device *)(hwmgr->adev),
|
||||
SOC15_IH_CLIENTID_THM,
|
||||
0,
|
||||
THM_9_0__SRCID__THM_DIG_THERM_L2H,
|
||||
source);
|
||||
amdgpu_irq_add_id((struct amdgpu_device *)(hwmgr->adev),
|
||||
SOC15_IH_CLIENTID_THM,
|
||||
1,
|
||||
THM_9_0__SRCID__THM_DIG_THERM_H2L,
|
||||
source);
|
||||
|
||||
/* Register CTF(GPIO_19) interrupt */
|
||||
amdgpu_irq_add_id((struct amdgpu_device *)(hwmgr->adev),
|
||||
SOC15_IH_CLIENTID_ROM_SMUIO,
|
||||
83,
|
||||
SMUIO_9_0__SRCID__SMUIO_GPIO19,
|
||||
source);
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user