Home
last modified time | relevance | path

Searched refs:bctx (Results 1 – 8 of 8) sorted by relevance

/third_party/libdrm/nouveau/
Dbufctx.c56 nouveau_bufctx(struct nouveau_bufctx *bctx) in nouveau_bufctx() argument
58 return (struct nouveau_bufctx_priv *)bctx; in nouveau_bufctx()
99 nouveau_bufctx_reset(struct nouveau_bufctx *bctx, int bin) in nouveau_bufctx_reset() argument
101 struct nouveau_bufctx_priv *pctx = nouveau_bufctx(bctx); in nouveau_bufctx_reset()
112 bctx->relocs -= pbin->relocs; in nouveau_bufctx_reset()
117 nouveau_bufctx_refn(struct nouveau_bufctx *bctx, int bin, in nouveau_bufctx_refn() argument
120 struct nouveau_bufctx_priv *pctx = nouveau_bufctx(bctx); in nouveau_bufctx_refn()
134 DRMLISTADDTAIL(&pref->base.thead, &bctx->pending); in nouveau_bufctx_refn()
135 pref->bufctx = bctx; in nouveau_bufctx_refn()
144 nouveau_bufctx_mthd(struct nouveau_bufctx *bctx, int bin, uint32_t packet, in nouveau_bufctx_mthd() argument
[all …]
Dpushbuf.c396 struct nouveau_bufctx *bctx, *btmp; in pushbuf_flush() local
423 DRMLISTFOREACHENTRYSAFE(bctx, btmp, &nvpb->bctx_list, head) { in pushbuf_flush()
424 DRMLISTJOIN(&bctx->current, &bctx->pending); in pushbuf_flush()
425 DRMINITLISTHEAD(&bctx->current); in pushbuf_flush()
426 DRMLISTDELINIT(&bctx->head); in pushbuf_flush()
486 struct nouveau_bufctx *bctx = push->bufctx; in pushbuf_validate() local
488 int relocs = bctx ? bctx->relocs * 2: 0; in pushbuf_validate()
492 if (ret || bctx == NULL) in pushbuf_validate()
498 DRMLISTDEL(&bctx->head); in pushbuf_validate()
499 DRMLISTADD(&bctx->head, &nvpb->bctx_list); in pushbuf_validate()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_transfer.c21 struct nouveau_bufctx *bctx = nvc0->bufctx; in nvc0_m2mf_transfer_rect() local
32 nouveau_bufctx_refn(bctx, 0, src->bo, src->domain | NOUVEAU_BO_RD); in nvc0_m2mf_transfer_rect()
33 nouveau_bufctx_refn(bctx, 0, dst->bo, dst->domain | NOUVEAU_BO_WR); in nvc0_m2mf_transfer_rect()
34 nouveau_pushbuf_bufctx(push, bctx); in nvc0_m2mf_transfer_rect()
106 nouveau_bufctx_reset(bctx, 0); in nvc0_m2mf_transfer_rect()
130 struct nouveau_bufctx *bctx = nvc0->bufctx; in nve4_m2mf_transfer_rect() local
138 nouveau_bufctx_refn(bctx, 0, dst->bo, dst->domain | NOUVEAU_BO_WR); in nve4_m2mf_transfer_rect()
139 nouveau_bufctx_refn(bctx, 0, src->bo, src->domain | NOUVEAU_BO_RD); in nve4_m2mf_transfer_rect()
140 nouveau_pushbuf_bufctx(push, bctx); in nve4_m2mf_transfer_rect()
195 nouveau_bufctx_reset(bctx, 0); in nve4_m2mf_transfer_rect()
[all …]
Dnvc0_winsys.h38 #define BCTX_REFN(bctx, bin, res, acc) \ argument
39 nvc0_add_resident(bctx, NVC0_BIND_##bin, res, NOUVEAU_BO_##acc)
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_transfer.c64 struct nouveau_bufctx *bctx = nv50->bufctx; in nv50_2d_transfer_rect() local
67 nouveau_bufctx_refn(bctx, 0, src->bo, src->domain | NOUVEAU_BO_RD); in nv50_2d_transfer_rect()
68 nouveau_bufctx_refn(bctx, 0, dst->bo, dst->domain | NOUVEAU_BO_WR); in nv50_2d_transfer_rect()
69 nouveau_pushbuf_bufctx(push, bctx); in nv50_2d_transfer_rect()
160 nouveau_bufctx_reset(bctx, 0); in nv50_2d_transfer_rect()
170 struct nouveau_bufctx *bctx = nv50->bufctx; in nv50_m2mf_transfer_rect() local
197 nouveau_bufctx_refn(bctx, 0, src->bo, src->domain | NOUVEAU_BO_RD); in nv50_m2mf_transfer_rect()
198 nouveau_bufctx_refn(bctx, 0, dst->bo, dst->domain | NOUVEAU_BO_WR); in nv50_m2mf_transfer_rect()
199 nouveau_pushbuf_bufctx(push, bctx); in nv50_m2mf_transfer_rect()
271 nouveau_bufctx_reset(bctx, 0); in nv50_m2mf_transfer_rect()
[all …]
Dnv50_winsys.h39 #define BCTX_REFN(bctx, bin, res, acc) \ argument
40 nv50_add_bufctx_resident(bctx, NV50_BIND_##bin, res, NOUVEAU_BO_##acc)
/third_party/gstreamer/gstplugins_bad/ext/resindvd/
Dresindvdbin.c434 RsnDvdBinPadBlockCtx *bctx = NULL; in create_elements() local
508 bctx = g_slice_new (RsnDvdBinPadBlockCtx); in create_elements()
509 bctx->dvdbin = gst_object_ref (dvdbin); in create_elements()
510 bctx->pad = gst_object_ref (dvdbin->video_pad); in create_elements()
511 bctx->pad_block_id = in create_elements()
513 (GstPadProbeCallback) dvdbin_pad_blocked_cb, bctx, (GDestroyNotify) in create_elements()
562 bctx = g_slice_new (RsnDvdBinPadBlockCtx); in create_elements()
563 bctx->dvdbin = gst_object_ref (dvdbin); in create_elements()
564 bctx->pad = gst_object_ref (dvdbin->subpicture_pad); in create_elements()
565 bctx->pad_block_id = in create_elements()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state_validate.c468 struct nouveau_bufctx *bctx = nv30->bufctx; in nv30_state_validate() local
501 nouveau_pushbuf_bufctx(push, bctx); in nv30_state_validate()
523 LIST_FOR_EACH_ENTRY(bref, &bctx->current, thead) { in nv30_state_validate()