Home | History | Annotate | Download | only in nouveau

Lines Matching refs:nctx

59 	struct nouveau_context *nctx;
95 nctx = to_nouveau_context(ctx);
96 nctx->dri_context = dri_ctx;
107 NULL, &nctx->fence)) {
121 struct nouveau_context *nctx = to_nouveau_context(ctx);
125 nctx->screen = screen;
126 nctx->fallback = HWTNL;
154 }, sizeof(struct nv04_fifo), &nctx->hw.chan);
161 ret = nouveau_client_new(context_dev(ctx), &nctx->hw.client);
168 ret = nouveau_pushbuf_new(nctx->hw.client, nctx->hw.chan, 4,
169 512 * 1024, true, &nctx->hw.pushbuf);
176 ret = nouveau_bufctx_new(nctx->hw.client, 16, &nctx->hw.bufctx);
182 nctx->hw.pushbuf->user_priv = nctx->hw.bufctx;
185 ret = nouveau_object_new(nctx->hw.chan, 0x00000000, NV01_NULL_CLASS,
186 NULL, 0, &nctx->hw.null);
210 struct nouveau_context *nctx = to_nouveau_context(ctx);
224 nouveau_bufctx_del(&nctx->hw.bufctx);
225 nouveau_pushbuf_del(&nctx->hw.pushbuf);
226 nouveau_client_del(&nctx->hw.client);
227 nouveau_object_del(&nctx->hw.chan);
236 struct nouveau_context *nctx = dri_ctx->driverPrivate;
237 struct gl_context *ctx = &nctx->base;
239 nouveau_bo_ref(NULL, &nctx->fence);
247 struct nouveau_context *nctx = to_nouveau_context(ctx);
316 nctx->hierz.clear_seq = 0;
351 struct nouveau_context *nctx = dri_ctx->driverPrivate;
352 struct gl_context *ctx = &nctx->base;
388 struct nouveau_context *nctx = to_nouveau_context(ctx);
390 nctx->fallback = MAX2(HWTNL, mode);