]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: add smu power_limit callback for smu_v13_0_7
authorYang Wang <KevinYang.Wang@amd.com>
Wed, 11 May 2022 06:57:49 +0000 (14:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 May 2022 14:02:57 +0000 (10:02 -0400)
commit67e2496c27bb9bd469462187f2b734e45f9b2011
tree95b639d823bec3b419ee04d6118dd313d8eeb99e
parentee535c27402aabc859adb88f3c1ef0228104a367
drm/amd/pm: add smu power_limit callback for smu_v13_0_7

- get_power_limit
- set_power_limit

add above callback functions to enable power_cap hwmon node.

Signed-off-by: Yang Wang <KevinYang.Wang@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c