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

drm/amdgpu: add gpu_info_firmware v1_1 structure for navi10

two new members that specific for navi10 are included in v2_0:
num_sc_per_sh and num_packer_per_sc

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

authored by

Hawking Zhang and committed by
Alex Deucher
109c80dd 23c6268e

+6
+6
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
··· 161 161 uint32_t gc_lds_size; 162 162 }; 163 163 164 + struct gpu_info_firmware_v1_1 { 165 + struct gpu_info_firmware_v1_0 v1_0; 166 + uint32_t num_sc_per_sh; 167 + uint32_t num_packer_per_sc; 168 + }; 169 + 164 170 /* version_major=1, version_minor=0 */ 165 171 struct gpu_info_firmware_header_v1_0 { 166 172 struct common_firmware_header header;