]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: record the RPM and PWM based fan speed settings
authorEvan Quan <evan.quan@amd.com>
Tue, 9 Feb 2021 05:36:16 +0000 (13:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Aug 2021 19:35:56 +0000 (15:35 -0400)
commitf6cf0cc9063e5c42e24de0ca13ea33325d7be014
treeb69bd290136e9c3ecaad44312df49a3f1c3a7dd1
parentb3dbd7df932da21dcdec36c0d7bcdce36f2a1d05
drm/amd/pm: record the RPM and PWM based fan speed settings

As the relationship "PWM = RPM / smu->fan_max_rpm" between fan speed
PWM and RPM is not true for SMU11 ASICs. So, both the RPM and PWM
settings need to be saved.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c
drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c