Lines Matching defs:gpc
909 int gpc, ppc, n = 0;
914 for (gpc = 0; gpc < gr->gpc_nr; gpc++) {
916 const u32 as = alpha * gr->ppc_tpc_nr[gpc][ppc];
917 const u32 bs = attrib * gr->ppc_tpc_nr[gpc][ppc];
919 const u32 o = PPC_UNIT(gpc, ppc, 0);
921 if (!(gr->ppc_mask[gpc] & (1 << ppc)))
926 bo += grctx->attrib_nr_max * gr->ppc_tpc_nr[gpc][ppc];
929 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc];
950 gm107_grctx_generate_sm_id(struct gf100_gr *gr, int gpc, int tpc, int sm)
953 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x698), sm);
954 nvkm_wr32(device, GPC_UNIT(gpc, 0x0c10 + tpc * 4), sm);
955 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x088), sm);