diff options
author | 2019-07-22 18:06:58 +0800 | |
---|---|---|
committer | 2019-08-02 10:30:39 -0500 | |
commit | dc0d962297af444fa45ecea077e4ae53d7518719 (patch) | |
tree | af80e92cdc94780dbabb2009b90ab4ce620ea568 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | |
parent | drm/amdgpu: add PSP SW init support for Arcturus (diff) | |
download | linux-dc0d962297af444fa45ecea077e4ae53d7518719.tar.gz linux-dc0d962297af444fa45ecea077e4ae53d7518719.tar.bz2 linux-dc0d962297af444fa45ecea077e4ae53d7518719.zip |
drm/amdgpu: add PSP KDB loading support for Arcturus
Add support for the arcturus specific psp metadata to the
amdgpu firmware and properly parse it when loading it.
Signed-off-by: John Clements <john.clements@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h index 2be106e81eda..4f1b167a9394 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h @@ -90,6 +90,15 @@ struct psp_firmware_header_v1_1 { uint32_t kdb_size_bytes; }; +/* version_major=1, version_minor=2 */ +struct psp_firmware_header_v1_2 { + struct psp_firmware_header_v1_0 v1_0; + uint32_t reserve[3]; + uint32_t kdb_header_version; + uint32_t kdb_offset_bytes; + uint32_t kdb_size_bytes; +}; + /* version_major=1, version_minor=0 */ struct ta_firmware_header_v1_0 { struct common_firmware_header header; |