diff options
| author | Likun Gao <[email protected]> | 2021-05-25 03:13:27 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-05-04 14:02:36 +0000 |
| commit | 641f053e3e9d89830b4e0f2d8ca6ad574435ccc1 (patch) | |
| tree | a831300d5ab7bbfd2aefefff2365be3f4a451ccd /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | |
| parent | drm/amdgpu: add irq src id for GFX11 (diff) | |
| download | kernel-641f053e3e9d89830b4e0f2d8ca6ad574435ccc1.tar.gz kernel-641f053e3e9d89830b4e0f2d8ca6ad574435ccc1.zip | |
drm/amdgpu: add gfx firmware header v2_0
We need define new firmware header to support
CP RS64 fw.
Signed-off-by: Wenhui Sheng <[email protected]>
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 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h index 1c2d1f9bf418..bf9ead9c71f3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h @@ -170,6 +170,18 @@ struct gfx_firmware_header_v1_0 { uint32_t jt_size; /* size of jt */ }; +/* version_major=2, version_minor=0 */ +struct gfx_firmware_header_v2_0 { + struct common_firmware_header header; + uint32_t ucode_feature_version; + uint32_t ucode_size_bytes; + uint32_t ucode_offset_bytes; + uint32_t data_size_bytes; + uint32_t data_offset_bytes; + uint32_t ucode_start_addr_lo; + uint32_t ucode_start_addr_hi; +}; + /* version_major=1, version_minor=0 */ struct mes_firmware_header_v1_0 { struct common_firmware_header header; @@ -326,6 +338,7 @@ union amdgpu_firmware_header { struct ta_firmware_header_v1_0 ta; struct ta_firmware_header_v2_0 ta_v2_0; struct gfx_firmware_header_v1_0 gfx; + struct gfx_firmware_header_v2_0 gfx_v2_0; struct rlc_firmware_header_v1_0 rlc; struct rlc_firmware_header_v2_0 rlc_v2_0; struct rlc_firmware_header_v2_1 rlc_v2_1; |
