]> 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)
commit623b8c6a6dbe17e16215a54ca436d8946ac36531
tree90cdcd5570f71dddd365da32e661696ae4f9e058
parentdab878e8b15ff449e90a6adeb70c27c47c8d3721
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