drm/amd/powerplay: move getting MAX_FAN_RPM value to asic level
authorHuang Rui <ray.huang@amd.com>
Mon, 1 Apr 2019 10:06:36 +0000 (18:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:26 +0000 (18:59 -0500)
commit6a36e3e57c0cbcb9168cc1564ff37179cb110b52
tree7104ae2539dde5aa4fd15cd2de0684f30027ed71
parent8890fe5f435333c9f6ea7cd6b6de964c669602f4
drm/amd/powerplay: move getting MAX_FAN_RPM value to asic level

Getting MAX_FAN_RPM value needs to be read by pptable, so it should be moved to
asic level.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smu_v11_0.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c