drm/amdgpu: add gpu_info_firmware v1_1 structure for navi10
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 13 Jun 2018 03:18:42 +0000 (11:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:16:11 +0000 (21:16 -0500)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h

index ec4c2ea1f05aa50f26dc561136754ca356f0e83c..1347d3e3cea65def2109fccf275aecc98fef0a44 100644 (file)
@@ -161,6 +161,12 @@ struct gpu_info_firmware_v1_0 {
        uint32_t gc_lds_size;
 };
 
+struct gpu_info_firmware_v1_1 {
+       struct gpu_info_firmware_v1_0 v1_0;
+       uint32_t num_sc_per_sh;
+       uint32_t num_packer_per_sc;
+};
+
 /* version_major=1, version_minor=0 */
 struct gpu_info_firmware_header_v1_0 {
        struct common_firmware_header header;