Skip to contentSkip to conversation

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

PATCH In review Rex Zhu 2 participants 2 messages Apr 10, 2017 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Rex Zhu

author
#0 lore raw

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

Change-Id Ia7b9b3e619368d1fd3009be1352f5a587485d245
---
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c +2 -0
index f4d77b6..4ada673 100644
@@ -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.
Signature · 6 lines
1.9.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1491811682-10584-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org

Reviewed-by Alex Deucher
#2 lore raw
Quoted 11 lines

-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Rex Zhu
Sent: Monday, April 10, 2017 4:08 AM
To: [email protected]
Cc: Zhu, Rex
Subject: [PATCH] drm/amd/powerplay: set sensitivity of fan reaction to temepature changes.

Change-Id Ia7b9b3e619368d1fd3009be1352f5a587485d245
Quoted 24 lines
---
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c +1 -0
index f4d77b6..4ada673 100644
@@ -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-
Quoted 1 line

thermal_controller.

+

	advanceFanControlParameters.usFanOutputSensitivity;
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c +0 -1
 	table->FanMaximumRpm = (uint16_t)hwmgr->thermal_controller.
 			advanceFanControlParameters.usMaxFanRPM;
 	table->FanThrottlingRpm = hwmgr->thermal_controller.
--

1.9.1

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx