]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/swsmu: always force a state reprogram on init
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2024 01:54:24 +0000 (21:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Aug 2024 14:03:03 +0000 (10:03 -0400)
commitd420c857d85777663e8d16adfc24463f5d5c2dbc
treece5c379c893c7b34b7afb40588a2288e1444f03b
parent948f279dc48a6db17204f9b23f76b67abcd5d702
drm/amdgpu/swsmu: always force a state reprogram on init

Always reprogram the hardware state on init.  This ensures
the PMFW state is explicitly programmed and we are not relying
on the default PMFW state.

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