diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2018-03-21 13:11:27 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-21 14:36:58 -0500 |
commit | 4d2003721c2bd6add6746426eec1d879432c92dd (patch) | |
tree | 4c2322e42c44c5a7368e15bd3d9ad8b984d57e21 /drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | |
parent | 160b8e75932fd51a49607d32dbfa1d417977b79c (diff) |
drm/amd/pp: Refine register_thermal_interrupt function
v2: add Vega12 support
1. delete useless argument in function register_thermal_interrupt
2. rename function name register_thermal_interrupt to register_irq_handlers
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/hwmgr/hwmgr.c')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c index ce581ae1103a..bafcfd2cf156 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c @@ -206,7 +206,7 @@ int hwmgr_hw_init(struct pp_hwmgr *hwmgr) if (ret) goto err2; - ret = phm_register_thermal_interrupt(hwmgr, NULL); + ret = phm_register_irq_handlers(hwmgr); if (ret) goto err2; |