]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit1c301f4433871bf7c20ac88a8135caeaf2a810ee
treef22ee2a31db43efe10258c63559dad2f7a208bd1
parentf4503f9eb3a16c8b70274dcb256ac4740242b508
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