Home
last modified time | relevance | path

Searched refs:tpc_nr (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxgf100.c1071 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()
Dctxgm204.c929 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()
Dgm204.c268 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()
Dgk104.c204 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()
Dgm107.c333 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()
Dgk20a.c217 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()
Dctxgm20b.c32 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()
Dctxgm107.c942 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()
Dctxgk104.c896 memcpy(tpcnr, gr->tpc_nr, sizeof(gr->tpc_nr)); in gk104_grctx_generate_r418bb8()
Dgf100.c1008 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()
Dctxgf108.c753 for (tpc = 0; tpc < gr->tpc_nr[gpc]; tpc++) { in gf108_grctx_generate_attrib()
Dgf100.h97 u8 tpc_nr[GPC_MAX]; member