drm/amdgpu/powerplay: Apply avfs cks-off voltages on VI
authorKenneth Feng <kenneth.feng@amd.com>
Thu, 6 Dec 2018 03:56:14 +0000 (11:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Dec 2018 18:19:53 +0000 (19:19 +0100)
commitd68d2ad5447482a09933e9206ab94c75ee99daf8
treeeb240010ea9f8bcd5fe400b98f2887e2a4ff1151
parentf0e9995f7eed78c699bc7ea87af8bc9ab4da6e6c
drm/amdgpu/powerplay: Apply avfs cks-off voltages on VI

commit cf4197ed5796234a53beb71228198c7d1e678947 upstream.

Instead of EVV cks-off voltages, avfs cks-off voltages can avoid
the overshoot voltages when switching sclk.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/powerplay/inc/smu7_ppsmc.h
drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c