diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 22 | 
1 files changed, 22 insertions, 0 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h index 30b5500dc152..08e38579af24 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | |||
| @@ -98,6 +98,24 @@ struct rlc_firmware_header_v2_0 { | |||
| 98 | uint32_t reg_list_separate_array_offset_bytes; /* payload offset from the start of the header */ | 98 | uint32_t reg_list_separate_array_offset_bytes; /* payload offset from the start of the header */ | 
| 99 | }; | 99 | }; | 
| 100 | 100 | ||
| 101 | /* version_major=2, version_minor=1 */ | ||
| 102 | struct rlc_firmware_header_v2_1 { | ||
| 103 | struct rlc_firmware_header_v2_0 v2_0; | ||
| 104 | uint32_t reg_list_format_direct_reg_list_length; /* length of direct reg list format array */ | ||
| 105 | uint32_t save_restore_list_cntl_ucode_ver; | ||
| 106 | uint32_t save_restore_list_cntl_feature_ver; | ||
| 107 | uint32_t save_restore_list_cntl_size_bytes; | ||
| 108 | uint32_t save_restore_list_cntl_offset_bytes; | ||
| 109 | uint32_t save_restore_list_gpm_ucode_ver; | ||
| 110 | uint32_t save_restore_list_gpm_feature_ver; | ||
| 111 | uint32_t save_restore_list_gpm_size_bytes; | ||
| 112 | uint32_t save_restore_list_gpm_offset_bytes; | ||
| 113 | uint32_t save_restore_list_srm_ucode_ver; | ||
| 114 | uint32_t save_restore_list_srm_feature_ver; | ||
| 115 | uint32_t save_restore_list_srm_size_bytes; | ||
| 116 | uint32_t save_restore_list_srm_offset_bytes; | ||
| 117 | }; | ||
| 118 | |||
| 101 | /* version_major=1, version_minor=0 */ | 119 | /* version_major=1, version_minor=0 */ | 
| 102 | struct sdma_firmware_header_v1_0 { | 120 | struct sdma_firmware_header_v1_0 { | 
| 103 | struct common_firmware_header header; | 121 | struct common_firmware_header header; | 
| @@ -148,6 +166,7 @@ union amdgpu_firmware_header { | |||
| 148 | struct gfx_firmware_header_v1_0 gfx; | 166 | struct gfx_firmware_header_v1_0 gfx; | 
| 149 | struct rlc_firmware_header_v1_0 rlc; | 167 | struct rlc_firmware_header_v1_0 rlc; | 
| 150 | struct rlc_firmware_header_v2_0 rlc_v2_0; | 168 | struct rlc_firmware_header_v2_0 rlc_v2_0; | 
| 169 | struct rlc_firmware_header_v2_1 rlc_v2_1; | ||
| 151 | struct sdma_firmware_header_v1_0 sdma; | 170 | struct sdma_firmware_header_v1_0 sdma; | 
| 152 | struct sdma_firmware_header_v1_1 sdma_v1_1; | 171 | struct sdma_firmware_header_v1_1 sdma_v1_1; | 
| 153 | struct gpu_info_firmware_header_v1_0 gpu_info; | 172 | struct gpu_info_firmware_header_v1_0 gpu_info; | 
| @@ -168,6 +187,9 @@ enum AMDGPU_UCODE_ID { | |||
| 168 | AMDGPU_UCODE_ID_CP_MEC2, | 187 | AMDGPU_UCODE_ID_CP_MEC2, | 
| 169 | AMDGPU_UCODE_ID_CP_MEC2_JT, | 188 | AMDGPU_UCODE_ID_CP_MEC2_JT, | 
| 170 | AMDGPU_UCODE_ID_RLC_G, | 189 | AMDGPU_UCODE_ID_RLC_G, | 
| 190 | AMDGPU_UCODE_ID_RLC_RESTORE_LIST_CNTL, | ||
| 191 | AMDGPU_UCODE_ID_RLC_RESTORE_LIST_GPM_MEM, | ||
| 192 | AMDGPU_UCODE_ID_RLC_RESTORE_LIST_SRM_MEM, | ||
| 171 | AMDGPU_UCODE_ID_STORAGE, | 193 | AMDGPU_UCODE_ID_STORAGE, | 
| 172 | AMDGPU_UCODE_ID_SMC, | 194 | AMDGPU_UCODE_ID_SMC, | 
| 173 | AMDGPU_UCODE_ID_UVD, | 195 | AMDGPU_UCODE_ID_UVD, | 
