All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amd/powerplay: set sensitivity of fan reaction to temepature changes.
@ 2017-04-10  8:08 Rex Zhu
       [not found] ` <1491811682-10584-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Rex Zhu @ 2017-04-10  8:08 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Rex Zhu

Change-Id: Ia7b9b3e619368d1fd3009be1352f5a587485d245
Signed-off-by: Rex Zhu <Rex.Zhu@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

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] drm/amd/powerplay: set sensitivity of fan reaction to temepature changes.
       [not found] ` <1491811682-10584-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
@ 2017-04-10 14:49   ` Deucher, Alexander
  0 siblings, 0 replies; 2+ messages in thread
From: Deucher, Alexander @ 2017-04-10 14:49 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Zhu, Rex

> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org] On Behalf
> Of Rex Zhu
> Sent: Monday, April 10, 2017 4:08 AM
> To: amd-gfx@lists.freedesktop.org
> Cc: Zhu, Rex
> Subject: [PATCH] drm/amd/powerplay: set sensitivity of fan reaction to
> temepature changes.
> 
> Change-Id: Ia7b9b3e619368d1fd3009be1352f5a587485d245
> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>


Reviewed-by: Alex Deucher <alexander.deucher@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
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-10 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-10  8:08 [PATCH] drm/amd/powerplay: set sensitivity of fan reaction to temepature changes Rex Zhu
     [not found] ` <1491811682-10584-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
2017-04-10 14:49   ` Deucher, Alexander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.