Searched refs:tpc_nr (Results 1 – 12 of 12) sorted by relevance
/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | ctxgf100.c | 1071 for (tpc = 0; tpc < gr->tpc_nr[gpc]; tpc++) { in gf100_grctx_generate_attrib() 1093 if (tpc < gr->tpc_nr[gpc]) { in gf100_grctx_generate_tpcid() 1101 nvkm_wr32(device, GPC_UNIT(gpc, 0x0c08), gr->tpc_nr[gpc]); in gf100_grctx_generate_tpcid() 1102 nvkm_wr32(device, GPC_UNIT(gpc, 0x0c8c), gr->tpc_nr[gpc]); in gf100_grctx_generate_tpcid() 1113 tmp[i / 8] |= gr->tpc_nr[i] << ((i % 8) * 4); in gf100_grctx_generate_r406028() 1127 memcpy(tpcnr, gr->tpc_nr, sizeof(gr->tpc_nr)); in gf100_grctx_generate_r4060a8() 1153 memcpy(tpcnr, gr->tpc_nr, sizeof(gr->tpc_nr)); in gf100_grctx_generate_r418bb8() 1211 memcpy(tpcnr, gr->tpc_nr, sizeof(gr->tpc_nr)); in gf100_grctx_generate_r406800() 1213 tpc_mask |= ((1ULL << gr->tpc_nr[gpc]) - 1) << (gpc * 8); in gf100_grctx_generate_r406800() 1222 tpc = gr->tpc_nr[gpc] - tpcnr[gpc]--; in gf100_grctx_generate_r406800()
|
D | ctxgm204.c | 929 if (tpc < gr->tpc_nr[gpc]) { in gm204_grctx_generate_tpcid() 958 memcpy(tpcnr, gr->tpc_nr, sizeof(gr->tpc_nr)); in gm204_grctx_generate_405b60() 968 tpc = gr->tpc_nr[gpc] - tpcnr[gpc]--; in gm204_grctx_generate_405b60() 1014 tmp |= ((1 << gr->tpc_nr[i]) - 1) << (i * 4); in gm204_grctx_generate_main()
|
D | gm204.c | 268 memcpy(tpcnr, gr->tpc_nr, sizeof(gr->tpc_nr)); in gm204_gr_init() 273 tpc = gr->tpc_nr[gpc] - tpcnr[gpc]--; in gm204_gr_init() 285 gr->magic_not_rop_nr << 8 | gr->tpc_nr[gpc]); in gm204_gr_init() 319 for (tpc = 0; tpc < gr->tpc_nr[gpc]; tpc++) { in gm204_gr_init()
|
D | gk104.c | 204 memcpy(tpcnr, gr->tpc_nr, sizeof(gr->tpc_nr)); in gk104_gr_init() 209 tpc = gr->tpc_nr[gpc] - tpcnr[gpc]--; in gk104_gr_init() 221 gr->magic_not_rop_nr << 8 | gr->tpc_nr[gpc]); in gk104_gr_init() 255 for (tpc = 0; tpc < gr->tpc_nr[gpc]; tpc++) { in gk104_gr_init()
|
D | gm107.c | 333 memcpy(tpcnr, gr->tpc_nr, sizeof(gr->tpc_nr)); in gm107_gr_init() 338 tpc = gr->tpc_nr[gpc] - tpcnr[gpc]--; in gm107_gr_init() 350 gr->magic_not_rop_nr << 8 | gr->tpc_nr[gpc]); in gm107_gr_init() 383 for (tpc = 0; tpc < gr->tpc_nr[gpc]; tpc++) { in gm107_gr_init()
|
D | gk20a.c | 217 memcpy(tpcnr, gr->tpc_nr, sizeof(gr->tpc_nr)); in gk20a_gr_init() 222 tpc = gr->tpc_nr[gpc] - tpcnr[gpc]--; in gk20a_gr_init() 234 gr->magic_not_rop_nr << 8 | gr->tpc_nr[gpc]); in gk20a_gr_init()
|
D | ctxgm20b.c | 32 tpc_per_gpc |= gr->tpc_nr[i] << (4 * i); in gm20b_grctx_generate_r406028() 70 tmp |= ((1 << gr->tpc_nr[i]) - 1) << (i * 4); in gm20b_grctx_generate_main()
|
D | ctxgm107.c | 942 if (tpc < gr->tpc_nr[gpc]) { in gm107_grctx_generate_tpcid() 949 nvkm_wr32(device, GPC_UNIT(gpc, 0x0c08), gr->tpc_nr[gpc]); in gm107_grctx_generate_tpcid() 950 nvkm_wr32(device, GPC_UNIT(gpc, 0x0c8c), gr->tpc_nr[gpc]); in gm107_grctx_generate_tpcid()
|
D | ctxgk104.c | 896 memcpy(tpcnr, gr->tpc_nr, sizeof(gr->tpc_nr)); in gk104_grctx_generate_r418bb8()
|
D | gf100.c | 1008 for (tpc = 0; tpc < gr->tpc_nr[gpc]; tpc++) { in gf100_gr_trap_gpc() 1547 gr->tpc_nr[i] = nvkm_rd32(device, GPC_UNIT(i, 0x2608)); in gf100_gr_oneinit() 1548 gr->tpc_total += gr->tpc_nr[i]; in gf100_gr_oneinit() 1741 memcpy(tpcnr, gr->tpc_nr, sizeof(gr->tpc_nr)); in gf100_gr_init() 1746 tpc = gr->tpc_nr[gpc] - tpcnr[gpc]--; in gf100_gr_init() 1758 gr->magic_not_rop_nr << 8 | gr->tpc_nr[gpc]); in gf100_gr_init() 1793 for (tpc = 0; tpc < gr->tpc_nr[gpc]; tpc++) { in gf100_gr_init()
|
D | ctxgf108.c | 753 for (tpc = 0; tpc < gr->tpc_nr[gpc]; tpc++) { in gf108_grctx_generate_attrib()
|
D | gf100.h | 97 u8 tpc_nr[GPC_MAX]; member
|