]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: add callback force_clk_levels for yellow carp
authorXiaomeng Hou <Xiaomeng.Hou@amd.com>
Sun, 7 Mar 2021 09:30:06 +0000 (17:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:03:21 +0000 (16:03 -0400)
commit11cccd0c6e55e3b6ed34de78f93a308e4da3347e
tree2742f8a70f435ef97148ba31f28801b36143e302
parent9238478a6870847b0f6e546a7965b8cf6aa63b90
drm/amd/pm: add callback force_clk_levels for yellow carp

Implement the sysfs API to set a range of allowed DPM levels for
specific clock domain.

v2: return error directly if the specified clock type not supported

Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Xiaomeng Hou <Xiaomeng.Hou@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c