Home
last modified time | relevance | path

Searched refs:tpc_total (Results 1 – 11 of 11) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxgk104.c897 for (tpc = 0; tpc < priv->tpc_total; tpc++) { in gk104_grctx_generate_r418bb8()
911 ntpcv = priv->tpc_total; in gk104_grctx_generate_r418bb8()
924 nv_wr32(priv, 0x418bb8, (priv->tpc_total << 8) | in gk104_grctx_generate_r418bb8()
930 nv_wr32(priv, 0x41bfd0, (priv->tpc_total << 8) | in gk104_grctx_generate_r418bb8()
937 nv_wr32(priv, 0x4078bc, (priv->tpc_total << 8) | in gk104_grctx_generate_r418bb8()
980 nv_wr32(priv, 0x405b00, (priv->tpc_total << 8) | priv->gpc_nr); in gk104_grctx_generate_main()
Dctxgf100.c1062 const int b = mmio_vram(info, size * priv->tpc_total, (1 << s), access); in gf100_grctx_generate_attrib()
1128 for (tpc = 0; tpc < priv->tpc_total; tpc++) { in gf100_grctx_generate_r4060a8()
1152 for (tpc = 0; tpc < priv->tpc_total; tpc++) { in gf100_grctx_generate_r418bb8()
1166 ntpcv = priv->tpc_total; in gf100_grctx_generate_r418bb8()
1179 nv_wr32(priv, 0x418bb8, (priv->tpc_total << 8) | in gf100_grctx_generate_r418bb8()
1185 nv_wr32(priv, 0x419bd0, (priv->tpc_total << 8) | in gf100_grctx_generate_r418bb8()
1192 nv_wr32(priv, 0x4078bc, (priv->tpc_total << 8) | in gf100_grctx_generate_r418bb8()
1211 a = (i * (priv->tpc_total - 1)) / 32; in gf100_grctx_generate_r406800()
Dctxgm204.c949 const u32 dist_nr = DIV_ROUND_UP(priv->tpc_total, 4); in gm204_grctx_generate_405b60()
961 for (gpc = -1, i = 0; i < priv->tpc_total; i++) { in gm204_grctx_generate_405b60()
1005 nv_wr32(priv, 0x405b00, (priv->tpc_total << 8) | priv->gpc_nr); in gm204_grctx_generate_main()
Dgm204.c256 const u32 magicgpc918 = DIV_ROUND_UP(0x00800000, priv->tpc_total); in gm204_gr_init()
288 for (i = 0, gpc = -1; i < priv->tpc_total; i++) { in gm204_gr_init()
306 priv->tpc_total); in gm204_gr_init()
Dgk104.c201 const u32 magicgpc918 = DIV_ROUND_UP(0x00800000, priv->tpc_total); in gk104_gr_init()
229 for (i = 0, gpc = -1; i < priv->tpc_total; i++) { in gk104_gr_init()
247 priv->tpc_total); in gk104_gr_init()
Dctxgf108.c740 const int b = mmio_vram(info, size * priv->tpc_total, (1 << s), access); in gf108_grctx_generate_attrib()
744 u32 ao = bo + impl->attrib_nr_max * priv->tpc_total; in gf108_grctx_generate_attrib()
Dctxgm107.c905 const int b = mmio_vram(info, size * priv->tpc_total, (1 << s), access); in gm107_grctx_generate_attrib()
908 u32 ao = bo + impl->attrib_nr_max * priv->tpc_total; in gm107_grctx_generate_attrib()
983 nv_wr32(priv, 0x405b00, (priv->tpc_total << 8) | priv->gpc_nr); in gm107_grctx_generate_main()
Dgm107.c327 const u32 magicgpc918 = DIV_ROUND_UP(0x00800000, priv->tpc_total); in gm107_gr_init()
351 for (i = 0, gpc = -1; i < priv->tpc_total; i++) { in gm107_gr_init()
369 priv->tpc_total); in gm107_gr_init()
Dctxgf117.c192 const int b = mmio_vram(info, size * priv->tpc_total, (1 << s), access); in gf117_grctx_generate_attrib()
196 u32 ao = bo + impl->attrib_nr_max * priv->tpc_total; in gf117_grctx_generate_attrib()
Dgf100.c741 cfg |= (u32)priv->tpc_total << 8; in gf100_gr_units()
1416 const u32 magicgpc918 = DIV_ROUND_UP(0x00800000, priv->tpc_total); in gf100_gr_init()
1438 for (i = 0, gpc = -1; i < priv->tpc_total; i++) { in gf100_gr_init()
1456 priv->tpc_total); in gf100_gr_init()
1628 priv->tpc_total += priv->tpc_nr[i]; in gf100_gr_ctor()
1639 if (priv->tpc_total == 11) { /* 465, 3/4/4/0, 4 */ in gf100_gr_ctor()
1642 if (priv->tpc_total == 14) { /* 470, 3/3/4/4, 5 */ in gf100_gr_ctor()
1645 if (priv->tpc_total == 15) { /* 480, 3/4/4/4, 6 */ in gf100_gr_ctor()
Dgf100.h85 u8 tpc_total; member