drm/amdgpu: optimize gfx9 init_microcode function
authorLe Ma <le.ma@amd.com>
Tue, 18 Sep 2018 08:11:44 +0000 (16:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:03 +0000 (14:18 -0500)
commit24c44c891782088a2d98a3883838186add8e2511
tree0aefc198e222bd4b83c75769bd8a73dfc412beca
parent65e60f6e06e55ea214d9f56a68f93a6f7c4b8455
drm/amdgpu: optimize gfx9 init_microcode function

Split each type of firmware into single function for easy to maintain.

Signed-off-by: Le Ma <le.ma@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_v9_0.c