Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c778 adev->gfx.config.max_sh_per_se = gfx_info->v24.max_sh_per_se; in amdgpu_atomfirmware_get_gfx_info()
796 adev->gfx.config.max_sh_per_se = gfx_info->v27.max_sh_per_se; in amdgpu_atomfirmware_get_gfx_info()
817 adev->gfx.config.max_sh_per_se = gfx_info->v30.max_sh_per_se; in amdgpu_atomfirmware_get_gfx_info()
Dgfx_v6_0.c1322 adev->gfx.config.max_sh_per_se); in gfx_v6_0_get_rb_active_bitmap()
1363 unsigned sh_per_se = max_t(unsigned, adev->gfx.config.max_sh_per_se, 1); in gfx_v6_0_write_harvested_raster_configs()
1456 adev->gfx.config.max_sh_per_se; in gfx_v6_0_setup_rb()
1461 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v6_0_setup_rb()
1465 ((i * adev->gfx.config.max_sh_per_se + j) * in gfx_v6_0_setup_rb()
1489 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v6_0_setup_rb()
1537 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v6_0_setup_spi()
1575 adev->gfx.config.max_sh_per_se = 2; in gfx_v6_0_constants_init()
1592 adev->gfx.config.max_sh_per_se = 2; in gfx_v6_0_constants_init()
1609 adev->gfx.config.max_sh_per_se = 2; in gfx_v6_0_constants_init()
[all …]
Dgfx_v7_0.c1597 adev->gfx.config.max_sh_per_se); in gfx_v7_0_get_rb_active_bitmap()
1639 unsigned sh_per_se = max_t(unsigned, adev->gfx.config.max_sh_per_se, 1); in gfx_v7_0_write_harvested_raster_configs()
1757 adev->gfx.config.max_sh_per_se; in gfx_v7_0_setup_rb()
1762 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v7_0_setup_rb()
1765 active_rbs |= data << ((i * adev->gfx.config.max_sh_per_se + j) * in gfx_v7_0_setup_rb()
1791 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v7_0_setup_rb()
3301 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v7_0_wait_for_rlc_serdes()
4220 adev->gfx.config.max_sh_per_se = 1; in gfx_v7_0_gpu_early_init()
4237 adev->gfx.config.max_sh_per_se = 1; in gfx_v7_0_gpu_early_init()
4255 adev->gfx.config.max_sh_per_se = 1; in gfx_v7_0_gpu_early_init()
[all …]
Dgfx_v8_0.c1665 adev->gfx.config.max_sh_per_se = 1; in gfx_v8_0_gpu_early_init()
1682 adev->gfx.config.max_sh_per_se = 1; in gfx_v8_0_gpu_early_init()
1729 adev->gfx.config.max_sh_per_se = 1; in gfx_v8_0_gpu_early_init()
1745 adev->gfx.config.max_sh_per_se = 1; in gfx_v8_0_gpu_early_init()
1762 adev->gfx.config.max_sh_per_se = 1; in gfx_v8_0_gpu_early_init()
1780 adev->gfx.config.max_sh_per_se = 1; in gfx_v8_0_gpu_early_init()
3437 adev->gfx.config.max_sh_per_se); in gfx_v8_0_get_rb_active_bitmap()
3488 unsigned sh_per_se = max_t(unsigned, adev->gfx.config.max_sh_per_se, 1); in gfx_v8_0_write_harvested_raster_configs()
3599 adev->gfx.config.max_sh_per_se; in gfx_v8_0_setup_rb()
3604 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v8_0_setup_rb()
[all …]
Damdgpu_gfx.h191 unsigned max_sh_per_se; member
Dgfx_v9_4_3.c1124 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v9_4_3_xcc_wait_for_rlc_serdes()
3953 for (sh_idx = 0; sh_idx < adev->gfx.config.max_sh_per_se; sh_idx++) { in gfx_v9_4_3_inst_query_sq_timeout_status()
4022 for (sh_idx = 0; sh_idx < adev->gfx.config.max_sh_per_se; sh_idx++) { in gfx_v9_4_3_inst_reset_sq_timeout_status()
4304 adev->gfx.config.max_sh_per_se > 16) in gfx_v9_4_3_get_cu_info()
4309 adev->gfx.config.max_sh_per_se); in gfx_v9_4_3_get_cu_info()
4314 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v9_4_3_get_cu_info()
4321 disable_masks[i * adev->gfx.config.max_sh_per_se + j], in gfx_v9_4_3_get_cu_info()
Dgfx_v9_0.c1495 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v9_0_init_always_on_cu_mask()
2253 adev->gfx.config.max_sh_per_se); in gfx_v9_0_get_rb_active_bitmap()
2264 adev->gfx.config.max_sh_per_se; in gfx_v9_0_setup_rb()
2268 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v9_0_setup_rb()
2271 active_rbs |= data << ((i * adev->gfx.config.max_sh_per_se + j) * in gfx_v9_0_setup_rb()
2434 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v9_0_wait_for_rlc_serdes()
4353 adev->gfx.config.max_sh_per_se; in gfx_v9_0_do_edc_gpr_workarounds()
7214 adev->gfx.config.max_sh_per_se > 16) in gfx_v9_0_get_cu_info()
7219 adev->gfx.config.max_sh_per_se); in gfx_v9_0_get_cu_info()
7223 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v9_0_get_cu_info()
[all …]
Damdgpu_debugfs.c130 if ((sh_bank != 0xFFFFFFFF && sh_bank >= adev->gfx.config.max_sh_per_se) || in amdgpu_debugfs_process_reg_op()
256 if ((rd->id.grbm.sh != 0xFFFFFFFF && rd->id.grbm.sh >= adev->gfx.config.max_sh_per_se) || in amdgpu_debugfs_regs2_op()
891 config[no_regs++] = adev->gfx.config.max_sh_per_se; in amdgpu_debugfs_gca_config_read()
Damdgpu_amdkfd.c483 cu_info->num_shader_arrays_per_engine = adev->gfx.config.max_sh_per_se; in amdgpu_amdkfd_get_cu_info()
Dgfx_v10_0.c4729 adev->gfx.config.max_sh_per_se); in gfx_v10_0_get_rb_active_bitmap()
4741 adev->gfx.config.max_sh_per_se; in gfx_v10_0_setup_rb()
4745 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v10_0_setup_rb()
4746 bitmap = i * adev->gfx.config.max_sh_per_se + j; in gfx_v10_0_setup_rb()
4754 active_rbs |= data << ((i * adev->gfx.config.max_sh_per_se + j) * in gfx_v10_0_setup_rb()
4781 num_sc = adev->gfx.config.max_shader_engines * adev->gfx.config.max_sh_per_se * in gfx_v10_0_init_pa_sc_tile_steering_override()
4915 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v10_0_tcp_harvest()
9342 adev->gfx.config.max_sh_per_se * in gfx_v10_0_set_gds_init()
9431 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v10_0_get_cu_info()
9432 bitmap = i * adev->gfx.config.max_sh_per_se + j; in gfx_v10_0_get_cu_info()
[all …]
Dgfxhub_v2_1.c548 adev->gfx.config.max_sh_per_se * in gfxhub_v2_1_utcl2_harvest()
Damdgpu_atombios.c728 adev->gfx.config.max_sh_per_se = gfx_info->info.max_sh_per_se; in amdgpu_atombios_get_gfx_info()
Dgfx_v9_4_2.c1866 for (sh_idx = 0; sh_idx < adev->gfx.config.max_sh_per_se; in gfx_v9_4_2_query_sq_timeout_status()
1899 for (sh_idx = 0; sh_idx < adev->gfx.config.max_sh_per_se; in gfx_v9_4_2_reset_sq_timeout_status()
Dgfx_v11_0.c1570 sa_mask = amdgpu_gfx_create_bitmask(adev->gfx.config.max_sh_per_se * in gfx_v11_0_get_sa_active_bitmap()
1611 adev->gfx.config.max_sh_per_se; in gfx_v11_0_setup_rb()
1613 adev->gfx.config.max_sh_per_se; in gfx_v11_0_setup_rb()
6271 adev->gfx.config.max_sh_per_se * in gfx_v11_0_set_gds_init()
6355 for (j = 0; j < adev->gfx.config.max_sh_per_se; j++) { in gfx_v11_0_get_cu_info()
6356 bitmap = i * adev->gfx.config.max_sh_per_se + j; in gfx_v11_0_get_cu_info()
Damdgpu_amdkfd_gfx_v9.c1053 sh_cnt = adev->gfx.config.max_sh_per_se; in kgd_gfx_v9_get_cu_occupancy()
Damdgpu_discovery.c1439 adev->gfx.config.max_sh_per_se = le32_to_cpu(gc_info->v1.gc_num_sa_per_se); in amdgpu_discovery_get_gfx_info()
1473 adev->gfx.config.max_sh_per_se = le32_to_cpu(gc_info->v2.gc_num_sh_per_se); in amdgpu_discovery_get_gfx_info()
Damdgpu_kms.c787 dev_info->num_shader_arrays_per_engine = adev->gfx.config.max_sh_per_se; in amdgpu_info_ioctl()
Damdgpu_device.c1955 adev->gfx.config.max_sh_per_se = le32_to_cpu(gpu_info_fw->gc_num_sh_per_se); in amdgpu_device_parse_gpu_info_fw()
3812 adev->gfx.config.max_sh_per_se, in amdgpu_device_init()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_kms.c465 *value = rdev->config.cik.max_sh_per_se; in radeon_info_ioctl()
467 *value = rdev->config.si.max_sh_per_se; in radeon_info_ioctl()
Dsi.c3102 rdev->config.si.max_sh_per_se = 2; in si_gpu_init()
3119 rdev->config.si.max_sh_per_se = 2; in si_gpu_init()
3137 rdev->config.si.max_sh_per_se = 2; in si_gpu_init()
3154 rdev->config.si.max_sh_per_se = 1; in si_gpu_init()
3171 rdev->config.si.max_sh_per_se = 1; in si_gpu_init()
3288 rdev->config.si.max_sh_per_se, in si_gpu_init()
3292 rdev->config.si.max_sh_per_se, in si_gpu_init()
3297 for (j = 0; j < rdev->config.si.max_sh_per_se; j++) { in si_gpu_init()
5328 for (j = 0; j < rdev->config.si.max_sh_per_se; j++) { in si_init_ao_cu_mask()
Dcik.c3181 rdev->config.cik.max_sh_per_se = 1; in cik_gpu_init()
3198 rdev->config.cik.max_sh_per_se = 1; in cik_gpu_init()
3216 rdev->config.cik.max_sh_per_se = 1; in cik_gpu_init()
3234 rdev->config.cik.max_sh_per_se = 1; in cik_gpu_init()
3336 rdev->config.cik.max_sh_per_se, in cik_gpu_init()
3341 for (j = 0; j < rdev->config.cik.max_sh_per_se; j++) { in cik_gpu_init()
5787 for (j = 0; j < rdev->config.cik.max_sh_per_se; j++) { in cik_wait_for_rlc_serdes()
6554 for (j = 0; j < rdev->config.cik.max_sh_per_se; j++) { in cik_init_ao_cu_mask()
Dradeon.h2128 unsigned max_sh_per_se; member
2159 unsigned max_sh_per_se; member
/linux-6.6.21/drivers/gpu/drm/amd/include/
Datomfirmware.h1716 uint8_t max_sh_per_se; member
1736 uint8_t max_sh_per_se; member
1761 uint8_t max_sh_per_se; member
1796 uint8_t max_sh_per_se; member
1837 uint8_t max_sh_per_se; member
Datombios.h5655 UCHAR max_sh_per_se; member
5668 UCHAR max_sh_per_se; member
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dvangogh_ppt.c2257 adev->gfx.config.max_sh_per_se * adev->gfx.config.max_shader_engines; in vangogh_post_smu_init()
2283 aon_bits = hweight32(tmp) * adev->gfx.config.max_sh_per_se * adev->gfx.config.max_shader_engines; in vangogh_post_smu_init()