]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commita06370edff72f2ef9cb1b3c73701f53deaf7756d
tree2742f8a70f435ef97148ba31f28801b36143e302
parent0b8b1c4d1a422b6f89918a15d9586de8d5795f46
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