aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
index 3806a7957c6f..9b096228a02f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
@@ -49,6 +49,13 @@ struct smc_firmware_header_v1_0 {
49 uint32_t ucode_start_addr; 49 uint32_t ucode_start_addr;
50}; 50};
51 51
52/* version_major=2, version_minor=0 */
53struct smc_firmware_header_v2_0 {
54 struct smc_firmware_header_v1_0 v1_0;
55 uint32_t ppt_offset_bytes; /* soft pptable offset */
56 uint32_t ppt_size_bytes; /* soft pptable size */
57};
58
52/* version_major=1, version_minor=0 */ 59/* version_major=1, version_minor=0 */
53struct psp_firmware_header_v1_0 { 60struct psp_firmware_header_v1_0 {
54 struct common_firmware_header header; 61 struct common_firmware_header header;
@@ -194,6 +201,7 @@ union amdgpu_firmware_header {
194 struct common_firmware_header common; 201 struct common_firmware_header common;
195 struct mc_firmware_header_v1_0 mc; 202 struct mc_firmware_header_v1_0 mc;
196 struct smc_firmware_header_v1_0 smc; 203 struct smc_firmware_header_v1_0 smc;
204 struct smc_firmware_header_v2_0 smc_v2_0;
197 struct psp_firmware_header_v1_0 psp; 205 struct psp_firmware_header_v1_0 psp;
198 struct psp_firmware_header_v1_1 psp_v1_1; 206 struct psp_firmware_header_v1_1 psp_v1_1;
199 struct ta_firmware_header_v1_0 ta; 207 struct ta_firmware_header_v1_0 ta;