drm/amdgpu/sdma4: use common function to init sdma fw
authorLikun Gao <Likun.Gao@amd.com>
Thu, 22 Sep 2022 06:37:52 +0000 (14:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:41:43 +0000 (09:41 -0400)
commita2d3b4b81fd49b14782ce0ff68ca74e40f16609a
tree7ea1918555f651aac03e7e7803999f3cae56af16
parent15aa13056d11dad1e54d65acd854184f3f74a5b7
drm/amdgpu/sdma4: use common function to init sdma fw

Use common function to init sdma v4 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_v4_0.c