[PATCH] dmr/amd/powerplay: Fix typo in ci_populate_fuzzy_fan()

Tom St Denis tom.stdenis at amd.com
Tue Sep 26 15:38:13 UTC 2017


Ping :-)

Tom


On 25/09/17 01:33 PM, Tom St Denis wrote:
> Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
> ---
>   drivers/gpu/drm/amd/powerplay/smumgr/ci_smc.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/ci_smc.c b/drivers/gpu/drm/amd/powerplay/smumgr/ci_smc.c
> index 7709f620347a..a72ae7ed03cf 100644
> --- a/drivers/gpu/drm/amd/powerplay/smumgr/ci_smc.c
> +++ b/drivers/gpu/drm/amd/powerplay/smumgr/ci_smc.c
> @@ -574,7 +574,8 @@ static int ci_populate_fuzzy_fan(struct pp_hwmgr *hwmgr, uint32_t fuse_table_off
>   	if ((hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity & (1 << 15))
>   		|| 0 == hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity)
>   		tmp = hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity
> -		    = hwmgr->thermal_controller.advanceFanControlParameters.usDefaultFanOutputSensitivity;
> +	else
> +		tmp = hwmgr->thermal_controller.advanceFanControlParameters.usDefaultFanOutputSensitivity;
>   
>   	smu_data->power_tune_table.FuzzyFan_PwmSetDelta = CONVERT_FROM_HOST_TO_SMC_US(tmp);
>   
> 



More information about the amd-gfx mailing list