]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8348c7ac6ddf0f386061b97342afb6e8c07b9b46
tree1fb6cb858a68a89a04b0b7938b0e9eb770a9b3dd
parent144d4710358b1c206399781879f9670982e53b87
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