Searched refs:gc_info (Results 1 – 1 of 1) sorted by relevance
1499 union gc_info { union1511 union gc_info *gc_info; in amdgpu_discovery_get_gfx_info() local1525 gc_info = (union gc_info *)(adev->mman.discovery_bin + offset); in amdgpu_discovery_get_gfx_info()1527 switch (le16_to_cpu(gc_info->v1.header.version_major)) { in amdgpu_discovery_get_gfx_info()1529 adev->gfx.config.max_shader_engines = le32_to_cpu(gc_info->v1.gc_num_se); in amdgpu_discovery_get_gfx_info()1530 adev->gfx.config.max_cu_per_sh = 2 * (le32_to_cpu(gc_info->v1.gc_num_wgp0_per_sa) + in amdgpu_discovery_get_gfx_info()1531 le32_to_cpu(gc_info->v1.gc_num_wgp1_per_sa)); in amdgpu_discovery_get_gfx_info()1532 adev->gfx.config.max_sh_per_se = le32_to_cpu(gc_info->v1.gc_num_sa_per_se); in amdgpu_discovery_get_gfx_info()1533 adev->gfx.config.max_backends_per_se = le32_to_cpu(gc_info->v1.gc_num_rb_per_se); in amdgpu_discovery_get_gfx_info()1534 adev->gfx.config.max_texture_channel_caches = le32_to_cpu(gc_info->v1.gc_num_gl2c); in amdgpu_discovery_get_gfx_info()[all …]