]> asedeno.scripts.mit.edu Git - linux.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)
commit3546916f426f3bac6487d37446d8cc743c53554d
treef42270d75e312c208f713b7a0f21755fd6e8084f
parentc530174b90fa3bcaa83d168b001b574bcb2da021
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