aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-03-21 13:10:11 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-03-21 14:36:59 -0500
commit3296c4ae9769cab837799c0f873a1b281f4a156e (patch)
tree96efd6d5c73c29835d7ab4f6863f2684c0a111dd /drivers/gpu/drm/amd/powerplay/amd_powerplay.c
parentdrm/amd/pp: Refine register_thermal_interrupt function (diff)
downloadlinux-dev-3296c4ae9769cab837799c0f873a1b281f4a156e.tar.xz
linux-dev-3296c4ae9769cab837799c0f873a1b281f4a156e.zip
drm/amd/pp: Add smu irq handlers in sw_init instand of hw_init
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/amd_powerplay.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/amd_powerplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
index 038131704d24..7e8ad30d98e2 100644
--- a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
+++ b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
@@ -117,6 +117,8 @@ static int pp_sw_init(void *handle)
ret = hwmgr->smumgr_funcs->smu_init(hwmgr);
+ phm_register_irq_handlers(hwmgr);
+
pr_debug("amdgpu: powerplay sw initialized\n");
}