> -----Original Message----- > From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf > Of Rex Zhu > Sent: Monday, April 10, 2017 4:08 AM > To: amd-gfx at 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 at amd.com> Reviewed-by: Alex Deucher <alexander.deucher 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 > > _______________________________________________ > amd-gfx mailing list > amd-gfx at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx