Searched refs:bufctx (Results 1 - 25 of 50) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
H A Dnv50_context.c76 nouveau_bufctx_del(&nv50->bufctx);
105 /* need to flush before destroying the bufctx */
136 ret = nouveau_bufctx_new(screen->base.client, 2, &nv50->bufctx);
159 nouveau_pushbuf_bufctx(screen->base.pushbuf, nv50->bufctx);
186 BCTX_REFN_bo(nv50->bufctx, FENCE, flags, screen->fence.bo);
196 if (nv50->bufctx)
197 nouveau_bufctx_del(&nv50->bufctx);
204 nv50_bufctx_fence(struct nouveau_bufctx *bufctx, boolean on_flush) argument
206 struct nouveau_list *list = on_flush ? &bufctx->current : &bufctx
[all...]
H A Dnv50_winsys.h20 nv50_add_bufctx_resident_bo(struct nouveau_bufctx *bufctx, int bin, argument
23 nouveau_bufctx_refn(bufctx, bin, bo, flags)->priv = NULL;
27 nv50_add_bufctx_resident(struct nouveau_bufctx *bufctx, int bin, argument
31 nouveau_bufctx_refn(bufctx, bin, res->bo, flags | res->domain);
H A Dnv50_transfer.c59 struct nouveau_bufctx *bctx = nv50->bufctx;
157 nouveau_bufctx_refn(nv50->bufctx, 0, dst, domain | NOUVEAU_BO_WR);
158 nouveau_pushbuf_bufctx(push, nv50->bufctx);
204 nouveau_bufctx_reset(nv50->bufctx, 0);
214 struct nouveau_bufctx *bctx = nv50_context(&nv->pipe)->bufctx;
390 struct nouveau_bufctx *bctx = nv50_context(&nv->pipe)->bufctx;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
H A Dnvc0_context.c62 nouveau_bufctx_del(&nvc0->bufctx);
137 nouveau_bufctx_new(screen->base.client, 2, &nvc0->bufctx);
157 nouveau_pushbuf_bufctx(screen->base.pushbuf, nvc0->bufctx);
191 BCTX_REFN_bo(nvc0->bufctx, FENCE, flags, screen->fence.bo);
201 if (nvc0->bufctx)
202 nouveau_bufctx_del(&nvc0->bufctx);
209 nvc0_bufctx_fence(struct nvc0_context *nvc0, struct nouveau_bufctx *bufctx, argument
212 struct nouveau_list *list = on_flush ? &bufctx->current : &bufctx->pending;
H A Dnvc0_winsys.h19 nv50_add_bufctx_resident_bo(struct nouveau_bufctx *bufctx, int bin, argument
22 nouveau_bufctx_refn(bufctx, bin, bo, flags)->priv = NULL;
26 nvc0_add_resident(struct nouveau_bufctx *bufctx, int bin, argument
30 nouveau_bufctx_refn(bufctx, bin, res->bo, flags | res->domain);
H A Dnvc0_transfer.c23 struct nouveau_bufctx *bctx = nvc0->bufctx;
118 struct nouveau_bufctx *bctx = nvc0->bufctx;
186 nouveau_bufctx_refn(nvc0->bufctx, 0, dst, domain | NOUVEAU_BO_WR);
187 nouveau_pushbuf_bufctx(push, nvc0->bufctx);
218 nouveau_bufctx_reset(nvc0->bufctx, 0);
231 nouveau_bufctx_refn(nvc0->bufctx, 0, dst, domain | NOUVEAU_BO_WR);
232 nouveau_pushbuf_bufctx(push, nvc0->bufctx);
261 nouveau_bufctx_reset(nvc0->bufctx, 0);
271 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx;
309 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx;
[all...]
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_context.c76 nouveau_bufctx_del(&nv50->bufctx);
105 /* need to flush before destroying the bufctx */
136 ret = nouveau_bufctx_new(screen->base.client, 2, &nv50->bufctx);
159 nouveau_pushbuf_bufctx(screen->base.pushbuf, nv50->bufctx);
186 BCTX_REFN_bo(nv50->bufctx, FENCE, flags, screen->fence.bo);
196 if (nv50->bufctx)
197 nouveau_bufctx_del(&nv50->bufctx);
204 nv50_bufctx_fence(struct nouveau_bufctx *bufctx, boolean on_flush) argument
206 struct nouveau_list *list = on_flush ? &bufctx->current : &bufctx
[all...]
H A Dnv50_winsys.h20 nv50_add_bufctx_resident_bo(struct nouveau_bufctx *bufctx, int bin, argument
23 nouveau_bufctx_refn(bufctx, bin, bo, flags)->priv = NULL;
27 nv50_add_bufctx_resident(struct nouveau_bufctx *bufctx, int bin, argument
31 nouveau_bufctx_refn(bufctx, bin, res->bo, flags | res->domain);
H A Dnv50_transfer.c59 struct nouveau_bufctx *bctx = nv50->bufctx;
157 nouveau_bufctx_refn(nv50->bufctx, 0, dst, domain | NOUVEAU_BO_WR);
158 nouveau_pushbuf_bufctx(push, nv50->bufctx);
204 nouveau_bufctx_reset(nv50->bufctx, 0);
214 struct nouveau_bufctx *bctx = nv50_context(&nv->pipe)->bufctx;
390 struct nouveau_bufctx *bctx = nv50_context(&nv->pipe)->bufctx;
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_context.c62 nouveau_bufctx_del(&nvc0->bufctx);
137 nouveau_bufctx_new(screen->base.client, 2, &nvc0->bufctx);
157 nouveau_pushbuf_bufctx(screen->base.pushbuf, nvc0->bufctx);
191 BCTX_REFN_bo(nvc0->bufctx, FENCE, flags, screen->fence.bo);
201 if (nvc0->bufctx)
202 nouveau_bufctx_del(&nvc0->bufctx);
209 nvc0_bufctx_fence(struct nvc0_context *nvc0, struct nouveau_bufctx *bufctx, argument
212 struct nouveau_list *list = on_flush ? &bufctx->current : &bufctx->pending;
H A Dnvc0_winsys.h19 nv50_add_bufctx_resident_bo(struct nouveau_bufctx *bufctx, int bin, argument
22 nouveau_bufctx_refn(bufctx, bin, bo, flags)->priv = NULL;
26 nvc0_add_resident(struct nouveau_bufctx *bufctx, int bin, argument
30 nouveau_bufctx_refn(bufctx, bin, res->bo, flags | res->domain);
H A Dnvc0_transfer.c23 struct nouveau_bufctx *bctx = nvc0->bufctx;
118 struct nouveau_bufctx *bctx = nvc0->bufctx;
186 nouveau_bufctx_refn(nvc0->bufctx, 0, dst, domain | NOUVEAU_BO_WR);
187 nouveau_pushbuf_bufctx(push, nvc0->bufctx);
218 nouveau_bufctx_reset(nvc0->bufctx, 0);
231 nouveau_bufctx_refn(nvc0->bufctx, 0, dst, domain | NOUVEAU_BO_WR);
232 nouveau_pushbuf_bufctx(push, nvc0->bufctx);
261 nouveau_bufctx_reset(nvc0->bufctx, 0);
271 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx;
309 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx;
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
H A Dnv30_context.c44 nv30 = container_of(push->user_priv, nv30, bufctx);
50 if (push->bufctx) {
52 LIST_FOR_EACH_ENTRY(bref, &push->bufctx->current, thead) {
90 nouveau_bufctx_del(&nv30->bufctx);
137 ret = nouveau_bufctx_new(nv30->base.client, 64, &nv30->bufctx);
H A Dnv30_winsys.h30 bufctx(struct nouveau_pushbuf *push) function
39 nouveau_bufctx_reset(bufctx(push), bin);
46 nouveau_bufctx_refn(bufctx(push), bin, bo, access);
53 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd,
62 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd,
75 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd,
89 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd,
H A Dnv40_verttex.c80 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VERTTEX(i));
86 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VERTTEX(i));
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_context.c44 nv30 = container_of(push->user_priv, nv30, bufctx);
50 if (push->bufctx) {
52 LIST_FOR_EACH_ENTRY(bref, &push->bufctx->current, thead) {
90 nouveau_bufctx_del(&nv30->bufctx);
137 ret = nouveau_bufctx_new(nv30->base.client, 64, &nv30->bufctx);
H A Dnv30_winsys.h30 bufctx(struct nouveau_pushbuf *push) function
39 nouveau_bufctx_reset(bufctx(push), bin);
46 nouveau_bufctx_refn(bufctx(push), bin, bo, access);
53 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd,
62 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd,
75 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd,
89 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd,
H A Dnv40_verttex.c80 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VERTTEX(i));
86 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VERTTEX(i));
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/
H A Dnouveau_video.h25 struct nouveau_bufctx *bufctx; member in struct:nouveau_decoder
H A Dnouveau_video.c77 nouveau_bufctx_reset(dec->bufctx, NV31_VIDEO_BIND_CMD);
79 #define BCTX_ARGS dec->bufctx, NV31_VIDEO_BIND_CMD, NOUVEAU_BO_RD
405 nouveau_bufctx_reset(dec->bufctx, NV31_VIDEO_BIND_IMG(i));
407 #define BCTX_ARGS dec->bufctx, NV31_VIDEO_BIND_IMG(i), NOUVEAU_BO_RDWR
494 if (dec->bufctx)
495 nouveau_bufctx_del(&dec->bufctx);
547 ret = nouveau_bufctx_new(dec->client, NV31_VIDEO_BIND_COUNT, &dec->bufctx);
602 nouveau_pushbuf_bufctx(dec->push, dec->bufctx);
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_video.h25 struct nouveau_bufctx *bufctx; member in struct:nouveau_decoder
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
H A Dnouveau_context.c176 ret = nouveau_bufctx_new(nctx->hw.client, 16, &nctx->hw.bufctx);
182 nctx->hw.pushbuf->user_priv = nctx->hw.bufctx;
224 nouveau_bufctx_del(&nctx->hw.bufctx);
342 nouveau_bufctx_reset(to_nouveau_context(ctx)->hw.bufctx, BUFCTX_FB);
H A Dnouveau_context.h51 struct nouveau_bufctx *bufctx; member in struct:nouveau_hw_state
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnouveau_context.c176 ret = nouveau_bufctx_new(nctx->hw.client, 16, &nctx->hw.bufctx);
182 nctx->hw.pushbuf->user_priv = nctx->hw.bufctx;
224 nouveau_bufctx_del(&nctx->hw.bufctx);
342 nouveau_bufctx_reset(to_nouveau_context(ctx)->hw.bufctx, BUFCTX_FB);
H A Dnouveau_context.h51 struct nouveau_bufctx *bufctx; member in struct:nouveau_hw_state

Completed in 2457 milliseconds

12