]> 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 19:57:39 +0000 (14:57 -0500)
commitfc992e991a684b4901dfdbc200a006cb9169ae7d
tree1af2e7d7e30323947602e8929181b28f40ce316d
parent1da44943a58197589610b0ef2a3f94b187cc7055
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