drm/amdgpu: fix sdma v4 init microcode error
authorLikun Gao <Likun.Gao@amd.com>
Wed, 28 Sep 2022 07:48:07 +0000 (15:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:42:08 +0000 (09:42 -0400)
commitbaf28cc10ade932cec707e3fd723e6c2850efe3a
treecf8243d76b7476d505f5a3b4558c41aa55b6279f
parent5d8c3e836fc224dfe633e41f7f2856753b39a905
drm/amdgpu: fix sdma v4 init microcode error

Fix init SDMA microcode error for sdma v4, which caused by mistake when
rearch sdma init microcode function (coding 4.2.2 to 4.2.0).

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c