Home
last modified time | relevance | path

Searched refs:wgs_per_sg (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/broadcom/common/
Dv3d_util.c67 for (uint32_t wgs_per_sg = 1; wgs_per_sg <= max_wgs_per_sg; wgs_per_sg++) { in v3d_csd_choose_workgroups_per_supergroup() local
71 if (wgs_per_sg > num_wgs) in v3d_csd_choose_workgroups_per_supergroup()
77 uint32_t unused_lanes = (16 - ((wgs_per_sg * wg_size) % 16)) & 0x0f; in v3d_csd_choose_workgroups_per_supergroup()
79 return wgs_per_sg; in v3d_csd_choose_workgroups_per_supergroup()
82 best_wgs_per_sg = wgs_per_sg; in v3d_csd_choose_workgroups_per_supergroup()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3dx_draw.c1407 uint32_t wgs_per_sg = in v3d_launch_grid() local
1415 uint32_t batches_per_sg = DIV_ROUND_UP(wgs_per_sg * wg_size, 16); in v3d_launch_grid()
1416 uint32_t whole_sgs = num_wgs / wgs_per_sg; in v3d_launch_grid()
1417 uint32_t rem_wgs = num_wgs - whole_sgs * wgs_per_sg; in v3d_launch_grid()
1421 submit.cfg[3] |= (wgs_per_sg & 0xf) << V3D_CSD_CFG3_WGS_PER_SG_SHIFT; in v3d_launch_grid()
1446 wgs_per_sg, in v3d_launch_grid()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_cmd_buffer.c3675 uint32_t wgs_per_sg = in cmd_buffer_create_csd_job() local
3683 uint32_t batches_per_sg = DIV_ROUND_UP(wgs_per_sg * wg_size, 16); in cmd_buffer_create_csd_job()
3684 uint32_t whole_sgs = num_wgs / wgs_per_sg; in cmd_buffer_create_csd_job()
3685 uint32_t rem_wgs = num_wgs - whole_sgs * wgs_per_sg; in cmd_buffer_create_csd_job()
3689 submit->cfg[3] |= (wgs_per_sg & 0xf) << V3D_CSD_CFG3_WGS_PER_SG_SHIFT; in cmd_buffer_create_csd_job()
3711 cs_variant->prog_data.cs->shared_size * wgs_per_sg, in cmd_buffer_create_csd_job()