]> www.infradead.org Git - linux.git/commit
drm/amdgpu/swsmu: fix ordering for setting workload_mask
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Aug 2024 19:16:11 +0000 (15:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Aug 2024 21:51:17 +0000 (17:51 -0400)
commitb932d5ad9257f262a0bfd1bd7146120b0adc11a7
treee2a3c937a77ac5c3472e0dfd4002764c630dbbd7
parentbbb05f8a9cd87f5046d05a0c596fddfb714ee457
drm/amdgpu/swsmu: fix ordering for setting workload_mask

No change in functionality for the current code, but we
need to set the index properly before changing it if we
ever use a non-0 index.

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