/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_atomfirmware.c | 756 adev->gfx.config.max_cu_per_sh = gfx_info->v24.max_cu_per_sh; in amdgpu_atomfirmware_get_gfx_info() 774 adev->gfx.config.max_cu_per_sh = gfx_info->v27.max_cu_per_sh; in amdgpu_atomfirmware_get_gfx_info() 795 adev->gfx.config.max_cu_per_sh = gfx_info->v30.max_cu_per_sh; in amdgpu_atomfirmware_get_gfx_info()
|
A D | gfx_v6_0.c | 1524 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() 3562 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v6_0_get_cu_info() 3581 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v6_0_get_cu_info()
|
A D | amdgpu_gfx.h | 140 unsigned max_cu_per_sh; member
|
A D | gfx_v7_0.c | 3780 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v7_0_get_cu_active_bitmap() 4220 adev->gfx.config.max_cu_per_sh = 7; in gfx_v7_0_gpu_early_init() 4237 adev->gfx.config.max_cu_per_sh = 11; in gfx_v7_0_gpu_early_init() 4254 adev->gfx.config.max_cu_per_sh = 8; in gfx_v7_0_gpu_early_init() 4273 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()
|
A D | amdgpu_amdkfd.c | 488 cu_info->num_cu_per_sh = adev->gfx.config.max_cu_per_sh; in amdgpu_amdkfd_get_cu_info()
|
A D | gfx_v8_0.c | 1664 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()
|
A D | amdgpu_atombios.c | 727 adev->gfx.config.max_cu_per_sh = gfx_info->info.max_cu_per_sh; in amdgpu_atombios_get_gfx_info()
|
A D | gfx_v9_4_2.c | 1888 cu_idx < adev->gfx.config.max_cu_per_sh; in gfx_v9_4_2_query_sq_timeout_status() 1921 cu_idx < adev->gfx.config.max_cu_per_sh; in gfx_v9_4_2_reset_sq_timeout_status()
|
A D | amdgpu_discovery.c | 1324 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() 1359 adev->gfx.config.max_cu_per_sh = le32_to_cpu(gc_info->v2.gc_num_cu_per_sh); in amdgpu_discovery_get_gfx_info()
|
A D | gfx_v9_0.c | 1499 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k ++) { in gfx_v9_0_init_always_on_cu_mask() 4330 adev->gfx.config.max_cu_per_sh * in gfx_v9_0_do_edc_gpr_workarounds() 7077 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v9_0_get_cu_active_bitmap() 7128 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k ++) { in gfx_v9_0_get_cu_info() 7130 if (counter < adev->gfx.config.max_cu_per_sh) in gfx_v9_0_get_cu_info()
|
A D | amdgpu_debugfs.c | 719 config[no_regs++] = adev->gfx.config.max_cu_per_sh; in amdgpu_debugfs_gca_config_read()
|
A D | amdgpu_kms.c | 847 dev_info->num_cu_per_sh = adev->gfx.config.max_cu_per_sh; in amdgpu_info_ioctl()
|
A D | amdgpu_device.c | 2014 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() 3851 adev->gfx.config.max_cu_per_sh, in amdgpu_device_init()
|
A D | gfx_v10_0.c | 4881 int max_wgp_per_sh = adev->gfx.config.max_cu_per_sh >> 1; in gfx_v10_0_tcp_harvest() 9453 unsigned total_cu = adev->gfx.config.max_cu_per_sh * in gfx_v10_0_set_gds_init() 9494 ~amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh >> 1); in gfx_v10_0_get_wgp_active_bitmap_per_sh() 9561 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v10_0_get_cu_info() 9563 if (counter < adev->gfx.config.max_cu_per_sh) in gfx_v10_0_get_cu_info()
|
A D | gfx_v11_0.c | 6363 unsigned total_cu = adev->gfx.config.max_cu_per_sh * in gfx_v11_0_set_gds_init() 6411 amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh >> 1); in gfx_v11_0_get_wgp_active_bitmap_per_sh() 6474 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v11_0_get_cu_info()
|
/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | radeon_kms.c | 428 *value = rdev->config.cik.max_cu_per_sh; in radeon_info_ioctl() 430 *value = rdev->config.si.max_cu_per_sh; in radeon_info_ioctl()
|
A D | si.c | 3101 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() 5309 for (i = 0; i < rdev->config.si.max_cu_per_sh; i ++) { in si_get_cu_active_bitmap() 5328 for (k = 0; k < rdev->config.si.max_cu_per_sh; k++) { in si_init_ao_cu_mask()
|
A D | cik.c | 3180 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()
|
A D | radeon.h | 2164 unsigned max_cu_per_sh; member 2195 unsigned max_cu_per_sh; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_crat.c | 1382 pcache_info[i].num_cu_shared = adev->gfx.config.max_cu_per_sh; in kfd_fill_gpu_cache_info_from_gfx_config() 1392 pcache_info[i].num_cu_shared = adev->gfx.config.max_cu_per_sh; in kfd_fill_gpu_cache_info_from_gfx_config() 1402 pcache_info[i].num_cu_shared = adev->gfx.config.max_cu_per_sh; in kfd_fill_gpu_cache_info_from_gfx_config()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/include/ |
A D | atomfirmware.h | 1714 uint8_t max_cu_per_sh; member 1734 uint8_t max_cu_per_sh; member 1759 uint8_t max_cu_per_sh; member 1794 uint8_t max_cu_per_sh; member 1835 uint8_t max_cu_per_sh; member
|
A D | atombios.h | 5654 UCHAR max_cu_per_sh; member 5667 UCHAR max_cu_per_sh; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
A D | vangogh_ppt.c | 2136 uint32_t total_cu = adev->gfx.config.max_cu_per_sh * in vangogh_post_smu_init()
|