]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu/powerplay/vega10: allow undervolting in p7
authorPelle van Gils <pelle@vangils.xyz>
Thu, 24 Oct 2019 14:04:31 +0000 (16:04 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Oct 2019 15:19:17 +0000 (11:19 -0400)
commit11436b01775fe9f07967756f52d5536bab45bcad
tree1e31104090f66218ae9b751023defb75e84628d4
parentf509be184052e9279940dbcd02b0f8ac15b426ca
drm/amdgpu/powerplay/vega10: allow undervolting in p7

The vega10_odn_update_soc_table() function does not allow the SCLK
dependent voltage to be set for power-state 7 to a value below the default
in pptable. Change the for-loop condition to allow undervolting in the
highest state.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=205277
Signed-off-by: Pelle van Gils <pelle@vangils.xyz>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c