drm/amd/pm: add the missing mapping for PPT feature on SMU13.0.0 and 13.0.7
authorEvan Quan <evan.quan@amd.com>
Wed, 4 Jan 2023 02:45:01 +0000 (10:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jan 2023 17:03:18 +0000 (12:03 -0500)
commit318ca20893c19ead02845a08204c3f9249bb74cd
tree30869790def29272eff6808a57f53a2747fba7e5
parent6fea87637bf36bd285227f490132e83582ab7513
drm/amd/pm: add the missing mapping for PPT feature on SMU13.0.0 and 13.0.7

Then we are able to set a new ppt limit via the hwmon interface(power1_cap).

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>
Cc: stable@vger.kernel.org # 6.0.x, 6.1.x
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