drm/amd/powerplay: move SmuMetrics_t uses into asic level
authorHuang Rui <ray.huang@amd.com>
Sun, 31 Mar 2019 06:53:23 +0000 (14:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:26 +0000 (18:59 -0500)
commit8b1f4c87a30e6497ea646737e0b4d8ef854878a5
treec57548717d7c99698b8cf366ed7705a4137769d0
parentee0db82027eef38d869d22cfa24a18d78b590db9
drm/amd/powerplay: move SmuMetrics_t uses into asic level

This patch moves the rest of SmuMetrics_t uses into asic level. It's to avoid the
conflicts with different asic.

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/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c