Lines Matching defs:gr
27 struct gf100_gr *gr = chan->gr;
28 struct nvkm_device *device = gr->base.engine.subdev.device;
29 const struct gf100_grctx_func *grctx = gr->func->grctx;
33 gf100_gr_mmio(gr, gr->sw_ctx);
35 gf100_gr_wait_idle(gr);
39 grctx->attrib_cb(chan, chan->attrib_cb->addr, grctx->attrib_cb_size(gr));
42 grctx->unkn(gr);
44 gf100_grctx_generate_floorsweep(gr);
49 nvkm_wr32(device, 0x405b00, (gr->tpc_total << 8) | gr->gpc_nr);
53 for (tmp = 0, i = 0; i < gr->gpc_nr; i++)
54 tmp |= ((1 << gr->tpc_nr[i]) - 1) << (i * 4);
57 gm200_grctx_generate_smid_config(gr);
59 gf100_gr_wait_idle(gr);
62 gf100_gr_wait_idle(gr);
64 gf100_gr_mthd(gr, gr->method);
65 gf100_gr_wait_idle(gr);
67 gf100_gr_icmd(gr, gr->bundle);