]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd: Remove second call to set_power_limit()
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 9 Oct 2025 20:59:05 +0000 (15:59 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Oct 2025 18:14:35 +0000 (14:14 -0400)
commit56a207c39d342b3a3632918ac672b58f8ecee023
tree37e489e09eb16c6a31799ba24fdb13f1c0118f77
parent5f4f49a41c14890c05faa99881e98cc156ba7e03
drm/amd: Remove second call to set_power_limit()

The min/max limits only make sense for default PPT. Restructure
smu_set_power_limit() to only use them in that case.

Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c