drm/amdgpu: Use single copy per SDMA instance type (v2)
authorLijo Lazar <lijo.lazar@amd.com>
Thu, 28 Jul 2022 06:12:44 +0000 (11:42 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:57:16 +0000 (10:57 -0400)
commit3525844d483bfb2236c1dd00f7a490297721ef78
tree5f32ee3186f26531d44569c5a6cb5903e3342f65
parent93ab59ac6d8311244a76ddb31e7ced4cb1e8f22c
drm/amdgpu: Use single copy per SDMA instance type (v2)

v1: Only single copy per instance type is required for PSP. All instance types
use the same firmware copy. (Lijo)

v2: Apply the change into amdgpu_sdma_init_microcode() due to rebase. (Morris)

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Shiwu Zhang <shiwu.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c