Commit eb661113 authored by Huang Rui's avatar Huang Rui Committed by Alex Deucher

drm/amdgpu: add psp firmware header info

Defines the header info for the psp firmware.
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 2445b227
...@@ -49,6 +49,14 @@ struct smc_firmware_header_v1_0 { ...@@ -49,6 +49,14 @@ struct smc_firmware_header_v1_0 {
uint32_t ucode_start_addr; uint32_t ucode_start_addr;
}; };
/* version_major=1, version_minor=0 */
struct psp_firmware_header_v1_0 {
struct common_firmware_header header;
uint32_t ucode_feature_version;
uint32_t sos_offset_bytes;
uint32_t sos_size_bytes;
};
/* version_major=1, version_minor=0 */ /* version_major=1, version_minor=0 */
struct gfx_firmware_header_v1_0 { struct gfx_firmware_header_v1_0 {
struct common_firmware_header header; struct common_firmware_header header;
...@@ -110,6 +118,7 @@ union amdgpu_firmware_header { ...@@ -110,6 +118,7 @@ union amdgpu_firmware_header {
struct common_firmware_header common; struct common_firmware_header common;
struct mc_firmware_header_v1_0 mc; struct mc_firmware_header_v1_0 mc;
struct smc_firmware_header_v1_0 smc; struct smc_firmware_header_v1_0 smc;
struct psp_firmware_header_v1_0 psp;
struct gfx_firmware_header_v1_0 gfx; struct gfx_firmware_header_v1_0 gfx;
struct rlc_firmware_header_v1_0 rlc; struct rlc_firmware_header_v1_0 rlc;
struct rlc_firmware_header_v2_0 rlc_v2_0; struct rlc_firmware_header_v2_0 rlc_v2_0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment