drm/amd/powerplay: implement sensor of thermal_get_temperature for smu11
authorKevin Wang <Kevin1.Wang@amd.com>
Tue, 15 Jan 2019 04:37:35 +0000 (12:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:58 +0000 (15:03 -0500)
commit2f613c7068e5ff6ec8b2ed32826b466ed676c0a1
treed2dfb3fb41d3a058f9e3693222f80f9f2ee36e81
parentc9b6604351777f6ed4f2e47d2a1be66216149554
drm/amd/powerplay: implement sensor of thermal_get_temperature for smu11

add sensor interface of thermal temperature for debugfs and hwmon.

Signed-off-by: Kevin Wang <Kevin1.Wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@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
drivers/gpu/drm/amd/powerplay/vega20_ppt.h