]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add helper function to init sos ucode
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 20 Apr 2020 09:47:53 +0000 (17:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Apr 2020 19:40:53 +0000 (15:40 -0400)
commit81d417716bb3bc42c222e2ecea646d270c4ae757
treef22ee2a31db43efe10258c63559dad2f7a208bd1
parent087f2bae5665f688ea2595bc28b76cf80c3309ce
drm/amdgpu: add helper function to init sos ucode

driver already had psp_firmware_header struture to
deal with different layout of sos ucode. the sos
micorcode initialization could be common one.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h