Home
last modified time | relevance | path

Searched refs:max_cu_per_sh (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v6_0.c1541 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v6_0_get_cu_enabled()
1591 adev->gfx.config.max_cu_per_sh = 8; in gfx_v6_0_constants_init()
1608 adev->gfx.config.max_cu_per_sh = 5; in gfx_v6_0_constants_init()
1625 adev->gfx.config.max_cu_per_sh = 5; in gfx_v6_0_constants_init()
1642 adev->gfx.config.max_cu_per_sh = 6; in gfx_v6_0_constants_init()
1659 adev->gfx.config.max_cu_per_sh = 5; in gfx_v6_0_constants_init()
3554 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v6_0_get_cu_info()
3573 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v6_0_get_cu_info()
H A Dgfx_v7_0.c3749 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v7_0_get_cu_active_bitmap()
4144 adev->gfx.config.max_cu_per_sh = 7; in gfx_v7_0_gpu_early_init()
4161 adev->gfx.config.max_cu_per_sh = 11; in gfx_v7_0_gpu_early_init()
4178 adev->gfx.config.max_cu_per_sh = 8; in gfx_v7_0_gpu_early_init()
4197 adev->gfx.config.max_cu_per_sh = 2; in gfx_v7_0_gpu_early_init()
5032 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v7_0_get_cu_info()
5051 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v7_0_get_cu_info()
H A Damdgpu_discovery.c1645 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()
1690 adev->gfx.config.max_cu_per_sh = le32_to_cpu(gc_info->v2.gc_num_cu_per_sh); in amdgpu_discovery_get_gfx_info()
H A Damdgpu_kms.c995 dev_info->num_cu_per_sh = adev->gfx.config.max_cu_per_sh; in amdgpu_info_ioctl()
H A Dgfx_v10_0.c5257 int max_wgp_per_sh = adev->gfx.config.max_cu_per_sh >> 1; in gfx_v10_0_tcp_harvest()
10041 unsigned int total_cu = adev->gfx.config.max_cu_per_sh * in gfx_v10_0_set_gds_init()
10082 ~amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh >> 1); in gfx_v10_0_get_wgp_active_bitmap_per_sh()
10153 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v10_0_get_cu_info()
10155 if (counter < adev->gfx.config.max_cu_per_sh) in gfx_v10_0_get_cu_info()
H A Dgfx_v11_0.c7402 unsigned total_cu = adev->gfx.config.max_cu_per_sh * in gfx_v11_0_set_gds_init()
7450 amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh >> 1); in gfx_v11_0_get_wgp_active_bitmap_per_sh()
7516 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v11_0_get_cu_info()
H A Damdgpu_device.c2699 adev->gfx.config.max_cu_per_sh = le32_to_cpu(gpu_info_fw->gc_num_cu_per_sh); in amdgpu_device_parse_gpu_info_fw()
4890 adev->gfx.config.max_cu_per_sh, in amdgpu_device_init()
H A Dgfx_v12_0.c5694 amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh >> 1); in gfx_v12_0_get_wgp_active_bitmap_per_sh()
5760 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v12_0_get_cu_info()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c1832 for (k = 0; k < gfx_info->max_cu_per_sh; k += pcache_info[ct].num_cu_shared) { in kfd_fill_cache_non_crat_info()
1848 gfx_info->max_cu_per_sh) ? in kfd_fill_cache_non_crat_info()
1850 (gfx_info->max_cu_per_sh - k); in kfd_fill_cache_non_crat_info()
/linux/drivers/gpu/drm/amd/include/
H A Datombios.h5654 UCHAR max_cu_per_sh; member
5667 UCHAR max_cu_per_sh; member