drm/amdgpu: add function to init SDMA microcode
authorLikun Gao <Likun.Gao@amd.com>
Thu, 22 Sep 2022 06:33:06 +0000 (14:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:41:43 +0000 (09:41 -0400)
commit15aa13056d11dad1e54d65acd854184f3f74a5b7
tree896c00b9b255a8d8789c01c5e1d9a710848b5a5e
parente268df1d20b89d1d448277e16ce1720887e8bdbb
drm/amdgpu: add function to init SDMA microcode

Add an common function to init SDMA related microcode.

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/amdgpu_sdma.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h