diff options
| author | Hawking Zhang <[email protected]> | 2020-04-20 09:47:53 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-04-23 19:40:53 +0000 |
| commit | 1c301f4433871bf7c20ac88a8135caeaf2a810ee (patch) | |
| tree | f22ee2a31db43efe10258c63559dad2f7a208bd1 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | |
| parent | drm/amdgpu: switch to helper function to init asd ucode (diff) | |
| download | kernel-1c301f4433871bf7c20ac88a8135caeaf2a810ee.tar.gz kernel-1c301f4433871bf7c20ac88a8135caeaf2a810ee.zip | |
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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h index a763148aecbc..7fcd63d5432c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h @@ -387,4 +387,6 @@ int psp_ring_cmd_submit(struct psp_context *psp, int index); int psp_init_asd_microcode(struct psp_context *psp, const char *chip_name); +int psp_init_sos_microcode(struct psp_context *psp, + const char *chip_name); #endif |
