]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay/vega20: correct the hwmon interface ppt limit output
authorEvan Quan <evan.quan@amd.com>
Mon, 17 Sep 2018 07:05:54 +0000 (15:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Oct 2018 21:45:57 +0000 (16:45 -0500)
commite265f80e7a849f16f3c74f1d4e18a2bdc1eeb041
treef42270d75e312c208f713b7a0f21755fd6e8084f
parent1314d2c9597f4b48c0217f146767bc550b51d936
drm/amd/powerplay/vega20: correct the hwmon interface ppt limit output

The ppt limit read out by hwmon interface is always 0.
Correct this hwmon interface output.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h