Lines Matching refs:tpc

838 gf100_gr_trap_mp(struct gf100_gr_priv *priv, int gpc, int tpc)  in gf100_gr_trap_mp()  argument
840 u32 werr = nv_rd32(priv, TPC_UNIT(gpc, tpc, 0x648)); in gf100_gr_trap_mp()
841 u32 gerr = nv_rd32(priv, TPC_UNIT(gpc, tpc, 0x650)); in gf100_gr_trap_mp()
843 nv_error(priv, "GPC%i/TPC%i/MP trap:", gpc, tpc); in gf100_gr_trap_mp()
851 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x648), 0x00000000); in gf100_gr_trap_mp()
852 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x650), gerr); in gf100_gr_trap_mp()
856 gf100_gr_trap_tpc(struct gf100_gr_priv *priv, int gpc, int tpc) in gf100_gr_trap_tpc() argument
858 u32 stat = nv_rd32(priv, TPC_UNIT(gpc, tpc, 0x0508)); in gf100_gr_trap_tpc()
861 u32 trap = nv_rd32(priv, TPC_UNIT(gpc, tpc, 0x0224)); in gf100_gr_trap_tpc()
862 nv_error(priv, "GPC%d/TPC%d/TEX: 0x%08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
863 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x0224), 0xc0000000); in gf100_gr_trap_tpc()
868 gf100_gr_trap_mp(priv, gpc, tpc); in gf100_gr_trap_tpc()
873 u32 trap = nv_rd32(priv, TPC_UNIT(gpc, tpc, 0x0084)); in gf100_gr_trap_tpc()
874 nv_error(priv, "GPC%d/TPC%d/POLY: 0x%08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
875 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x0084), 0xc0000000); in gf100_gr_trap_tpc()
880 u32 trap = nv_rd32(priv, TPC_UNIT(gpc, tpc, 0x048c)); in gf100_gr_trap_tpc()
881 nv_error(priv, "GPC%d/TPC%d/L1C: 0x%08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
882 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x048c), 0xc0000000); in gf100_gr_trap_tpc()
887 nv_error(priv, "GPC%d/TPC%d/0x%08x: unknown\n", gpc, tpc, stat); in gf100_gr_trap_tpc()
895 int tpc; in gf100_gr_trap_gpc() local
923 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { in gf100_gr_trap_gpc()
924 u32 mask = 0x00010000 << tpc; in gf100_gr_trap_gpc()
926 gf100_gr_trap_tpc(priv, gpc, tpc); in gf100_gr_trap_gpc()
1387 gf100_gr_init_csdata(priv, cclass->tpc, 0x41a000, 0x004, 0x419800); in gf100_gr_init_ctxctl()
1419 int gpc, tpc, rop; in gf100_gr_init() local
1442 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--; in gf100_gr_init()
1444 data[i / 8] |= tpc << ((i % 8) * 4); in gf100_gr_init()
1489 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { in gf100_gr_init()
1490 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x508), 0xffffffff); in gf100_gr_init()
1491 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x50c), 0xffffffff); in gf100_gr_init()
1492 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x224), 0xc0000000); in gf100_gr_init()
1493 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x48c), 0xc0000000); in gf100_gr_init()
1494 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x084), 0xc0000000); in gf100_gr_init()
1495 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x644), 0x001ffffe); in gf100_gr_init()
1496 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x64c), 0x0000000f); in gf100_gr_init()