GPC_UNIT
nvkm_wr32(device, GPC_UNIT(gpc, 0x0c08), gr->tpc_nr[gpc]);
nvkm_wr32(device, GPC_UNIT(gpc, 0x0c8c), gr->tpc_nr[gpc]);
nvkm_wr32(device, GPC_UNIT(gpc, 0x0c10 + tpc * 4), sm);
nvkm_wr32(device, GPC_UNIT(gpc, 0x0c10 + tpc * 4), sm);
const u32 p = GPC_UNIT(gpc, 0xc44 + (ppc * 4));
nvkm_wr32(device, GPC_UNIT(gpc, 0x0c10 + tpc * 4), sm);
trap[0] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0420)) & 0x3fffffff;
trap[1] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0434));
trap[2] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0438));
trap[3] = nvkm_rd32(device, GPC_UNIT(gpc, 0x043c));
nvkm_wr32(device, GPC_UNIT(gpc, 0x0420), 0xc0000000);
u32 stat = nvkm_rd32(device, GPC_UNIT(gpc, 0x2c90));
u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x0900));
nvkm_wr32(device, GPC_UNIT(gpc, 0x0900), 0xc0000000);
u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x1028));
nvkm_wr32(device, GPC_UNIT(gpc, 0x1028), 0xc0000000);
u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x0824));
nvkm_wr32(device, GPC_UNIT(gpc, 0x0824), 0xc0000000);
nvkm_wr32(device, GPC_UNIT(gpc, 0x2c90), mask);
gr->tpc_nr[i] = nvkm_rd32(device, GPC_UNIT(i, 0x2608));
nvkm_rd32(device, GPC_UNIT(i, 0x0c30 + (j * 4)));
nvkm_wr32(device, GPC_UNIT(gpc, 0x0914),
nvkm_wr32(device, GPC_UNIT(gpc, 0x0910), 0x00040000 |
nvkm_wr32(device, GPC_UNIT(gpc, 0x0918), magicgpc918);
nvkm_wr32(device, GPC_UNIT(gpc, 0x0420), 0xc0000000);
nvkm_wr32(device, GPC_UNIT(gpc, 0x0900), 0xc0000000);
nvkm_wr32(device, GPC_UNIT(gpc, 0x1028), 0xc0000000);
nvkm_wr32(device, GPC_UNIT(gpc, 0x0824), 0xc0000000);
nvkm_wr32(device, GPC_UNIT(gpc, 0x2c90), 0xffffffff);
nvkm_wr32(device, GPC_UNIT(gpc, 0x2c94), 0xffffffff);
nvkm_wr32(device, GPC_UNIT(gpc, 0x0914),
nvkm_wr32(device, GPC_UNIT(gpc, 0x0910), 0x00040000 |
nvkm_wr32(device, GPC_UNIT(gpc, 0x0918), magicgpc918);
nvkm_wr32(device, GPC_UNIT(0, 0x3018), 0x00000001);
data = nvkm_rd32(device, GPC_UNIT(gpc, 0x0c50)) & 0x0000000f;
nvkm_wr32(device, GPC_UNIT(gr->sm[sm].gpc, 0x0c10 + tpc * 4), sm);
nvkm_wr32(device, GPC_UNIT(gpc, 0x0914),
nvkm_wr32(device, GPC_UNIT(gpc, 0x0910), 0x00040000 |
nvkm_wr32(device, GPC_UNIT(gpc, 0x0918), magicgpc918);