drm/amd/pm: enable vclk and dclk Pstates for SMU v13.0.5
authorTim Huang <Tim.Huang@amd.com>
Fri, 9 Jun 2023 05:11:44 +0000 (13:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2023 14:46:00 +0000 (10:46 -0400)
commitfcdb3832a4edece23c043ce97b3a1f7647bec929
treea05afba25079fa7eff2f18ea2139a2adf8b1098c
parentd50dc746ff72b9c48812dac3344fa87fbde940a3
drm/amd/pm: enable vclk and dclk Pstates for SMU v13.0.5

Add the ability to control the vclk and dclk frequency by
power_dpm_force_performance_level interface.

Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c