/external/libdrm/nouveau/ |
bufctx.c | 60 nouveau_bufctx(struct nouveau_bufctx *bctx) 62 return (struct nouveau_bufctx_priv *)bctx; 103 nouveau_bufctx_reset(struct nouveau_bufctx *bctx, int bin) 105 struct nouveau_bufctx_priv *pctx = nouveau_bufctx(bctx); 116 bctx->relocs -= pbin->relocs; 121 nouveau_bufctx_refn(struct nouveau_bufctx *bctx, int bin, 124 struct nouveau_bufctx_priv *pctx = nouveau_bufctx(bctx); 138 DRMLISTADDTAIL(&pref->base.thead, &bctx->pending); 139 pref->bufctx = bctx; 148 nouveau_bufctx_mthd(struct nouveau_bufctx *bctx, int bin, uint32_t packet [all...] |
pushbuf.c | 400 struct nouveau_bufctx *bctx, *btmp; local 427 DRMLISTFOREACHENTRYSAFE(bctx, btmp, &nvpb->bctx_list, head) { 428 DRMLISTJOIN(&bctx->current, &bctx->pending); 429 DRMINITLISTHEAD(&bctx->current); 430 DRMLISTDELINIT(&bctx->head); 490 struct nouveau_bufctx *bctx = push->bufctx; local 492 int relocs = bctx ? bctx->relocs * 2: 0; 496 if (ret || bctx == NULL [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_transfer.c | 23 struct nouveau_bufctx *bctx = nvc0->bufctx; local 34 nouveau_bufctx_refn(bctx, 0, src->bo, src->domain | NOUVEAU_BO_RD); 35 nouveau_bufctx_refn(bctx, 0, dst->bo, dst->domain | NOUVEAU_BO_WR); 36 nouveau_pushbuf_bufctx(push, bctx); 108 nouveau_bufctx_reset(bctx, 0); 118 struct nouveau_bufctx *bctx = nvc0->bufctx; local 126 nouveau_bufctx_refn(bctx, 0, dst->bo, dst->domain | NOUVEAU_BO_WR); 127 nouveau_bufctx_refn(bctx, 0, src->bo, src->domain | NOUVEAU_BO_RD); 128 nouveau_pushbuf_bufctx(push, bctx); 173 nouveau_bufctx_reset(bctx, 0) 271 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; local 309 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; local 469 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; local [all...] |
nvc0_winsys.h | 38 #define BCTX_REFN(bctx, bin, res, acc) \ 39 nvc0_add_resident(bctx, NVC0_BIND_##bin, res, NOUVEAU_BO_##acc)
|
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_transfer.c | 59 struct nouveau_bufctx *bctx = nv50->bufctx; local 69 nouveau_bufctx_refn(bctx, 0, src->bo, src->domain | NOUVEAU_BO_RD); 70 nouveau_bufctx_refn(bctx, 0, dst->bo, dst->domain | NOUVEAU_BO_WR); 71 nouveau_pushbuf_bufctx(push, bctx); 143 nouveau_bufctx_reset(bctx, 0); 214 struct nouveau_bufctx *bctx = nv50_context(&nv->pipe)->bufctx; local 216 nouveau_bufctx_refn(bctx, 0, src, srcdom | NOUVEAU_BO_RD); 217 nouveau_bufctx_refn(bctx, 0, dst, dstdom | NOUVEAU_BO_WR); 218 nouveau_pushbuf_bufctx(push, bctx); 246 nouveau_bufctx_reset(bctx, 0) 390 struct nouveau_bufctx *bctx = nv50_context(&nv->pipe)->bufctx; local [all...] |
nv50_winsys.h | 39 #define BCTX_REFN(bctx, bin, res, acc) \ 40 nv50_add_bufctx_resident(bctx, NV50_BIND_##bin, res, NOUVEAU_BO_##acc)
|
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_state_validate.c | 463 struct nouveau_bufctx *bctx = nv30->bufctx; local 494 nouveau_pushbuf_bufctx(push, bctx); 516 LIST_FOR_EACH_ENTRY(bref, &bctx->current, thead) {
|