]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9dc1ad88c5a21256177fac607808676689b81736
tree90cdcd5570f71dddd365da32e661696ae4f9e058
parenta79022472944cca1b8b077cb222eef74eeb38ded
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