diff options
author | 2023-05-10 16:13:26 +0800 | |
---|---|---|
committer | 2023-08-31 16:40:45 -0400 | |
commit | 9c852a42a9f0af23f24abf7fac248d0455f39350 (patch) | |
tree | 68562f2fd421ab8d76e3bd232c69af80e293df89 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | |
parent | drm/amdgpu: add UMSCH RING TYPE definition (diff) | |
download | linux-9c852a42a9f0af23f24abf7fac248d0455f39350.tar.gz linux-9c852a42a9f0af23f24abf7fac248d0455f39350.tar.bz2 linux-9c852a42a9f0af23f24abf7fac248d0455f39350.zip |
drm/amdgpu: add UMSCH firmware header definition
Add firmware header definition for UMSCH.
Signed-off-by: Lang Yu <Lang.Yu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Veerabadhran Gopalakrishnan <Veerabadhran.Gopalakrishnan@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 | 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; |