drm/amdgpu: align pp_power_profile_mode with kernel docs
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Aug 2024 18:32:02 +0000 (14:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Aug 2024 14:00:25 +0000 (10:00 -0400)
commit8f614469de248a4bc55fb07e55d5f4c340c75b11
tree37689e7488f7741bd2f774d835d11590961a4b56
parent5be63fc19fcaa4c236b307420483578a56986a37
drm/amdgpu: align pp_power_profile_mode with kernel docs

The kernel doc says you need to select manual mode to
adjust this, but the code only allows you to adjust it when
manual mode is not selected.  Remove the manual mode check.

Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit bbb05f8a9cd87f5046d05a0c596fddfb714ee457)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c