Searched refs:gc_info (Results 1 – 1 of 1) sorted by relevance
1388 union gc_info { union1399 union gc_info *gc_info; in amdgpu_discovery_get_gfx_info() local1413 gc_info = (union gc_info *)(adev->mman.discovery_bin + offset); in amdgpu_discovery_get_gfx_info()1415 switch (le16_to_cpu(gc_info->v1.header.version_major)) { in amdgpu_discovery_get_gfx_info()1417 adev->gfx.config.max_shader_engines = le32_to_cpu(gc_info->v1.gc_num_se); in amdgpu_discovery_get_gfx_info()1418 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()1419 le32_to_cpu(gc_info->v1.gc_num_wgp1_per_sa)); in amdgpu_discovery_get_gfx_info()1420 adev->gfx.config.max_sh_per_se = le32_to_cpu(gc_info->v1.gc_num_sa_per_se); in amdgpu_discovery_get_gfx_info()1421 adev->gfx.config.max_backends_per_se = le32_to_cpu(gc_info->v1.gc_num_rb_per_se); in amdgpu_discovery_get_gfx_info()1422 adev->gfx.config.max_texture_channel_caches = le32_to_cpu(gc_info->v1.gc_num_gl2c); in amdgpu_discovery_get_gfx_info()[all …]