Searched refs:atarget (Results 1 – 2 of 2) sorted by relevance
936 u32 atarget = max_t(u32, gr->tpc_total * i / 32, 1); in gk104_grctx_generate_alpha_beta_tables() local937 u32 btarget = gr->tpc_total - atarget; in gk104_grctx_generate_alpha_beta_tables()938 bool alpha = atarget < btarget; in gk104_grctx_generate_alpha_beta_tables()947 abits = atarget ? ppc_tpcs : 0; in gk104_grctx_generate_alpha_beta_tables()962 atarget -= min(abits, atarget); in gk104_grctx_generate_alpha_beta_tables()
1278 u32 atarget = gf100_grctx_alpha_beta_map[gr->tpc_total][i]; in gf100_grctx_generate_alpha_beta_tables() local1281 if (!atarget) { in gf100_grctx_generate_alpha_beta_tables()1283 atarget = max_t(u32, gr->tpc_total * i / 32, 1); in gf100_grctx_generate_alpha_beta_tables()1286 while (atarget) { in gf100_grctx_generate_alpha_beta_tables()1287 for (gpc = 0; atarget && gpc < gr->gpc_nr; gpc++) { in gf100_grctx_generate_alpha_beta_tables()1290 atarget--; in gf100_grctx_generate_alpha_beta_tables()