drm/amdgpu/powerplay/smu7: fix AVFS handling with custom powerplay table
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Nov 2019 16:15:17 +0000 (11:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Nov 2019 22:38:13 +0000 (17:38 -0500)
commit901245624c7812b6c95d67177bae850e783b5212
treebbaa8265d03702f5a200a7fd68f25beb5b6ed2d9
parent51bd363857c09fb9ef3cd3bbf972aeecf43c0ff8
drm/amdgpu/powerplay/smu7: fix AVFS handling with custom powerplay table

When a custom powerplay table is provided, we need to update
the OD VDDC flag to avoid AVFS being enabled when it shouldn't be.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=205393
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c