drm/amdgpu/powerplay: fix AVFS handling with custom powerplay table
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Nov 2019 14:50:18 +0000 (09:50 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Nov 2019 17:30:24 +0000 (12:30 -0500)
commit53dbc27ad5a93932ff1892a8e4ef266827d74a0f
tree4b51f3feb3a54cbdb7c5c3460a89428f9c21c385
parent558491dda004b8fc60fef0fcf2329f5bf0e53b08
drm/amdgpu/powerplay: 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/vega10_hwmgr.c