Searched refs:tpc_nr (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | ctxgf100.c | 1071 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { in gf100_grctx_generate_attrib() 1092 if (tpc < priv->tpc_nr[gpc]) { in gf100_grctx_generate_tpcid() 1100 nv_wr32(priv, GPC_UNIT(gpc, 0x0c08), priv->tpc_nr[gpc]); in gf100_grctx_generate_tpcid() 1101 nv_wr32(priv, GPC_UNIT(gpc, 0x0c8c), priv->tpc_nr[gpc]); in gf100_grctx_generate_tpcid() 1111 tmp[i / 8] |= priv->tpc_nr[i] << ((i % 8) * 4); in gf100_grctx_generate_r406028() 1124 memcpy(tpcnr, priv->tpc_nr, sizeof(priv->tpc_nr)); in gf100_grctx_generate_r4060a8() 1149 memcpy(tpcnr, priv->tpc_nr, sizeof(priv->tpc_nr)); in gf100_grctx_generate_r418bb8() 1206 memcpy(tpcnr, priv->tpc_nr, sizeof(priv->tpc_nr)); in gf100_grctx_generate_r406800() 1208 tpc_mask |= ((1ULL << priv->tpc_nr[gpc]) - 1) << (gpc * 8); in gf100_grctx_generate_r406800() 1217 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--; in gf100_grctx_generate_r406800()
|
D | ctxgm204.c | 928 if (tpc < priv->tpc_nr[gpc]) { in gm204_grctx_generate_tpcid() 955 memcpy(tpcnr, priv->tpc_nr, sizeof(priv->tpc_nr)); in gm204_grctx_generate_405b60() 965 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--; in gm204_grctx_generate_405b60() 1010 tmp |= ((1 << priv->tpc_nr[i]) - 1) << (i * 4); in gm204_grctx_generate_main()
|
D | gm204.c | 287 memcpy(tpcnr, priv->tpc_nr, sizeof(priv->tpc_nr)); in gm204_gr_init() 292 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--; in gm204_gr_init() 304 priv->magic_not_rop_nr << 8 | priv->tpc_nr[gpc]); in gm204_gr_init() 338 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { in gm204_gr_init()
|
D | gk104.c | 228 memcpy(tpcnr, priv->tpc_nr, sizeof(priv->tpc_nr)); in gk104_gr_init() 233 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--; in gk104_gr_init() 245 priv->magic_not_rop_nr << 8 | priv->tpc_nr[gpc]); in gk104_gr_init() 279 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { in gk104_gr_init()
|
D | gm107.c | 350 memcpy(tpcnr, priv->tpc_nr, sizeof(priv->tpc_nr)); in gm107_gr_init() 355 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--; in gm107_gr_init() 367 priv->magic_not_rop_nr << 8 | priv->tpc_nr[gpc]); in gm107_gr_init() 400 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { in gm107_gr_init()
|
D | ctxgm107.c | 941 if (tpc < priv->tpc_nr[gpc]) { in gm107_grctx_generate_tpcid() 948 nv_wr32(priv, GPC_UNIT(gpc, 0x0c08), priv->tpc_nr[gpc]); in gm107_grctx_generate_tpcid() 949 nv_wr32(priv, GPC_UNIT(gpc, 0x0c8c), priv->tpc_nr[gpc]); in gm107_grctx_generate_tpcid()
|
D | ctxgk104.c | 894 memcpy(tpcnr, priv->tpc_nr, sizeof(priv->tpc_nr)); in gk104_grctx_generate_r418bb8()
|
D | gf100.c | 923 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { in gf100_gr_trap_gpc() 1437 memcpy(tpcnr, priv->tpc_nr, sizeof(priv->tpc_nr)); in gf100_gr_init() 1442 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--; in gf100_gr_init() 1454 priv->magic_not_rop_nr << 8 | priv->tpc_nr[gpc]); in gf100_gr_init() 1489 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { in gf100_gr_init() 1627 priv->tpc_nr[i] = nv_rd32(priv, GPC_UNIT(i, 0x2608)); in gf100_gr_ctor() 1628 priv->tpc_total += priv->tpc_nr[i]; in gf100_gr_ctor()
|
D | ctxgf108.c | 753 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { in gf108_grctx_generate_attrib()
|
D | gf100.h | 84 u8 tpc_nr[GPC_MAX]; member
|