]> www.infradead.org Git - users/hch/dma-mapping.git/commit
drm/amdgpu/swsmu: Only force workload setup on init
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Oct 2024 14:22:30 +0000 (10:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2024 15:53:27 +0000 (11:53 -0400)
commitcb07c8338fc2b9d5f949a19d4a07ee4d5ecf8793
treef08eab0e1f3c1cabbd5cf9765ed099fdf602bcdd
parent28127dba64d8ae1a0b737b973d6d029908599611
drm/amdgpu/swsmu: Only force workload setup on init

Needed to set the workload type at init time so that
we can apply the navi3x margin optimization.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3618
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3131
Fixes: c50fe289ed72 ("drm/amdgpu/swsmu: always force a state reprogram on init")
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 580ad7cbd4b7be8d2cb5ab5c1fca6bb76045eb0e)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c