Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atomfirmware.c777 adev->gfx.config.max_cu_per_sh = gfx_info->v24.max_cu_per_sh; in amdgpu_atomfirmware_get_gfx_info()
795 adev->gfx.config.max_cu_per_sh = gfx_info->v27.max_cu_per_sh; in amdgpu_atomfirmware_get_gfx_info()
816 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.c1524 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v6_0_get_cu_enabled()
1574 adev->gfx.config.max_cu_per_sh = 8; in gfx_v6_0_constants_init()
1591 adev->gfx.config.max_cu_per_sh = 5; 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 = 6; in gfx_v6_0_constants_init()
1642 adev->gfx.config.max_cu_per_sh = 5; in gfx_v6_0_constants_init()
3563 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v6_0_get_cu_info()
3582 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v6_0_get_cu_info()
H A Damdgpu_gfx.h190 unsigned max_cu_per_sh; member
H A Dgfx_v7_0.c3778 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v7_0_get_cu_active_bitmap()
4219 adev->gfx.config.max_cu_per_sh = 7; in gfx_v7_0_gpu_early_init()
4236 adev->gfx.config.max_cu_per_sh = 11; in gfx_v7_0_gpu_early_init()
4253 adev->gfx.config.max_cu_per_sh = 8; in gfx_v7_0_gpu_early_init()
4272 adev->gfx.config.max_cu_per_sh = 2; in gfx_v7_0_gpu_early_init()
5105 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v7_0_get_cu_info()
5124 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v7_0_get_cu_info()
H A Damdgpu_amdkfd.c484 cu_info->num_cu_per_sh = adev->gfx.config.max_cu_per_sh; in amdgpu_amdkfd_get_cu_info()
H A Dgfx_v8_0.c1664 adev->gfx.config.max_cu_per_sh = 6; in gfx_v8_0_gpu_early_init()
1681 adev->gfx.config.max_cu_per_sh = 16; in gfx_v8_0_gpu_early_init()
1728 adev->gfx.config.max_cu_per_sh = 8; in gfx_v8_0_gpu_early_init()
1747 adev->gfx.config.max_cu_per_sh = 8; in gfx_v8_0_gpu_early_init()
1764 adev->gfx.config.max_cu_per_sh = 3; in gfx_v8_0_gpu_early_init()
1779 adev->gfx.config.max_cu_per_sh = 2; in gfx_v8_0_gpu_early_init()
7091 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v8_0_get_cu_active_bitmap()
7109 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v8_0_get_cu_info()
7126 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k ++) { in gfx_v8_0_get_cu_info()
H A Dgfx_v9_4_3.c3954 for (cu_idx = 0; cu_idx < adev->gfx.config.max_cu_per_sh; cu_idx++) { in gfx_v9_4_3_inst_query_sq_timeout_status()
4023 for (cu_idx = 0; cu_idx < adev->gfx.config.max_cu_per_sh; cu_idx++) { in gfx_v9_4_3_inst_reset_sq_timeout_status()
4285 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v9_4_3_get_cu_active_bitmap()
4327 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v9_4_3_get_cu_info()
4329 if (counter < adev->gfx.config.max_cu_per_sh) in gfx_v9_4_3_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.c1869 cu_idx < adev->gfx.config.max_cu_per_sh; in gfx_v9_4_2_query_sq_timeout_status()
1902 cu_idx < adev->gfx.config.max_cu_per_sh; in gfx_v9_4_2_reset_sq_timeout_status()
H A Damdgpu_discovery.c1437 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()
1472 adev->gfx.config.max_cu_per_sh = le32_to_cpu(gc_info->v2.gc_num_cu_per_sh); in amdgpu_discovery_get_gfx_info()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atomfirmware.c478 adev->gfx.config.max_cu_per_sh = gfx_info->v24.max_cu_per_sh; in amdgpu_atomfirmware_get_gfx_info()
H A Damdgpu_discovery.c396 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()
416 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_gfx.h143 unsigned max_cu_per_sh; member
H A Dgfx_v6_0.c1538 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v6_0_get_cu_enabled()
1588 adev->gfx.config.max_cu_per_sh = 8; in gfx_v6_0_constants_init()
1605 adev->gfx.config.max_cu_per_sh = 5; in gfx_v6_0_constants_init()
1622 adev->gfx.config.max_cu_per_sh = 5; in gfx_v6_0_constants_init()
1639 adev->gfx.config.max_cu_per_sh = 6; in gfx_v6_0_constants_init()
1656 adev->gfx.config.max_cu_per_sh = 5; in gfx_v6_0_constants_init()
3598 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v6_0_get_cu_info()
3617 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v6_0_get_cu_info()
H A Dgfx_v7_0.c3840 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v7_0_get_cu_active_bitmap()
4278 adev->gfx.config.max_cu_per_sh = 7; in gfx_v7_0_gpu_early_init()
4295 adev->gfx.config.max_cu_per_sh = 11; in gfx_v7_0_gpu_early_init()
4312 adev->gfx.config.max_cu_per_sh = 8; in gfx_v7_0_gpu_early_init()
4331 adev->gfx.config.max_cu_per_sh = 2; in gfx_v7_0_gpu_early_init()
5165 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v7_0_get_cu_info()
5184 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k ++) { in gfx_v7_0_get_cu_info()
H A Damdgpu_amdkfd.c467 cu_info->num_cu_per_sh = adev->gfx.config.max_cu_per_sh; in amdgpu_amdkfd_get_cu_info()
H A Dgfx_v8_0.c1696 adev->gfx.config.max_cu_per_sh = 6; in gfx_v8_0_gpu_early_init()
1713 adev->gfx.config.max_cu_per_sh = 16; in gfx_v8_0_gpu_early_init()
1760 adev->gfx.config.max_cu_per_sh = 8; in gfx_v8_0_gpu_early_init()
1779 adev->gfx.config.max_cu_per_sh = 8; in gfx_v8_0_gpu_early_init()
1796 adev->gfx.config.max_cu_per_sh = 3; in gfx_v8_0_gpu_early_init()
1811 adev->gfx.config.max_cu_per_sh = 2; in gfx_v8_0_gpu_early_init()
7055 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v8_0_get_cu_active_bitmap()
7073 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v8_0_get_cu_info()
7090 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_kms.c413 *value = rdev->config.cik.max_cu_per_sh; in radeon_info_ioctl()
415 *value = rdev->config.si.max_cu_per_sh; in radeon_info_ioctl()
H A Dsi.c3106 rdev->config.si.max_cu_per_sh = 8; in si_gpu_init()
3123 rdev->config.si.max_cu_per_sh = 5; in si_gpu_init()
3141 rdev->config.si.max_cu_per_sh = 5; in si_gpu_init()
3158 rdev->config.si.max_cu_per_sh = 6; in si_gpu_init()
3175 rdev->config.si.max_cu_per_sh = 5; in si_gpu_init()
3298 rdev->config.si.max_cu_per_sh); in si_gpu_init()
5318 for (i = 0; i < rdev->config.si.max_cu_per_sh; i ++) { in si_get_cu_active_bitmap()
5337 for (k = 0; k < rdev->config.si.max_cu_per_sh; k++) { in si_init_ao_cu_mask()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_kms.c427 *value = rdev->config.cik.max_cu_per_sh; in radeon_info_ioctl()
429 *value = rdev->config.si.max_cu_per_sh; in radeon_info_ioctl()
H A Dsi.c3101 rdev->config.si.max_cu_per_sh = 8; in si_gpu_init()
3118 rdev->config.si.max_cu_per_sh = 5; in si_gpu_init()
3136 rdev->config.si.max_cu_per_sh = 5; in si_gpu_init()
3153 rdev->config.si.max_cu_per_sh = 6; in si_gpu_init()
3170 rdev->config.si.max_cu_per_sh = 5; in si_gpu_init()
3293 rdev->config.si.max_cu_per_sh); in si_gpu_init()
5313 for (i = 0; i < rdev->config.si.max_cu_per_sh; i ++) { in si_get_cu_active_bitmap()
5332 for (k = 0; k < rdev->config.si.max_cu_per_sh; k++) { in si_init_ao_cu_mask()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c1381 pcache_info[i].num_cu_shared = adev->gfx.config.max_cu_per_sh; in kfd_fill_gpu_cache_info_from_gfx_config()
1391 pcache_info[i].num_cu_shared = adev->gfx.config.max_cu_per_sh; in kfd_fill_gpu_cache_info_from_gfx_config()
1401 pcache_info[i].num_cu_shared = adev->gfx.config.max_cu_per_sh; in kfd_fill_gpu_cache_info_from_gfx_config()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/include/
H A Datomfirmware.h1715 uint8_t max_cu_per_sh; member
1735 uint8_t max_cu_per_sh; member
1760 uint8_t max_cu_per_sh; member
1795 uint8_t max_cu_per_sh; member
1836 uint8_t max_cu_per_sh; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/
H A Datomfirmware.h1394 uint8_t max_cu_per_sh; member
1414 uint8_t max_cu_per_sh; member
1439 uint8_t max_cu_per_sh; member

Completed in 99 milliseconds

12