drm/amdgpu/sdma5: use common function to init sdma fw
authorLikun Gao <Likun.Gao@amd.com>
Thu, 22 Sep 2022 06:38:51 +0000 (14:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:41:43 +0000 (09:41 -0400)
commit108db8decf0e5ac5f7b64967f434a32125b75bb0
tree0aec7b251b97b8effae39468e8793e695bc85fde
parenta2d3b4b81fd49b14782ce0ff68ca74e40f16609a
drm/amdgpu/sdma5: use common function to init sdma fw

Use common function to init sdma v5 firmware ucode.

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