]> Git Repo - linux.git/commitdiff
drm/amdgpu/ucode: add mes firmware file support
authorJack Xiao <[email protected]>
Mon, 15 Apr 2019 03:33:05 +0000 (11:33 +0800)
committerAlex Deucher <[email protected]>
Fri, 21 Jun 2019 23:59:27 +0000 (18:59 -0500)
The newly added firmware struct is for mes firmware file.

Signed-off-by: Jack Xiao <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h

index aaed8fe94ee3e4de082dddeda6f20bc0b79a45b2..37810e07304e49545df74076d718f281753d9346 100644 (file)
@@ -104,6 +104,21 @@ struct gfx_firmware_header_v1_0 {
        uint32_t jt_size;  /* size of jt */
 };
 
+/* version_major=1, version_minor=0 */
+struct mes_firmware_header_v1_0 {
+       struct common_firmware_header header;
+       uint32_t mes_ucode_version;
+       uint32_t mes_ucode_size_bytes;
+       uint32_t mes_ucode_offset_bytes;
+       uint32_t mes_ucode_data_version;
+       uint32_t mes_ucode_data_size_bytes;
+       uint32_t mes_ucode_data_offset_bytes;
+       uint32_t mes_uc_start_addr_lo;
+       uint32_t mes_uc_start_addr_hi;
+       uint32_t mes_data_start_addr_lo;
+       uint32_t mes_data_start_addr_hi;
+};
+
 /* version_major=1, version_minor=0 */
 struct rlc_firmware_header_v1_0 {
        struct common_firmware_header header;
This page took 0.057887 seconds and 4 git commands to generate.