drm/amd/pm: enable vclk and dclk Pstates for SMU v13.0.4
authorTim Huang <Tim.Huang@amd.com>
Fri, 2 Jun 2023 08:57:12 +0000 (16:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 16:47:41 +0000 (12:47 -0400)
commit2d0ee64e9846ed4036fd11c5b900a21039ee8b7a
treea340246806e8f21b517af4d4e34ff93d604cd120
parent27d196c4491458ca00014cfe1cfa9d0fa87a2ff9
drm/amd/pm: enable vclk and dclk Pstates for SMU v13.0.4

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_4_ppt.c