diff options
| author | Likun Gao <[email protected]> | 2021-06-23 09:53:35 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-05-04 14:03:07 +0000 |
| commit | d142f56e4fa2296c5c9f4e28d8deba0ba2780607 (patch) | |
| tree | 5f9d4687730dd5a264f430c38be8b5a68eb23f9e /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | |
| parent | drm/amdgpu: add rlc TOC header file for soc21 (v2) (diff) | |
| download | kernel-d142f56e4fa2296c5c9f4e28d8deba0ba2780607.tar.gz kernel-d142f56e4fa2296c5c9f4e28d8deba0ba2780607.zip | |
drm/amdgpu: add imu fw structure
Add IMU firmware structure.
Signed-off-by: Likun Gao <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h index f535770f8092..fb88f951fb3a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h @@ -334,6 +334,15 @@ struct dmcub_firmware_header_v1_0 { uint32_t bss_data_bytes; /* size of bss/data region, in bytes */ }; +/* version_major=1, version_minor=0 */ +struct imu_firmware_header_v1_0 { + struct common_firmware_header header; + uint32_t imu_iram_ucode_size_bytes; + uint32_t imu_iram_ucode_offset_bytes; + uint32_t imu_dram_ucode_size_bytes; + uint32_t imu_dram_ucode_offset_bytes; +}; + /* header is fixed size */ union amdgpu_firmware_header { struct common_firmware_header common; @@ -358,6 +367,7 @@ union amdgpu_firmware_header { struct gpu_info_firmware_header_v1_0 gpu_info; struct dmcu_firmware_header_v1_0 dmcu; struct dmcub_firmware_header_v1_0 dmcub; + struct imu_firmware_header_v1_0 imu; uint8_t raw[0x100]; }; |
