Home
last modified time | relevance | path

Searched refs:atarget (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxgk104.c936 u32 atarget = max_t(u32, gr->tpc_total * i / 32, 1); in gk104_grctx_generate_alpha_beta_tables() local
937 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()
Dctxgf100.c1278 u32 atarget = gf100_grctx_alpha_beta_map[gr->tpc_total][i]; in gf100_grctx_generate_alpha_beta_tables() local
1281 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()