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

Alex Deucher alexdeucher at gmail.com
Tue Sep 26 15:57:53 UTC 2017


On Tue, Sep 26, 2017 at 11:38 AM, Tom St Denis <tom.stdenis at amd.com> wrote:
> Ping :-)
>
> Tom
>
>
> On 25/09/17 01:33 PM, Tom St Denis wrote:
>>
>> Signed-off-by: Tom St Denis <tom.stdenis at amd.com>

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


More information about the amd-gfx mailing list