drm/amd/pm: correct SMU13 gfx voltage related OD settings
authorEvan Quan <evan.quan@amd.com>
Mon, 21 Aug 2023 06:15:13 +0000 (14:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Aug 2023 19:23:21 +0000 (15:23 -0400)
commite835bc2628d35c8ef08e0556db6bdee801625ea5
tree7bc43d24f3ea1e0da7e45b600a817f4c0ff77734
parent2c017263896314cd7cfc4454be1d3bb5ac2d837a
drm/amd/pm: correct SMU13 gfx voltage related OD settings

The voltage offset setting will be applied to the whole v/f curve line
instead of per anchor point base.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c