drm/amdgpu/pm: use read_sensor API to get temperature
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Jan 2018 22:27:54 +0000 (17:27 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:51 +0000 (14:18 -0500)
commit71c9b9adad7ec9c119a4aa0de99543aee716e417
tree1fb6cb858a68a89a04b0b7938b0e9eb770a9b3dd
parent2976fc2622b1e77236bea9f88a68f6ac5d2fa6ab
drm/amdgpu/pm: use read_sensor API to get temperature

Rather than using the amdgpu_dpm_get_temperature.  Both
provide access to the temperature.

Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c