Lines Matching refs:pgraph
373 struct nouveau_pgraph_engine *pgraph = &dev_priv->engine.graph;
406 ret = nouveau_gpuobj_new_ref(dev, chan, NULL, 0, pgraph->grctx_size,
419 nv_wo32(dev, pgraph->ctx_table->gpuobj, chan->id,
429 struct nouveau_pgraph_engine *pgraph = &dev_priv->engine.graph;
434 nv_wo32(dev, pgraph->ctx_table->gpuobj, chan->id, 0);
460 struct nouveau_pgraph_engine *pgraph = &dev_priv->engine.graph;
465 chan = pgraph->channel(dev);
527 struct nouveau_pgraph_engine *pgraph = &dev_priv->engine.graph;
533 pgraph->grctx_size = NV20_GRCTX_SIZE;
537 pgraph->grctx_size = NV25_GRCTX_SIZE;
540 pgraph->grctx_size = NV2A_GRCTX_SIZE;
544 pgraph->accel_blocked = true;
553 if (!pgraph->ctx_table) {
557 &pgraph->ctx_table);
563 pgraph->ctx_table->instance >> 4);
647 struct nouveau_pgraph_engine *pgraph = &dev_priv->engine.graph;
649 nouveau_gpuobj_ref_del(dev, &pgraph->ctx_table);
656 struct nouveau_pgraph_engine *pgraph = &dev_priv->engine.graph;
662 pgraph->grctx_size = NV30_31_GRCTX_SIZE;
665 pgraph->grctx_size = NV34_GRCTX_SIZE;
669 pgraph->grctx_size = NV35_36_GRCTX_SIZE;
673 pgraph->accel_blocked = true;
682 if (!pgraph->ctx_table) {
686 &pgraph->ctx_table);
692 pgraph->ctx_table->instance >> 4);