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 16:43:37 +0000 (11:43 -0500)
commit3693c1aea9b70db33f156e0dfa037a001754ba97
treebdf7eee6df84a87e452f4eef66048d4a8a549103
parentc595637f8a7c6bdef2ec16f6ee0f6cd727603223
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>
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