drm/amd/powerplay: move function thermal_get_temperature to veag20_ppt
authorKevin Wang <kevin1.wang@amd.com>
Fri, 17 May 2019 06:12:51 +0000 (14:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:31 +0000 (18:59 -0500)
commit4dc9c8bf3474955cd721991a415df8e2b9e73b84
tree9115885db749ec8e1e8e77e2e26cb81902e7df42
parent62b9a88c0ef97ca3373da53b3d499ffabbd13c94
drm/amd/powerplay: move function thermal_get_temperature to veag20_ppt

the fcuntion thermal_get_temperature will be access SmuMetrics_t data,
the data structure is asic related, so move vega20_ppt to implement.

Signed-off-by: Kevin Wang <kevin1.wang@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