Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atomfirmware.c826 adev->gfx.config.max_cu_per_sh = gfx_info->v24.max_cu_per_sh; in amdgpu_atomfirmware_get_gfx_info()
844 adev->gfx.config.max_cu_per_sh = gfx_info->v27.max_cu_per_sh; in amdgpu_atomfirmware_get_gfx_info()
865 adev->gfx.config.max_cu_per_sh = gfx_info->v30.max_cu_per_sh; in amdgpu_atomfirmware_get_gfx_info()
H A Dgfx_v6_0.c1527 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v6_0_get_cu_enabled()
1577 adev->gfx.config.max_cu_per_sh = 8; in gfx_v6_0_constants_init()
1594 adev->gfx.config.max_cu_per_sh = 5; in gfx_v6_0_constants_init()
1611 adev->gfx.config.max_cu_per_sh = 5; in gfx_v6_0_constants_init()
1628 adev->gfx.config.max_cu_per_sh = 6; in gfx_v6_0_constants_init()
1645 adev->gfx.config.max_cu_per_sh = 5; in gfx_v6_0_constants_init()
3555 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v6_0_get_cu_info()
3574 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v6_0_get_cu_info()
H A Dgfx_v7_0.c3746 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v7_0_get_cu_active_bitmap()
4187 adev->gfx.config.max_cu_per_sh = 7; in gfx_v7_0_gpu_early_init()
4204 adev->gfx.config.max_cu_per_sh = 11; in gfx_v7_0_gpu_early_init()
4221 adev->gfx.config.max_cu_per_sh = 8; in gfx_v7_0_gpu_early_init()
4240 adev->gfx.config.max_cu_per_sh = 2; in gfx_v7_0_gpu_early_init()
5141 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v7_0_get_cu_info()
5160 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v7_0_get_cu_info()
H A Damdgpu_gfx.h190 unsigned max_cu_per_sh; member
H A Dgfx_v8_0.c1677 adev->gfx.config.max_cu_per_sh = 6; in gfx_v8_0_gpu_early_init()
1694 adev->gfx.config.max_cu_per_sh = 16; in gfx_v8_0_gpu_early_init()
1741 adev->gfx.config.max_cu_per_sh = 8; in gfx_v8_0_gpu_early_init()
1760 adev->gfx.config.max_cu_per_sh = 8; in gfx_v8_0_gpu_early_init()
1777 adev->gfx.config.max_cu_per_sh = 3; in gfx_v8_0_gpu_early_init()
1792 adev->gfx.config.max_cu_per_sh = 2; in gfx_v8_0_gpu_early_init()
7167 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v8_0_get_cu_active_bitmap()
7185 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v8_0_get_cu_info()
7202 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k ++) { in gfx_v8_0_get_cu_info()
H A Damdgpu_atombios.c727 adev->gfx.config.max_cu_per_sh = gfx_info->info.max_cu_per_sh; in amdgpu_atombios_get_gfx_info()
H A Dgfx_v9_4_2.c1867 cu_idx < adev->gfx.config.max_cu_per_sh; in gfx_v9_4_2_query_sq_timeout_status()
1900 cu_idx < adev->gfx.config.max_cu_per_sh; in gfx_v9_4_2_reset_sq_timeout_status()
H A Damdgpu_discovery.c1532 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()
1577 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 Dgfx_v9_0.c1687 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k ++) { in gfx_v9_0_init_always_on_cu_mask()
4635 adev->gfx.config.max_cu_per_sh * in gfx_v9_0_do_edc_gpr_workarounds()
7840 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v9_0_get_cu_active_bitmap()
7891 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k ++) { in gfx_v9_0_get_cu_info()
7893 if (counter < adev->gfx.config.max_cu_per_sh) in gfx_v9_0_get_cu_info()
H A Dgfx_v9_4_3.c4926 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v9_4_3_get_cu_active_bitmap()
4970 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v9_4_3_get_cu_info()
4972 if (counter < adev->gfx.config.max_cu_per_sh) in gfx_v9_4_3_get_cu_info()
H A Damdgpu_debugfs.c897 config[no_regs++] = adev->gfx.config.max_cu_per_sh; in amdgpu_debugfs_gca_config_read()
H A Damdgpu_kms.c924 dev_info->num_cu_per_sh = adev->gfx.config.max_cu_per_sh; in amdgpu_info_ioctl()
H A Dgfx_v10_0.c5149 int max_wgp_per_sh = adev->gfx.config.max_cu_per_sh >> 1; in gfx_v10_0_tcp_harvest()
9983 unsigned int total_cu = adev->gfx.config.max_cu_per_sh * in gfx_v10_0_set_gds_init()
10024 ~amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh >> 1); in gfx_v10_0_get_wgp_active_bitmap_per_sh()
10095 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v10_0_get_cu_info()
10097 if (counter < adev->gfx.config.max_cu_per_sh) in gfx_v10_0_get_cu_info()
H A Damdgpu_device.c2524 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()
4505 adev->gfx.config.max_cu_per_sh, in amdgpu_device_init()
H A Dgfx_v11_0.c7051 unsigned total_cu = adev->gfx.config.max_cu_per_sh * in gfx_v11_0_set_gds_init()
7099 amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh >> 1); in gfx_v11_0_get_wgp_active_bitmap_per_sh()
7165 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v11_0_get_cu_info()
H A Dgfx_v12_0.c5521 amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh >> 1); in gfx_v12_0_get_wgp_active_bitmap_per_sh()
5587 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_crat.c1481 pcache_info[i].num_cu_shared = adev->gfx.config.max_cu_per_sh; in kfd_fill_gpu_cache_info_from_gfx_config()
1493 pcache_info[i].num_cu_shared = adev->gfx.config.max_cu_per_sh; in kfd_fill_gpu_cache_info_from_gfx_config()
1506 pcache_info[i].num_cu_shared = adev->gfx.config.max_cu_per_sh; in kfd_fill_gpu_cache_info_from_gfx_config()
1562 pcache_info[i].num_cu_shared = adev->gfx.config.max_cu_per_sh; in kfd_fill_gpu_cache_info_from_gfx_config_v2()
1573 pcache_info[i].num_cu_shared = adev->gfx.config.max_cu_per_sh; in kfd_fill_gpu_cache_info_from_gfx_config_v2()
2282 total_num_of_cu = (cu->array_count * gfx_info->max_cu_per_sh); in kfd_create_vcrat_image_gpu()
2284 cu->num_cu_per_array = gfx_info->max_cu_per_sh; in kfd_create_vcrat_image_gpu()
H A Dkfd_topology.c1814 for (k = 0; k < gfx_info->max_cu_per_sh; k += pcache_info[ct].num_cu_shared) { in kfd_fill_cache_non_crat_info()
1830 gfx_info->max_cu_per_sh) ? in kfd_fill_cache_non_crat_info()
1832 (gfx_info->max_cu_per_sh - k); in kfd_fill_cache_non_crat_info()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_kms.c421 *value = rdev->config.cik.max_cu_per_sh; in radeon_info_ioctl()
423 *value = rdev->config.si.max_cu_per_sh; in radeon_info_ioctl()
H A Dsi.c3082 rdev->config.si.max_cu_per_sh = 8; in si_gpu_init()
3099 rdev->config.si.max_cu_per_sh = 5; in si_gpu_init()
3117 rdev->config.si.max_cu_per_sh = 5; in si_gpu_init()
3134 rdev->config.si.max_cu_per_sh = 6; in si_gpu_init()
3151 rdev->config.si.max_cu_per_sh = 5; in si_gpu_init()
3274 rdev->config.si.max_cu_per_sh); in si_gpu_init()
5294 for (i = 0; i < rdev->config.si.max_cu_per_sh; i ++) { in si_get_cu_active_bitmap()
5313 for (k = 0; k < rdev->config.si.max_cu_per_sh; k++) { in si_init_ao_cu_mask()
H A Dcik.c3180 rdev->config.cik.max_cu_per_sh = 7; in cik_gpu_init()
3197 rdev->config.cik.max_cu_per_sh = 11; in cik_gpu_init()
3214 rdev->config.cik.max_cu_per_sh = 8; in cik_gpu_init()
3233 rdev->config.cik.max_cu_per_sh = 2; in cik_gpu_init()
6539 for (i = 0; i < rdev->config.cik.max_cu_per_sh; i ++) { in cik_get_cu_active_bitmap()
6558 for (k = 0; k < rdev->config.cik.max_cu_per_sh; k ++) { in cik_init_ao_cu_mask()
H A Dradeon.h2125 unsigned max_cu_per_sh; member
2156 unsigned max_cu_per_sh; member
/linux/drivers/gpu/drm/amd/include/
H A Datomfirmware.h1795 uint8_t max_cu_per_sh; member
1815 uint8_t max_cu_per_sh; member
1840 uint8_t max_cu_per_sh; member
1875 uint8_t max_cu_per_sh; member
1916 uint8_t max_cu_per_sh; member
H A Datombios.h5654 UCHAR max_cu_per_sh; member
5667 UCHAR max_cu_per_sh; member
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dvangogh_ppt.c2224 uint32_t total_cu = adev->gfx.config.max_cu_per_sh * in vangogh_post_smu_init()