drm/amdgpu/pm: Fix the power1_min_cap value
authorMa Jun <Jun.Ma2@amd.com>
Thu, 22 Feb 2024 09:08:42 +0000 (17:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Feb 2024 17:27:38 +0000 (12:27 -0500)
commit7968e9748fbbd7ae49770d9f8a8231d8bce2aebb
treeaad9859bafbc8df2041b3d12186cf4080c900752
parent0f8ca019544a252d1afb468ce840c6dcbac73af4
drm/amdgpu/pm: Fix the power1_min_cap value

It's unreasonable to use 0 as the power1_min_cap when
OD is disabled. So, use the same lower limit as the value
used when OD is enabled.

Fixes: 1958946858a6 ("drm/amd/pm: Support for getting power1_cap_min value")
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c