]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fetch default VDDC curve voltages (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Sat, 25 Jan 2020 18:30:45 +0000 (13:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Feb 2020 15:37:52 +0000 (10:37 -0500)
commit4420437c9302165d82279ae9b69a20ddacb5f874
treef7759643c315ebc96c7de759db0e27ced28dd499
parenta2b755e974e69b478f1e3c487a886ce3bdc16e6d
drm/amdgpu: fetch default VDDC curve voltages (v2)

Ask the SMU for the default VDDC curve voltage values.  This
properly reports the VDDC values in the OD interface.

v2: only update if the original values are 0

Bug: https://gitlab.freedesktop.org/drm/amd/issues/1020
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.5.x
drivers/gpu/drm/amd/powerplay/navi10_ppt.c