summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-03-21 13:11:27 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-03-21 14:36:58 -0500
commit4d2003721c2bd6add6746426eec1d879432c92dd (patch)
tree4c2322e42c44c5a7368e15bd3d9ad8b984d57e21 /drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
parent160b8e75932fd51a49607d32dbfa1d417977b79c (diff)
downloadlwn-4d2003721c2bd6add6746426eec1d879432c92dd.tar.gz
lwn-4d2003721c2bd6add6746426eec1d879432c92dd.zip
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/vega12_hwmgr.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
index b9f8ec5df8a7..da2053e10671 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
@@ -2557,7 +2557,7 @@ static const struct pp_hwmgr_func vega12_hwmgr_funcs = {
#endif
.notify_cac_buffer_info = vega12_notify_cac_buffer_info,
.get_thermal_temperature_range = vega12_get_thermal_temperature_range,
- .register_internal_thermal_interrupt = smu9_register_thermal_interrupt,
+ .register_irq_handlers = smu9_register_irq_handlers,
.start_thermal_controller = vega12_start_thermal_controller,
};