]> 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)
commit9d6d462d79da7edb43414b24d2605599b6796c83
tree8ed4750369695074bdcb7b04884447b387d2be95
parent8953bdb149289ed222ae6ab354c38a16a1011be5
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