drm/amdgpu/gfx11: use common function to init cp fw
authorLikun Gao <Likun.Gao@amd.com>
Tue, 20 Sep 2022 05:52:36 +0000 (13:52 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:41:43 +0000 (09:41 -0400)
commite268df1d20b89d1d448277e16ce1720887e8bdbb
treed9dcd016d2c6e87ccde98351d5ef8d4f64372606
parent5993e4c68add76bdec1efff1c534b8610f69ac05
drm/amdgpu/gfx11: use common function to init cp fw

Use common function to init gfx v11 CP 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/gfx_v11_0.c