drm/amdgpu: add function to init CP microcode
authorLikun Gao <Likun.Gao@amd.com>
Tue, 20 Sep 2022 05:46:52 +0000 (13:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:41:43 +0000 (09:41 -0400)
commitec71b250170f60986ea1d2feba6d3b6a63bb1ac2
tree71d1c0f00ca13926d8e80667b4754ce4cdb5a754
parent425ad8a5d3b09f09256e44cb6b55959b18c15618
drm/amdgpu: add function to init CP microcode

Add an common function to init CP 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_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h