OSDN Git Service

drm/amdgpu: switch to helper function to init sos ucode
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 20 Apr 2020 10:01:33 +0000 (18:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Apr 2020 19:41:00 +0000 (15:41 -0400)
commit893d14cbe1eabaac4e907dcbacc733664eda2464
tree3273390699a8827ed77018c08e24a8bda9f3a543
parent1c301f4433871bf7c20ac88a8135caeaf2a810ee
drm/amdgpu: switch to helper function to init sos ucode

call common helper function to init sos ucode, instead
of duplicate codes per ip version

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c