Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu/ucode: add mes firmware file support

The newly added firmware struct is for mes firmware file.

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Jack Xiao and committed by
Alex Deucher
7f785e78 186b0ca2

+15
+15
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
··· 105 105 }; 106 106 107 107 /* version_major=1, version_minor=0 */ 108 + struct mes_firmware_header_v1_0 { 109 + struct common_firmware_header header; 110 + uint32_t mes_ucode_version; 111 + uint32_t mes_ucode_size_bytes; 112 + uint32_t mes_ucode_offset_bytes; 113 + uint32_t mes_ucode_data_version; 114 + uint32_t mes_ucode_data_size_bytes; 115 + uint32_t mes_ucode_data_offset_bytes; 116 + uint32_t mes_uc_start_addr_lo; 117 + uint32_t mes_uc_start_addr_hi; 118 + uint32_t mes_data_start_addr_lo; 119 + uint32_t mes_data_start_addr_hi; 120 + }; 121 + 122 + /* version_major=1, version_minor=0 */ 108 123 struct rlc_firmware_header_v1_0 { 109 124 struct common_firmware_header header; 110 125 uint32_t ucode_feature_version;