summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h
diff options
context:
space:
mode:
authorRex Zhu2017-05-05 11:44:32 +0200
committerAlex Deucher2017-05-10 19:36:28 +0200
commit7522ffc41b73a3dd1f9d19164f033bd649c0404b (patch)
tree76ef11a77fa7dc3cd6aae79d9b58088708a4e76a /drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h
parentdrm/amdgpu: refine amdgpu pwm1_enable sysfs interface. (diff)
downloadkernel-qcow2-linux-7522ffc41b73a3dd1f9d19164f033bd649c0404b.tar.gz
kernel-qcow2-linux-7522ffc41b73a3dd1f9d19164f033bd649c0404b.tar.xz
kernel-qcow2-linux-7522ffc41b73a3dd1f9d19164f033bd649c0404b.zip
drm/amd/powerplay: refine pwm1_enable callback functions for Vega10.
Use the new enums for setting and getting the fan control mode. Fixes problems due to previous inconsistencies between enums. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h
index 70c1d22b3d7d..776f3a2effc0 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h
@@ -79,6 +79,7 @@ extern int vega10_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr,
extern int vega10_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr);
extern uint32_t smu7_get_xclk(struct pp_hwmgr *hwmgr);
extern int vega10_thermal_disable_alert(struct pp_hwmgr *hwmgr);
+int vega10_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr);
#endif