diff options
| author | Lang Yu <[email protected]> | 2023-05-10 08:13:26 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-31 20:40:45 +0000 |
| commit | 9c852a42a9f0af23f24abf7fac248d0455f39350 (patch) | |
| tree | 68562f2fd421ab8d76e3bd232c69af80e293df89 | |
| parent | drm/amdgpu: add UMSCH RING TYPE definition (diff) | |
| download | kernel-9c852a42a9f0af23f24abf7fac248d0455f39350.tar.gz kernel-9c852a42a9f0af23f24abf7fac248d0455f39350.zip | |
drm/amdgpu: add UMSCH firmware header definition
Add firmware header definition for UMSCH.
Signed-off-by: Lang Yu <[email protected]>
Reviewed-by: Leo Liu <[email protected]>
Reviewed-by: Veerabadhran Gopalakrishnan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h index 4db6d0090893..e153dd3d6b88 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h @@ -328,6 +328,23 @@ struct vpe_firmware_header_v1_0 { uint32_t ctl_jt_size; /* control thread size of jt */ }; +/* version_major=1, version_minor=0 */ +struct umsch_mm_firmware_header_v1_0 { + struct common_firmware_header header; + uint32_t umsch_mm_ucode_version; + uint32_t umsch_mm_ucode_size_bytes; + uint32_t umsch_mm_ucode_offset_bytes; + uint32_t umsch_mm_ucode_data_version; + uint32_t umsch_mm_ucode_data_size_bytes; + uint32_t umsch_mm_ucode_data_offset_bytes; + uint32_t umsch_mm_irq_start_addr_lo; + uint32_t umsch_mm_irq_start_addr_hi; + uint32_t umsch_mm_uc_start_addr_lo; + uint32_t umsch_mm_uc_start_addr_hi; + uint32_t umsch_mm_data_start_addr_lo; + uint32_t umsch_mm_data_start_addr_hi; +}; + /* gpu info payload */ struct gpu_info_firmware_v1_0 { uint32_t gc_num_se; |
