Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
Dnvc0_context.c62 nouveau_bufctx_del(&nvc0->bufctx); in nvc0_context_unreference_resources()
137 nouveau_bufctx_new(screen->base.client, 2, &nvc0->bufctx); in nvc0_create()
157 nouveau_pushbuf_bufctx(screen->base.pushbuf, nvc0->bufctx); in nvc0_create()
191 BCTX_REFN_bo(nvc0->bufctx, FENCE, flags, screen->fence.bo); in nvc0_create()
201 if (nvc0->bufctx) in nvc0_create()
202 nouveau_bufctx_del(&nvc0->bufctx); in nvc0_create()
209 nvc0_bufctx_fence(struct nvc0_context *nvc0, struct nouveau_bufctx *bufctx, in nvc0_bufctx_fence() argument
212 struct nouveau_list *list = on_flush ? &bufctx->current : &bufctx->pending; in nvc0_bufctx_fence()
Dnvc0_winsys.h19 nv50_add_bufctx_resident_bo(struct nouveau_bufctx *bufctx, int bin, in nv50_add_bufctx_resident_bo() argument
22 nouveau_bufctx_refn(bufctx, bin, bo, flags)->priv = NULL; in nv50_add_bufctx_resident_bo()
26 nvc0_add_resident(struct nouveau_bufctx *bufctx, int bin, in nvc0_add_resident() argument
30 nouveau_bufctx_refn(bufctx, bin, res->bo, flags | res->domain); in nvc0_add_resident()
Dnvc0_transfer.c23 struct nouveau_bufctx *bctx = nvc0->bufctx; in nvc0_m2mf_transfer_rect()
118 struct nouveau_bufctx *bctx = nvc0->bufctx; in nve4_m2mf_transfer_rect()
186 nouveau_bufctx_refn(nvc0->bufctx, 0, dst, domain | NOUVEAU_BO_WR); in nvc0_m2mf_push_linear()
187 nouveau_pushbuf_bufctx(push, nvc0->bufctx); in nvc0_m2mf_push_linear()
218 nouveau_bufctx_reset(nvc0->bufctx, 0); in nvc0_m2mf_push_linear()
231 nouveau_bufctx_refn(nvc0->bufctx, 0, dst, domain | NOUVEAU_BO_WR); in nve4_p2mf_push_linear()
232 nouveau_pushbuf_bufctx(push, nvc0->bufctx); in nve4_p2mf_push_linear()
261 nouveau_bufctx_reset(nvc0->bufctx, 0); in nve4_p2mf_push_linear()
271 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nvc0_m2mf_copy_linear()
309 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nve4_m2mf_copy_linear()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
Dnv50_context.c76 nouveau_bufctx_del(&nv50->bufctx); in nv50_context_unreference_resources()
136 ret = nouveau_bufctx_new(screen->base.client, 2, &nv50->bufctx); in nv50_create()
159 nouveau_pushbuf_bufctx(screen->base.pushbuf, nv50->bufctx); in nv50_create()
186 BCTX_REFN_bo(nv50->bufctx, FENCE, flags, screen->fence.bo); in nv50_create()
196 if (nv50->bufctx) in nv50_create()
197 nouveau_bufctx_del(&nv50->bufctx); in nv50_create()
204 nv50_bufctx_fence(struct nouveau_bufctx *bufctx, boolean on_flush) in nv50_bufctx_fence() argument
206 struct nouveau_list *list = on_flush ? &bufctx->current : &bufctx->pending; in nv50_bufctx_fence()
Dnv50_winsys.h20 nv50_add_bufctx_resident_bo(struct nouveau_bufctx *bufctx, int bin, in nv50_add_bufctx_resident_bo() argument
23 nouveau_bufctx_refn(bufctx, bin, bo, flags)->priv = NULL; in nv50_add_bufctx_resident_bo()
27 nv50_add_bufctx_resident(struct nouveau_bufctx *bufctx, int bin, in nv50_add_bufctx_resident() argument
31 nouveau_bufctx_refn(bufctx, bin, res->bo, flags | res->domain); in nv50_add_bufctx_resident()
Dnv50_transfer.c59 struct nouveau_bufctx *bctx = nv50->bufctx; in nv50_m2mf_transfer_rect()
157 nouveau_bufctx_refn(nv50->bufctx, 0, dst, domain | NOUVEAU_BO_WR); in nv50_sifc_linear_u8()
158 nouveau_pushbuf_bufctx(push, nv50->bufctx); in nv50_sifc_linear_u8()
204 nouveau_bufctx_reset(nv50->bufctx, 0); in nv50_sifc_linear_u8()
214 struct nouveau_bufctx *bctx = nv50_context(&nv->pipe)->bufctx; in nv50_m2mf_copy_linear()
390 struct nouveau_bufctx *bctx = nv50_context(&nv->pipe)->bufctx; in nv50_cb_push()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_context.c62 nouveau_bufctx_del(&nvc0->bufctx); in nvc0_context_unreference_resources()
137 nouveau_bufctx_new(screen->base.client, 2, &nvc0->bufctx); in nvc0_create()
157 nouveau_pushbuf_bufctx(screen->base.pushbuf, nvc0->bufctx); in nvc0_create()
191 BCTX_REFN_bo(nvc0->bufctx, FENCE, flags, screen->fence.bo); in nvc0_create()
201 if (nvc0->bufctx) in nvc0_create()
202 nouveau_bufctx_del(&nvc0->bufctx); in nvc0_create()
209 nvc0_bufctx_fence(struct nvc0_context *nvc0, struct nouveau_bufctx *bufctx, in nvc0_bufctx_fence() argument
212 struct nouveau_list *list = on_flush ? &bufctx->current : &bufctx->pending; in nvc0_bufctx_fence()
Dnvc0_winsys.h19 nv50_add_bufctx_resident_bo(struct nouveau_bufctx *bufctx, int bin, in nv50_add_bufctx_resident_bo() argument
22 nouveau_bufctx_refn(bufctx, bin, bo, flags)->priv = NULL; in nv50_add_bufctx_resident_bo()
26 nvc0_add_resident(struct nouveau_bufctx *bufctx, int bin, in nvc0_add_resident() argument
30 nouveau_bufctx_refn(bufctx, bin, res->bo, flags | res->domain); in nvc0_add_resident()
Dnvc0_transfer.c23 struct nouveau_bufctx *bctx = nvc0->bufctx; in nvc0_m2mf_transfer_rect()
118 struct nouveau_bufctx *bctx = nvc0->bufctx; in nve4_m2mf_transfer_rect()
186 nouveau_bufctx_refn(nvc0->bufctx, 0, dst, domain | NOUVEAU_BO_WR); in nvc0_m2mf_push_linear()
187 nouveau_pushbuf_bufctx(push, nvc0->bufctx); in nvc0_m2mf_push_linear()
218 nouveau_bufctx_reset(nvc0->bufctx, 0); in nvc0_m2mf_push_linear()
231 nouveau_bufctx_refn(nvc0->bufctx, 0, dst, domain | NOUVEAU_BO_WR); in nve4_p2mf_push_linear()
232 nouveau_pushbuf_bufctx(push, nvc0->bufctx); in nve4_p2mf_push_linear()
261 nouveau_bufctx_reset(nvc0->bufctx, 0); in nve4_p2mf_push_linear()
271 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nvc0_m2mf_copy_linear()
309 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nve4_m2mf_copy_linear()
[all …]
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_context.c76 nouveau_bufctx_del(&nv50->bufctx); in nv50_context_unreference_resources()
136 ret = nouveau_bufctx_new(screen->base.client, 2, &nv50->bufctx); in nv50_create()
159 nouveau_pushbuf_bufctx(screen->base.pushbuf, nv50->bufctx); in nv50_create()
186 BCTX_REFN_bo(nv50->bufctx, FENCE, flags, screen->fence.bo); in nv50_create()
196 if (nv50->bufctx) in nv50_create()
197 nouveau_bufctx_del(&nv50->bufctx); in nv50_create()
204 nv50_bufctx_fence(struct nouveau_bufctx *bufctx, boolean on_flush) in nv50_bufctx_fence() argument
206 struct nouveau_list *list = on_flush ? &bufctx->current : &bufctx->pending; in nv50_bufctx_fence()
Dnv50_winsys.h20 nv50_add_bufctx_resident_bo(struct nouveau_bufctx *bufctx, int bin, in nv50_add_bufctx_resident_bo() argument
23 nouveau_bufctx_refn(bufctx, bin, bo, flags)->priv = NULL; in nv50_add_bufctx_resident_bo()
27 nv50_add_bufctx_resident(struct nouveau_bufctx *bufctx, int bin, in nv50_add_bufctx_resident() argument
31 nouveau_bufctx_refn(bufctx, bin, res->bo, flags | res->domain); in nv50_add_bufctx_resident()
Dnv50_transfer.c59 struct nouveau_bufctx *bctx = nv50->bufctx; in nv50_m2mf_transfer_rect()
157 nouveau_bufctx_refn(nv50->bufctx, 0, dst, domain | NOUVEAU_BO_WR); in nv50_sifc_linear_u8()
158 nouveau_pushbuf_bufctx(push, nv50->bufctx); in nv50_sifc_linear_u8()
204 nouveau_bufctx_reset(nv50->bufctx, 0); in nv50_sifc_linear_u8()
214 struct nouveau_bufctx *bctx = nv50_context(&nv->pipe)->bufctx; in nv50_m2mf_copy_linear()
390 struct nouveau_bufctx *bctx = nv50_context(&nv->pipe)->bufctx; in nv50_cb_push()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_winsys.h30 bufctx(struct nouveau_pushbuf *push) in bufctx() function
39 nouveau_bufctx_reset(bufctx(push), bin); in PUSH_RESET()
46 nouveau_bufctx_refn(bufctx(push), bin, bo, access); in PUSH_REFN()
53 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHDl()
62 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHDo()
75 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHDs()
89 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHD()
Dnv30_context.c44 nv30 = container_of(push->user_priv, nv30, bufctx); in nv30_context_kick_notify()
50 if (push->bufctx) { in nv30_context_kick_notify()
52 LIST_FOR_EACH_ENTRY(bref, &push->bufctx->current, thead) { in nv30_context_kick_notify()
90 nouveau_bufctx_del(&nv30->bufctx); in nv30_context_destroy()
137 ret = nouveau_bufctx_new(nv30->base.client, 64, &nv30->bufctx); in nv30_context_create()
Dnv40_verttex.c80 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VERTTEX(i)); in nv40_verttex_set_sampler_views()
86 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VERTTEX(i)); in nv40_verttex_set_sampler_views()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
Dnv30_winsys.h30 bufctx(struct nouveau_pushbuf *push) in bufctx() function
39 nouveau_bufctx_reset(bufctx(push), bin); in PUSH_RESET()
46 nouveau_bufctx_refn(bufctx(push), bin, bo, access); in PUSH_REFN()
53 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHDl()
62 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHDo()
75 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHDs()
89 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHD()
Dnv30_context.c44 nv30 = container_of(push->user_priv, nv30, bufctx); in nv30_context_kick_notify()
50 if (push->bufctx) { in nv30_context_kick_notify()
52 LIST_FOR_EACH_ENTRY(bref, &push->bufctx->current, thead) { in nv30_context_kick_notify()
90 nouveau_bufctx_del(&nv30->bufctx); in nv30_context_destroy()
137 ret = nouveau_bufctx_new(nv30->base.client, 64, &nv30->bufctx); in nv30_context_create()
Dnv40_verttex.c80 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VERTTEX(i)); in nv40_verttex_set_sampler_views()
86 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VERTTEX(i)); in nv40_verttex_set_sampler_views()
Dnv30_fragtex.c182 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_FRAGTEX(i)); in nv30_fragtex_set_sampler_views()
188 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_FRAGTEX(i)); in nv30_fragtex_set_sampler_views()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
Dnouveau_context.c176 ret = nouveau_bufctx_new(nctx->hw.client, 16, &nctx->hw.bufctx); in nouveau_context_init()
182 nctx->hw.pushbuf->user_priv = nctx->hw.bufctx; in nouveau_context_init()
224 nouveau_bufctx_del(&nctx->hw.bufctx); in nouveau_context_deinit()
342 nouveau_bufctx_reset(to_nouveau_context(ctx)->hw.bufctx, BUFCTX_FB); in update_framebuffer()
Dnouveau_vbo_t.c235 struct nouveau_bufctx *bufctx = nctx->hw.bufctx; in vbo_maybe_split() local
236 unsigned pushbuf_avail = PUSHBUF_DWORDS - 2 * (bufctx->relocs + in vbo_maybe_split()
378 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in vbo_draw_vbo()
418 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in vbo_draw_imm()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_context.c176 ret = nouveau_bufctx_new(nctx->hw.client, 16, &nctx->hw.bufctx); in nouveau_context_init()
182 nctx->hw.pushbuf->user_priv = nctx->hw.bufctx; in nouveau_context_init()
224 nouveau_bufctx_del(&nctx->hw.bufctx); in nouveau_context_deinit()
342 nouveau_bufctx_reset(to_nouveau_context(ctx)->hw.bufctx, BUFCTX_FB); in update_framebuffer()
Dnouveau_vbo_t.c235 struct nouveau_bufctx *bufctx = nctx->hw.bufctx; in vbo_maybe_split() local
236 unsigned pushbuf_avail = PUSHBUF_DWORDS - 2 * (bufctx->relocs + in vbo_maybe_split()
378 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in vbo_draw_vbo()
418 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in vbo_draw_imm()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/
Dnouveau_video.c77 nouveau_bufctx_reset(dec->bufctx, NV31_VIDEO_BIND_CMD); in nouveau_vpe_fini()
79 #define BCTX_ARGS dec->bufctx, NV31_VIDEO_BIND_CMD, NOUVEAU_BO_RD in nouveau_vpe_fini()
405 nouveau_bufctx_reset(dec->bufctx, NV31_VIDEO_BIND_IMG(i)); in nouveau_decoder_surface_index()
407 #define BCTX_ARGS dec->bufctx, NV31_VIDEO_BIND_IMG(i), NOUVEAU_BO_RDWR in nouveau_decoder_surface_index()
494 if (dec->bufctx) in nouveau_decoder_destroy()
495 nouveau_bufctx_del(&dec->bufctx); in nouveau_decoder_destroy()
547 ret = nouveau_bufctx_new(dec->client, NV31_VIDEO_BIND_COUNT, &dec->bufctx); in nouveau_create_decoder()
602 nouveau_pushbuf_bufctx(dec->push, dec->bufctx); in nouveau_create_decoder()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_video.c77 nouveau_bufctx_reset(dec->bufctx, NV31_VIDEO_BIND_CMD); in nouveau_vpe_fini()
79 #define BCTX_ARGS dec->bufctx, NV31_VIDEO_BIND_CMD, NOUVEAU_BO_RD in nouveau_vpe_fini()
405 nouveau_bufctx_reset(dec->bufctx, NV31_VIDEO_BIND_IMG(i)); in nouveau_decoder_surface_index()
407 #define BCTX_ARGS dec->bufctx, NV31_VIDEO_BIND_IMG(i), NOUVEAU_BO_RDWR in nouveau_decoder_surface_index()
494 if (dec->bufctx) in nouveau_decoder_destroy()
495 nouveau_bufctx_del(&dec->bufctx); in nouveau_decoder_destroy()
547 ret = nouveau_bufctx_new(dec->client, NV31_VIDEO_BIND_COUNT, &dec->bufctx); in nouveau_create_decoder()
602 nouveau_pushbuf_bufctx(dec->push, dec->bufctx); in nouveau_create_decoder()

12