[PATCH] drm/amd/powerplay: set sensitivity of fan reaction to temepature changes.

Rex Zhu Rex.Zhu at amd.com
Mon Apr 10 08:08:02 UTC 2017


Change-Id: Ia7b9b3e619368d1fd3009be1352f5a587485d245
Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>
---
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
index f4d77b6..4ada673 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
@@ -553,6 +553,8 @@ int tf_vega10_thermal_setup_fan_table(struct pp_hwmgr *hwmgr,
 	if (!data->smu_features[GNLD_FAN_CONTROL].supported)
 		return 0;
 
+	table->FuzzyFan_PwmSetDelta = (uint16_t)hwmgr->thermal_controller.
+			advanceFanControlParameters.usFanOutputSensitivity;
 	table->FanMaximumRpm = (uint16_t)hwmgr->thermal_controller.
 			advanceFanControlParameters.usMaxFanRPM;
 	table->FanThrottlingRpm = hwmgr->thermal_controller.
-- 
1.9.1



More information about the amd-gfx mailing list