Searched refs:pgraph (Results 1 – 5 of 5) sorted by relevance
/linux-3.4.99/drivers/gpu/drm/nouveau/ |
D | nv20_graph.c | 425 struct nv20_graph_engine *pgraph = nv_engine(chan->dev, engine); in nv20_graph_context_new() local 430 ret = nouveau_gpuobj_new(dev, NULL, pgraph->grctx_size, 16, in nv20_graph_context_new() 436 pgraph->grctx_init(grctx); in nv20_graph_context_new() 440 nv_wo32(grctx, pgraph->grctx_user, (chan->id << 24) | 0x1); in nv20_graph_context_new() 442 nv_wo32(pgraph->ctxtab, chan->id * 4, grctx->pinst >> 4); in nv20_graph_context_new() 450 struct nv20_graph_engine *pgraph = nv_engine(chan->dev, engine); in nv20_graph_context_del() local 467 nv_wo32(pgraph->ctxtab, chan->id * 4, 0); in nv20_graph_context_del() 500 struct nv20_graph_engine *pgraph = nv_engine(dev, engine); in nv20_graph_init() local 510 nv_wr32(dev, NV20_PGRAPH_CHANNEL_CTX_TABLE, pgraph->ctxtab->pinst >> 4); in nv20_graph_init() 588 struct nv20_graph_engine *pgraph = nv_engine(dev, engine); in nv30_graph_init() local [all …]
|
D | nv40_graph.c | 41 struct nv40_graph_engine *pgraph = nv_engine(chan->dev, engine); in nv40_graph_context_new() local 49 ret = nouveau_gpuobj_new(dev, NULL, pgraph->grctx_size, 16, in nv40_graph_context_new() 184 struct nv40_graph_engine *pgraph = nv_engine(dev, engine); in nv40_graph_init() local 205 pgraph->grctx_size = ctx.ctxvals_pos * 4; in nv40_graph_init() 435 struct nv40_graph_engine *pgraph = nv_engine(dev, engine); in nv40_graph_destroy() local 440 kfree(pgraph); in nv40_graph_destroy() 446 struct nv40_graph_engine *pgraph; in nv40_graph_create() local 448 pgraph = kzalloc(sizeof(*pgraph), GFP_KERNEL); in nv40_graph_create() 449 if (!pgraph) in nv40_graph_create() 452 pgraph->base.destroy = nv40_graph_destroy; in nv40_graph_create() [all …]
|
D | nv50_graph.c | 127 struct nv50_graph_engine *pgraph = nv_engine(dev, engine); in nv50_graph_init() local 168 for (i = 0; i < pgraph->ctxprog_size; i++) in nv50_graph_init() 169 nv_wr32(dev, 0x400328, pgraph->ctxprog[i]); in nv50_graph_init() 231 struct nv50_graph_engine *pgraph = nv_engine(dev, engine); in nv50_graph_context_new() local 237 ret = nouveau_gpuobj_new(dev, NULL, pgraph->grctx_size, 0, in nv50_graph_context_new() 986 struct nv50_graph_engine *pgraph = nv_engine(dev, engine); in nv50_graph_destroy() local 991 kfree(pgraph); in nv50_graph_destroy() 998 struct nv50_graph_engine *pgraph; in nv50_graph_create() local 1002 pgraph = kzalloc(sizeof(*pgraph),GFP_KERNEL); in nv50_graph_create() 1003 if (!pgraph) in nv50_graph_create() [all …]
|
D | nv10_graph.c | 1129 struct nv10_graph_engine *pgraph = nv_engine(dev, engine); in nv10_graph_destroy() local 1132 kfree(pgraph); in nv10_graph_destroy() 1139 struct nv10_graph_engine *pgraph; in nv10_graph_create() local 1141 pgraph = kzalloc(sizeof(*pgraph), GFP_KERNEL); in nv10_graph_create() 1142 if (!pgraph) in nv10_graph_create() 1145 pgraph->base.destroy = nv10_graph_destroy; in nv10_graph_create() 1146 pgraph->base.init = nv10_graph_init; in nv10_graph_create() 1147 pgraph->base.fini = nv10_graph_fini; in nv10_graph_create() 1148 pgraph->base.context_new = nv10_graph_context_new; in nv10_graph_create() 1149 pgraph->base.context_del = nv10_graph_context_del; in nv10_graph_create() [all …]
|
D | nv04_graph.c | 1080 struct nv04_graph_engine *pgraph = nv_engine(dev, engine); in nv04_graph_destroy() local 1085 kfree(pgraph); in nv04_graph_destroy() 1091 struct nv04_graph_engine *pgraph; in nv04_graph_create() local 1093 pgraph = kzalloc(sizeof(*pgraph), GFP_KERNEL); in nv04_graph_create() 1094 if (!pgraph) in nv04_graph_create() 1097 pgraph->base.destroy = nv04_graph_destroy; in nv04_graph_create() 1098 pgraph->base.init = nv04_graph_init; in nv04_graph_create() 1099 pgraph->base.fini = nv04_graph_fini; in nv04_graph_create() 1100 pgraph->base.context_new = nv04_graph_context_new; in nv04_graph_create() 1101 pgraph->base.context_del = nv04_graph_context_del; in nv04_graph_create() [all …]
|