Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c693 adev->gfx.config.max_shader_engines = gfx_info->v24.max_shader_engines; in amdgpu_atomfirmware_get_gfx_info()
711 adev->gfx.config.max_shader_engines = gfx_info->v27.max_shader_engines; in amdgpu_atomfirmware_get_gfx_info()
732 adev->gfx.config.max_shader_engines = gfx_info->v30.max_shader_engines; in amdgpu_atomfirmware_get_gfx_info()
Dgfx_v6_0.c1378 unsigned num_se = max_t(unsigned, adev->gfx.config.max_shader_engines, 1); in gfx_v6_0_write_harvested_raster_configs()
1474 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v6_0_setup_rb()
1489 adev->gfx.config.max_shader_engines, 16); in gfx_v6_0_setup_rb()
1502 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v6_0_setup_rb()
1550 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v6_0_setup_spi()
1586 adev->gfx.config.max_shader_engines = 2; in gfx_v6_0_constants_init()
1603 adev->gfx.config.max_shader_engines = 2; in gfx_v6_0_constants_init()
1620 adev->gfx.config.max_shader_engines = 1; in gfx_v6_0_constants_init()
1637 adev->gfx.config.max_shader_engines = 1; in gfx_v6_0_constants_init()
1654 adev->gfx.config.max_shader_engines = 1; in gfx_v6_0_constants_init()
[all …]
Dgfx_v9_4_2.c433 for (se = 0; se < adev->gfx.config.max_shader_engines; se++) { in gfx_v9_4_2_log_wave_assignment()
465 for (se = 0; se < adev->gfx.config.max_shader_engines; se++) in gfx_v9_4_2_wait_for_waves_assigned()
493 int wb_size = adev->gfx.config.max_shader_engines * in gfx_v9_4_2_do_sgprs_init()
637 int wb_size = adev->gfx.config.max_shader_engines * in gfx_v9_4_2_do_vgprs_init()
1817 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v9_4_2_enable_watchdog_timer()
1883 for (se_idx = 0; se_idx < adev->gfx.config.max_shader_engines; in gfx_v9_4_2_query_sq_timeout_status()
1916 for (se_idx = 0; se_idx < adev->gfx.config.max_shader_engines; in gfx_v9_4_2_reset_sq_timeout_status()
Dgfx_v7_0.c1675 unsigned num_se = max_t(unsigned, adev->gfx.config.max_shader_engines, 1); in gfx_v7_0_write_harvested_raster_configs()
1796 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v7_0_setup_rb()
1810 adev->gfx.config.max_shader_engines, 16); in gfx_v7_0_setup_rb()
1825 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v7_0_setup_rb()
3335 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v7_0_wait_for_rlc_serdes()
4251 adev->gfx.config.max_shader_engines = 2; in gfx_v7_0_gpu_early_init()
4268 adev->gfx.config.max_shader_engines = 4; in gfx_v7_0_gpu_early_init()
4285 adev->gfx.config.max_shader_engines = 1; in gfx_v7_0_gpu_early_init()
4304 adev->gfx.config.max_shader_engines = 1; in gfx_v7_0_gpu_early_init()
5145 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v7_0_get_cu_info()
Damdgpu_gfx.h137 unsigned max_shader_engines; member
Dgfx_v8_0.c1689 adev->gfx.config.max_shader_engines = 1; in gfx_v8_0_gpu_early_init()
1706 adev->gfx.config.max_shader_engines = 4; in gfx_v8_0_gpu_early_init()
1753 adev->gfx.config.max_shader_engines = 4; in gfx_v8_0_gpu_early_init()
1770 adev->gfx.config.max_shader_engines = 1; in gfx_v8_0_gpu_early_init()
1787 adev->gfx.config.max_shader_engines = 1; in gfx_v8_0_gpu_early_init()
1804 adev->gfx.config.max_shader_engines = 2; in gfx_v8_0_gpu_early_init()
3514 unsigned num_se = max_t(unsigned, adev->gfx.config.max_shader_engines, 1); in gfx_v8_0_write_harvested_raster_configs()
3628 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v8_0_setup_rb()
3642 adev->gfx.config.max_shader_engines, 16); in gfx_v8_0_setup_rb()
3657 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v8_0_setup_rb()
[all …]
Damdgpu_debugfs.c131 (se_bank != 0xFFFFFFFF && se_bank >= adev->gfx.config.max_shader_engines)) { in amdgpu_debugfs_process_reg_op()
256 (rd->id.grbm.se != 0xFFFFFFFF && rd->id.grbm.se >= adev->gfx.config.max_shader_engines)) { in amdgpu_debugfs_regs2_op()
717 config[no_regs++] = adev->gfx.config.max_shader_engines; in amdgpu_debugfs_gca_config_read()
Damdgpu_amdkfd.c486 cu_info->num_shader_engines = adev->gfx.config.max_shader_engines; in amdgpu_amdkfd_get_cu_info()
Damdgpu_amdkfd_gfx_v9.c786 se_cnt = adev->gfx.config.max_shader_engines; in kgd_gfx_v9_get_cu_occupancy()
Dgfx_v9_0.c1562 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v9_0_init_always_on_cu_mask()
2325 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v9_0_setup_rb()
2468 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v9_0_wait_for_rlc_serdes()
4375 int compute_dim_x = adev->gfx.config.max_shader_engines * in gfx_v9_0_do_edc_gpr_workarounds()
4379 int gpr_reg_size = adev->gfx.config.max_shader_engines + 6; in gfx_v9_0_do_edc_gpr_workarounds()
6952 if (adev->gfx.config.max_shader_engines * in gfx_v9_0_get_cu_info()
6957 adev->gfx.config.max_shader_engines, in gfx_v9_0_get_cu_info()
6961 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v9_0_get_cu_info()
Damdgpu_kms.c780 dev_info->num_shader_engines = adev->gfx.config.max_shader_engines; in amdgpu_info_ioctl()
793 adev->gfx.config.max_shader_engines; in amdgpu_info_ioctl()
Dgfxhub_v2_1.c546 adev->gfx.config.max_shader_engines); in gfxhub_v2_1_utcl2_harvest()
Damdgpu_atombios.c725 adev->gfx.config.max_shader_engines = gfx_info->info.max_shader_engines; in amdgpu_atombios_get_gfx_info()
Dgfx_v10_0.c4846 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v10_0_setup_rb()
4882 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()
4987 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v10_0_tcp_harvest()
9532 adev->gfx.config.max_shader_engines; in gfx_v10_0_set_gds_init()
9619 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v10_0_get_cu_info()
9675 adev->gfx.config.max_shader_engines); in gfx_v10_3_get_disabled_sa()
9684 uint32_t max_sa_per_se, max_sa_per_se_mask, max_shader_engines; in gfx_v10_3_program_pbb_mode() local
9691 max_shader_engines = adev->gfx.config.max_shader_engines; in gfx_v10_3_program_pbb_mode()
9693 for (se_index = 0; max_shader_engines > se_index; se_index++) { in gfx_v10_3_program_pbb_mode()
Damdgpu_discovery.c1309 adev->gfx.config.max_shader_engines = le32_to_cpu(gc_info->v1.gc_num_se); in amdgpu_discovery_get_gfx_info()
1344 adev->gfx.config.max_shader_engines = le32_to_cpu(gc_info->v2.gc_num_se); in amdgpu_discovery_get_gfx_info()
Dgfx_v11_0.c1546 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v11_0_setup_rb()
6250 adev->gfx.config.max_shader_engines; in gfx_v11_0_set_gds_init()
6332 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { in gfx_v11_0_get_cu_info()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_kms.c360 rdev->config.cik.max_shader_engines; in radeon_info_ioctl()
363 rdev->config.si.max_shader_engines; in radeon_info_ioctl()
366 rdev->config.cayman.max_shader_engines; in radeon_info_ioctl()
454 *value = rdev->config.cik.max_shader_engines; in radeon_info_ioctl()
456 *value = rdev->config.si.max_shader_engines; in radeon_info_ioctl()
458 *value = rdev->config.cayman.max_shader_engines; in radeon_info_ioctl()
Dni.c893 rdev->config.cayman.max_shader_engines = 2; in cayman_gpu_init()
917 rdev->config.cayman.max_shader_engines = 1; in cayman_gpu_init()
1079 for (i = (rdev->config.cayman.max_shader_engines - 1); i >= 0; i--) { in cayman_gpu_init()
1091 …for (i = 0; i < (rdev->config.cayman.max_backends_per_se * rdev->config.cayman.max_shader_engines)… in cayman_gpu_init()
1095 …for (i = 0; i < (rdev->config.cayman.max_backends_per_se * rdev->config.cayman.max_shader_engines)… in cayman_gpu_init()
1099 for (i = 0; i < rdev->config.cayman.max_shader_engines; i++) { in cayman_gpu_init()
1138 rdev->config.cayman.max_shader_engines, in cayman_gpu_init()
Dsi.c3099 rdev->config.si.max_shader_engines = 2; in si_gpu_init()
3116 rdev->config.si.max_shader_engines = 2; in si_gpu_init()
3134 rdev->config.si.max_shader_engines = 1; in si_gpu_init()
3151 rdev->config.si.max_shader_engines = 1; in si_gpu_init()
3168 rdev->config.si.max_shader_engines = 1; in si_gpu_init()
3287 si_setup_rb(rdev, rdev->config.si.max_shader_engines, in si_gpu_init()
3291 si_setup_spi(rdev, rdev->config.si.max_shader_engines, in si_gpu_init()
3296 for (i = 0; i < rdev->config.si.max_shader_engines; i++) { in si_gpu_init()
5323 for (i = 0; i < rdev->config.si.max_shader_engines; i++) { in si_init_ao_cu_mask()
Dcik.c2331 rdev->config.cik.max_shader_engines; in cik_tiling_mode_table_init()
3178 rdev->config.cik.max_shader_engines = 2; in cik_gpu_init()
3195 rdev->config.cik.max_shader_engines = 4; in cik_gpu_init()
3212 rdev->config.cik.max_shader_engines = 1; in cik_gpu_init()
3231 rdev->config.cik.max_shader_engines = 1; in cik_gpu_init()
3335 cik_setup_rb(rdev, rdev->config.cik.max_shader_engines, in cik_gpu_init()
3340 for (i = 0; i < rdev->config.cik.max_shader_engines; i++) { in cik_gpu_init()
5786 for (i = 0; i < rdev->config.cik.max_shader_engines; i++) { in cik_wait_for_rlc_serdes()
6553 for (i = 0; i < rdev->config.cik.max_shader_engines; i++) { in cik_init_ao_cu_mask()
Dradeon.h2120 unsigned max_shader_engines; member
2159 unsigned max_shader_engines; member
2190 unsigned max_shader_engines; member
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega10_powertune.c916 num_se = adev->gfx.config.max_shader_engines; in vega10_enable_cac_driving_se_didt_config()
967 num_se = adev->gfx.config.max_shader_engines; in vega10_enable_psm_gc_didt_config()
1028 num_se = adev->gfx.config.max_shader_engines; in vega10_enable_se_edc_config()
1076 num_se = adev->gfx.config.max_shader_engines; in vega10_enable_psm_gc_edc_config()
Dsmu7_powertune.c969 num_se = adev->gfx.config.max_shader_engines; in smu7_enable_didt_config()
/linux-6.1.9/drivers/gpu/drm/amd/include/
Datomfirmware.h1667 uint8_t max_shader_engines; member
1687 uint8_t max_shader_engines; member
1712 uint8_t max_shader_engines; member
1747 uint8_t max_shader_engines; member
1788 uint8_t max_shader_engines; member
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dvangogh_ppt.c2137 adev->gfx.config.max_sh_per_se * adev->gfx.config.max_shader_engines; in vangogh_post_smu_init()
2163 aon_bits = hweight32(tmp) * adev->gfx.config.max_sh_per_se * adev->gfx.config.max_shader_engines; in vangogh_post_smu_init()

12