Home
last modified time | relevance | path

Searched refs:num_se (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c45 unsigned num_se = MAX2(physical_device->rad_info.max_se, 1); in si_write_harvested_raster_configs() local
48 unsigned rb_per_pkr = MIN2(num_rb / num_se / sh_per_se, 2); in si_write_harvested_raster_configs()
49 unsigned rb_per_se = num_rb / num_se; in si_write_harvested_raster_configs()
58 assert(num_se == 1 || num_se == 2 || num_se == 4); in si_write_harvested_raster_configs()
66 if ((num_se > 2) && ((!se_mask[0] && !se_mask[1]) || in si_write_harvested_raster_configs()
79 for (se = 0; se < num_se; se++) { in si_write_harvested_raster_configs()
85 if ((num_se > 1) && (!se_mask[idx] || !se_mask[idx + 1])) { in si_write_harvested_raster_configs()
507 unsigned num_se = physical_device->rad_info.max_se; in si_emit_config() local
522 S_028C48_MAX_ALLOC_COUNT(MIN2(128, pc_lines / (4 * num_se))) | in si_emit_config()
Dradv_pipeline.c1307 unsigned num_se = device->physical_device->rad_info.max_se; in calculate_gs_ring_sizes() local
1309 unsigned max_gs_waves = 32 * num_se; /* max 32 per SE on GCN */ in calculate_gs_ring_sizes()
1310 unsigned gs_vertex_reuse = 16 * num_se; /* GS_VERTEX_REUSE register (per SE) */ in calculate_gs_ring_sizes()
1311 unsigned alignment = 256 * num_se; in calculate_gs_ring_sizes()
1313 unsigned max_size = ((unsigned)(63.999 * 1024 * 1024) & ~255) * num_se; in calculate_gs_ring_sizes()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c4630 unsigned num_se = MAX2(sctx->screen->info.max_se, 1); in si_write_harvested_raster_configs() local
4633 unsigned rb_per_pkr = MIN2(num_rb / num_se / sh_per_se, 2); in si_write_harvested_raster_configs()
4634 unsigned rb_per_se = num_rb / num_se; in si_write_harvested_raster_configs()
4648 assert(num_se == 1 || num_se == 2 || num_se == 4); in si_write_harvested_raster_configs()
4656 for (se = 0; se < num_se; se++) { in si_write_harvested_raster_configs()
4662 if ((num_se > 1) && (!se_mask[idx] || !se_mask[idx + 1])) { in si_write_harvested_raster_configs()
4731 if ((num_se > 2) && ((!se_mask[0] && !se_mask[1]) || in si_write_harvested_raster_configs()
5041 unsigned num_se = sscreen->info.max_se; in si_init_config() local
5056 S_028C48_MAX_ALLOC_COUNT(MIN2(128, pc_lines / (4 * num_se))) | in si_init_config()
Dsi_state_shaders.c2671 unsigned num_se = sctx->screen->info.max_se; in si_update_gs_ring_buffers() local
2673 unsigned max_gs_waves = 32 * num_se; /* max 32 per SE on GCN */ in si_update_gs_ring_buffers()
2677 unsigned gs_vertex_reuse = (sctx->b.chip_class >= VI ? 32 : 16) * num_se; in si_update_gs_ring_buffers()
2678 unsigned alignment = 256 * num_se; in si_update_gs_ring_buffers()
2680 unsigned max_size = ((unsigned)(63.999 * 1024 * 1024) & ~255) * num_se; in si_update_gs_ring_buffers()