Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c444 adev->gfx.config.max_cu_per_sh = gfx_info->v24.max_cu_per_sh; in amdgpu_atomfirmware_get_gfx_info()
Damdgpu_gfx.h129 unsigned max_cu_per_sh; member
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()
3584 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v6_0_get_cu_info()
3603 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v6_0_get_cu_info()
Damdgpu_discovery.c396 adev->gfx.config.max_cu_per_sh = 2 * (le32_to_cpu(gc_info->gc_num_wgp0_per_sa) + in amdgpu_discovery_get_gfx_info()
Dgfx_v7_0.c3832 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v7_0_get_cu_active_bitmap()
4269 adev->gfx.config.max_cu_per_sh = 7; in gfx_v7_0_gpu_early_init()
4286 adev->gfx.config.max_cu_per_sh = 11; in gfx_v7_0_gpu_early_init()
4303 adev->gfx.config.max_cu_per_sh = 8; in gfx_v7_0_gpu_early_init()
4322 adev->gfx.config.max_cu_per_sh = 2; in gfx_v7_0_gpu_early_init()
5117 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v7_0_get_cu_info()
5136 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k ++) { in gfx_v7_0_get_cu_info()
Damdgpu_amdkfd.c494 cu_info->num_cu_per_sh = adev->gfx.config.max_cu_per_sh; in amdgpu_amdkfd_get_cu_info()
Dgfx_v8_0.c1722 adev->gfx.config.max_cu_per_sh = 6; in gfx_v8_0_gpu_early_init()
1739 adev->gfx.config.max_cu_per_sh = 16; in gfx_v8_0_gpu_early_init()
1786 adev->gfx.config.max_cu_per_sh = 8; in gfx_v8_0_gpu_early_init()
1805 adev->gfx.config.max_cu_per_sh = 8; in gfx_v8_0_gpu_early_init()
1822 adev->gfx.config.max_cu_per_sh = 3; in gfx_v8_0_gpu_early_init()
1837 adev->gfx.config.max_cu_per_sh = 2; in gfx_v8_0_gpu_early_init()
7107 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v8_0_get_cu_active_bitmap()
7125 ao_cu_num = adev->gfx.config.max_cu_per_sh; in gfx_v8_0_get_cu_info()
7142 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k ++) { in gfx_v8_0_get_cu_info()
Damdgpu_debugfs.c488 config[no_regs++] = adev->gfx.config.max_cu_per_sh; in amdgpu_debugfs_gca_config_read()
Damdgpu_atombios.c743 adev->gfx.config.max_cu_per_sh = gfx_info->info.max_cu_per_sh; in amdgpu_atombios_get_gfx_info()
Dgfx_v10_0.c1654 int max_wgp_per_sh = adev->gfx.config.max_cu_per_sh >> 1; in gfx_v10_0_tcp_harvest()
5371 amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh >> 1); in gfx_v10_0_get_wgp_active_bitmap_per_sh()
5419 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k++) { in gfx_v10_0_get_cu_info()
5421 if (counter < adev->gfx.config.max_cu_per_sh) in gfx_v10_0_get_cu_info()
Damdgpu_kms.c748 dev_info.num_cu_per_sh = adev->gfx.config.max_cu_per_sh; in amdgpu_info_ioctl()
Dgfx_v9_0.c1516 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k ++) { in gfx_v9_0_init_always_on_cu_mask()
6450 mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_cu_per_sh); in gfx_v9_0_get_cu_active_bitmap()
6501 for (k = 0; k < adev->gfx.config.max_cu_per_sh; k ++) { in gfx_v9_0_get_cu_info()
6503 if (counter < adev->gfx.config.max_cu_per_sh) in gfx_v9_0_get_cu_info()
Damdgpu_device.c1473 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()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_kms.c407 *value = rdev->config.cik.max_cu_per_sh; in radeon_info_ioctl()
409 *value = rdev->config.si.max_cu_per_sh; in radeon_info_ioctl()
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()
5314 for (i = 0; i < rdev->config.si.max_cu_per_sh; i ++) { in si_get_cu_active_bitmap()
5333 for (k = 0; k < rdev->config.si.max_cu_per_sh; k++) { in si_init_ao_cu_mask()
Dcik.c3194 rdev->config.cik.max_cu_per_sh = 7; in cik_gpu_init()
3211 rdev->config.cik.max_cu_per_sh = 11; in cik_gpu_init()
3228 rdev->config.cik.max_cu_per_sh = 8; in cik_gpu_init()
3247 rdev->config.cik.max_cu_per_sh = 2; in cik_gpu_init()
6554 for (i = 0; i < rdev->config.cik.max_cu_per_sh; i ++) { in cik_get_cu_active_bitmap()
6573 for (k = 0; k < rdev->config.cik.max_cu_per_sh; k ++) { in cik_init_ao_cu_mask()
Dradeon.h2131 unsigned max_cu_per_sh; member
2162 unsigned max_cu_per_sh; member
/Linux-v5.4/drivers/gpu/drm/amd/include/
Datomfirmware.h1225 uint8_t max_cu_per_sh; member
1245 uint8_t max_cu_per_sh; member
1270 uint8_t max_cu_per_sh; member
Datombios.h5652 UCHAR max_cu_per_sh; member