]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: refactor function to init no-psp fw
authorLikun Gao <Likun.Gao@amd.com>
Thu, 9 Sep 2021 06:30:10 +0000 (14:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Sep 2021 19:37:34 +0000 (15:37 -0400)
commit1a56247da65d17a2f49e4b2a03427f4ee15849a1
tree303251a5aed91b1d9d27c4594be3636e4fc42115
parent962feba34c748b2b3e7b7cd8edd5485d5d395d64
drm/amdgpu: refactor function to init no-psp fw

Refactor the code of amdgpu_ucode_init_single_fw to make it more
readable as too many ucode need to handle on this function currently.

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_ucode.c