]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/smu: move fan rpm query into the asic specific code
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 20:25:04 +0000 (15:25 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Jul 2019 20:25:32 +0000 (15:25 -0500)
commit4c244b2105061450c35007ea616a9fbefe4651c1
tree00c9ed3ff07afa7214a6e091010fb4d67e93b1ba
parent8fd68c97ec77d8e8e52a1badde9178bf7e821129
drm/amdgpu/smu: move fan rpm query into the asic specific code

On vega20, there is an SMU message to query it.  On navi, it's fetched
from the metrics table.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/smu_v11_0.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c