drm/amd/powerplay: move the function of read_sensor to asic file
authorKevin Wang <kevin1.wang@amd.com>
Tue, 5 Mar 2019 06:16:12 +0000 (14:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:25 +0000 (18:59 -0500)
commit6d22f1aa924c6012e4107b40b111c21b9d2b5c0d
tree85b87426fe1607a7f2eb216bf2ee7e80f6860104
parent86eb3ed3d393678a0ba625138658b755adbda357
drm/amd/powerplay: move the function of read_sensor to asic file

The read_sensor functions has asic related parts code,
so move them to asic file to implement.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@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