Searched refs:wg_counts (Results 1 – 1 of 1) sorted by relevance
406 u32 *wg_counts; in v3d_rewrite_csd_job_wg_counts_from_indirect() local411 wg_counts = (uint32_t *)(bo->vaddr + indirect_csd->offset); in v3d_rewrite_csd_job_wg_counts_from_indirect()413 if (wg_counts[0] == 0 || wg_counts[1] == 0 || wg_counts[2] == 0) in v3d_rewrite_csd_job_wg_counts_from_indirect()416 args->cfg[0] = wg_counts[0] << V3D_CSD_CFG012_WG_COUNT_SHIFT; in v3d_rewrite_csd_job_wg_counts_from_indirect()417 args->cfg[1] = wg_counts[1] << V3D_CSD_CFG012_WG_COUNT_SHIFT; in v3d_rewrite_csd_job_wg_counts_from_indirect()418 args->cfg[2] = wg_counts[2] << V3D_CSD_CFG012_WG_COUNT_SHIFT; in v3d_rewrite_csd_job_wg_counts_from_indirect()420 (wg_counts[0] * wg_counts[1] * wg_counts[2]) - 1; in v3d_rewrite_csd_job_wg_counts_from_indirect()426 ((uint32_t *)indirect->vaddr)[uniform_idx] = wg_counts[i]; in v3d_rewrite_csd_job_wg_counts_from_indirect()