]> www.infradead.org Git - users/hch/misc.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:26:01 +0000 (11:26 -0400)
commit580ad7cbd4b7be8d2cb5ab5c1fca6bb76045eb0e
tree3226d38e102ad0f38676112e32cb657ff8b909f6
parent3b6e7d40649c0d75572039aff9d0911864c689db
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>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c