diff options
| author | Yang Wang <kevinyang.wang@amd.com> | 2025-10-22 21:32:55 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-03-23 14:18:07 -0400 |
| commit | e20e47bcb3f1e90e2fd8bd8b543224d1bdd3ba3f (patch) | |
| tree | 73114dce2ce84a62ca58ef5cdcea4487f2422594 /drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | |
| parent | 39e0a73bdeb0890718260d0bde256ef50288bb80 (diff) | |
| download | linux-next-e20e47bcb3f1e90e2fd8bd8b543224d1bdd3ba3f.tar.gz linux-next-e20e47bcb3f1e90e2fd8bd8b543224d1bdd3ba3f.zip | |
drm/amd/pm: add set{get}_power_limit support for smu 15.0.8
export .set_power_limit & .get_power_limit interface for smu 15.0.8
Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c')
| -rw-r--r-- | drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c index 013d34e2f842..eee2fe0743b2 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c @@ -2966,6 +2966,7 @@ int smu_get_power_limit(void *handle, case IP_VERSION(11, 0, 11): case IP_VERSION(11, 0, 12): case IP_VERSION(11, 0, 13): + case IP_VERSION(15, 0, 8): ret = smu_get_asic_power_limits(smu, &smu->current_power_limit, NULL, NULL, NULL); |
