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/smu_helper.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/smu_helper.c')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c index 1f6d481826ff..598122854ab5 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c @@ -581,8 +581,7 @@ static const struct amdgpu_irq_src_funcs smu9_irq_funcs = { .process = phm_irq_process, }; -int smu9_register_thermal_interrupt(struct pp_hwmgr *hwmgr, - const void *info) +int smu9_register_irq_handlers(struct pp_hwmgr *hwmgr) { struct amdgpu_irq_src *source = kzalloc(sizeof(struct amdgpu_irq_src), GFP_KERNEL); |