drm/amd/powerplay: support hwmon temperature channel labels V2
authorEvan Quan <evan.quan@amd.com>
Wed, 17 Apr 2019 07:45:08 +0000 (15:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:47 +0000 (12:20 -0500)
commit2adc11564c42b63827eaf1cf9d61da2f79b9c978
tree90cdcd5570f71dddd365da32e661696ae4f9e058
parenta34d1166b47c8497cffda4da7c14182cb3420362
drm/amd/powerplay: support hwmon temperature channel labels V2

Expose temp[1-3]_label hwmon interfaces. While temp2_label
and temp3_label are visible for SOC15 dGPUs only.

- V2: correct temp1_label as "edge"

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/include/kgd_pp_interface.h