]> git.baikalelectronics.ru Git - kernel.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>
Wed, 30 Oct 2019 15:56:16 +0000 (11:56 -0400)
commita2ef2936d3a5009b85e125eb3075a62341fde658
tree8ed4750369695074bdcb7b04884447b387d2be95
parent6b5615cf716c7a08062cccdbe7475a386e2469b3
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c