/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atomfirmware.c | 826 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 D | gfx_v7_0.c | 3740 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v7_0_get_cu_active_bitmap() 4181 adev->gfx.config.max_cu_per_sh = 7; in gfx_v7_0_gpu_early_init() 4198 adev->gfx.config.max_cu_per_sh = 11; in gfx_v7_0_gpu_early_init() 4215 adev->gfx.config.max_cu_per_sh = 8; in gfx_v7_0_gpu_early_init() 4234 adev->gfx.config.max_cu_per_sh = 2; in gfx_v7_0_gpu_early_init() 5135 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v7_0_get_cu_info() 5154 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v7_0_get_cu_info()
|
H A D | amdgpu_gfx.h | 190 unsigned max_cu_per_sh; member
|
H A D | gfx_v8_0.c | 1661 adev->gfx.config.max_cu_per_sh = 6; in gfx_v8_0_gpu_early_init() 1678 adev->gfx.config.max_cu_per_sh = 16; in gfx_v8_0_gpu_early_init() 1725 adev->gfx.config.max_cu_per_sh = 8; in gfx_v8_0_gpu_early_init() 1744 adev->gfx.config.max_cu_per_sh = 8; in gfx_v8_0_gpu_early_init() 1761 adev->gfx.config.max_cu_per_sh = 3; in gfx_v8_0_gpu_early_init() 1776 adev->gfx.config.max_cu_per_sh = 2; in gfx_v8_0_gpu_early_init() 7157 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v8_0_get_cu_active_bitmap() 7175 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v8_0_get_cu_info() 7192 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k ++) { in gfx_v8_0_get_cu_info()
|
H 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()
|
H A D | gfx_v9_4_2.c | 1867 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 D | amdgpu_discovery.c | 1530 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() 1575 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 D | gfx_v9_0.c | 1677 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k ++) { in gfx_v9_0_init_always_on_cu_mask() 4627 adev->gfx.config.max_cu_per_sh * in gfx_v9_0_do_edc_gpr_workarounds() 7810 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v9_0_get_cu_active_bitmap() 7861 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k ++) { in gfx_v9_0_get_cu_info() 7863 if (counter < adev->gfx.config.max_cu_per_sh) in gfx_v9_0_get_cu_info()
|
H A D | amdgpu_debugfs.c | 897 config[no_regs++] = adev->gfx.config.max_cu_per_sh; in amdgpu_debugfs_gca_config_read()
|
H A D | amdgpu_kms.c | 924 dev_info->num_cu_per_sh = adev->gfx.config.max_cu_per_sh; in amdgpu_info_ioctl()
|
H A D | gfx_v10_0.c | 5126 int max_wgp_per_sh = adev->gfx.config.max_cu_per_sh >> 1; in gfx_v10_0_tcp_harvest() 9964 unsigned int total_cu = adev->gfx.config.max_cu_per_sh * in gfx_v10_0_set_gds_init() 10005 ~amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh >> 1); in gfx_v10_0_get_wgp_active_bitmap_per_sh() 10076 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v10_0_get_cu_info() 10078 if (counter < adev->gfx.config.max_cu_per_sh) in gfx_v10_0_get_cu_info()
|
H A D | amdgpu_device.c | 2513 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() 4494 adev->gfx.config.max_cu_per_sh, in amdgpu_device_init()
|
H A D | gfx_v11_0.c | 7060 unsigned total_cu = adev->gfx.config.max_cu_per_sh * in gfx_v11_0_set_gds_init() 7108 amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh >> 1); in gfx_v11_0_get_wgp_active_bitmap_per_sh() 7174 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v11_0_get_cu_info()
|
H A D | gfx_v12_0.c | 5518 amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh >> 1); in gfx_v12_0_get_wgp_active_bitmap_per_sh() 5584 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v12_0_get_cu_info()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_kms.c | 421 *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 D | si.c | 3082 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 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()
|
H A D | radeon.h | 2124 unsigned max_cu_per_sh; member 2155 unsigned max_cu_per_sh; member
|
/linux/drivers/gpu/drm/amd/include/ |
H A D | atomfirmware.h | 1790 uint8_t max_cu_per_sh; member 1810 uint8_t max_cu_per_sh; member 1835 uint8_t max_cu_per_sh; member 1870 uint8_t max_cu_per_sh; member 1911 uint8_t max_cu_per_sh; member
|
H A D | atombios.h | 5654 UCHAR max_cu_per_sh; member 5667 UCHAR max_cu_per_sh; member
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_topology.c | 1813 for (k = 0; k < gfx_info->max_cu_per_sh; k += pcache_info[ct].num_cu_shared) { in kfd_fill_cache_non_crat_info() 1829 gfx_info->max_cu_per_sh) ? in kfd_fill_cache_non_crat_info() 1831 (gfx_info->max_cu_per_sh - k); in kfd_fill_cache_non_crat_info()
|