drm/amd/pm: fulfill SMU13 OD settings init and restore
authorEvan Quan <evan.quan@amd.com>
Tue, 11 Apr 2023 03:49:09 +0000 (11:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 16:37:06 +0000 (12:37 -0400)
commit8f4f5f0b901a444c2317ef0fb29f35bc296daa55
tree84b43655b1d22812e3f35ed6b91cc89b76f0942d
parenta159afdad2f6b97e4d18549cff2b53d17e68a412
drm/amd/pm: fulfill SMU13 OD settings init and restore

Gfxclk fmin/fmax, Uclk fmin/fmax and Gfx v/f curve voltage offset
OD settings are supported for SMU13.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-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.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