/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_context.c | 45 nv30 = container_of(push->user_priv, nv30, bufctx); in nv30_context_kick_notify() 51 if (push->bufctx) { in nv30_context_kick_notify() 53 LIST_FOR_EACH_ENTRY(bref, &push->bufctx->current, thead) { in nv30_context_kick_notify() 100 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_FB); in nv30_invalidate_resource_storage() 110 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_FB); in nv30_invalidate_resource_storage() 120 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VTXBUF); in nv30_invalidate_resource_storage() 132 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_FRAGTEX(i)); in nv30_invalidate_resource_storage() 141 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VERTTEX(i)); in nv30_invalidate_resource_storage() 171 if (nv30->screen->base.pushbuf->user_priv == &nv30->bufctx) in nv30_context_destroy() 174 nouveau_bufctx_del(&nv30->bufctx); in nv30_context_destroy() [all …]
|
D | nv30_winsys.h | 30 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()
|
D | nv40_verttex.c | 81 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VERTTEX(i)); in nv40_verttex_set_sampler_views() 87 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VERTTEX(i)); in nv40_verttex_set_sampler_views()
|
D | nv30_fragtex.c | 182 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()
|
D | nv30_vbo.c | 177 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VTXTMP); in nv30_release_user_vbufs() 189 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VTXBUF); 570 push->user_priv = &nv30->bufctx;
|
D | nv30_context.h | 48 struct nouveau_bufctx *bufctx; member
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_winsys.h | 20 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()
|
D | nv50_context.c | 136 nouveau_bufctx_del(&nv50->bufctx); in nv50_context_unreference_resources() 291 ret = nouveau_bufctx_new(screen->base.client, 2, &nv50->bufctx); in nv50_create() 332 nouveau_pushbuf_bufctx(screen->base.pushbuf, nv50->bufctx); in nv50_create() 374 BCTX_REFN_bo(nv50->bufctx, FENCE, flags, screen->fence.bo); in nv50_create() 400 if (nv50->bufctx) in nv50_create() 401 nouveau_bufctx_del(&nv50->bufctx); in nv50_create() 408 nv50_bufctx_fence(struct nouveau_bufctx *bufctx, bool on_flush) in nv50_bufctx_fence() argument 410 struct nouveau_list *list = on_flush ? &bufctx->current : &bufctx->pending; in nv50_bufctx_fence()
|
D | nv50_transfer.c | 61 struct nouveau_bufctx *bctx = nv50->bufctx; in nv50_m2mf_transfer_rect() 159 nouveau_bufctx_refn(nv50->bufctx, 0, dst, domain | NOUVEAU_BO_WR); in nv50_sifc_linear_u8() 160 nouveau_pushbuf_bufctx(push, nv50->bufctx); in nv50_sifc_linear_u8() 199 nouveau_bufctx_reset(nv50->bufctx, 0); in nv50_sifc_linear_u8() 209 struct nouveau_bufctx *bctx = nv50_context(&nv->pipe)->bufctx; in nv50_m2mf_copy_linear()
|
D | nv50_compute.c | 215 nouveau_bufctx_refn(nv50->bufctx, 0, bo, NOUVEAU_BO_GART | NOUVEAU_BO_RD); in nv50_compute_upload_input() 216 nouveau_pushbuf_bufctx(push, nv50->bufctx); in nv50_compute_upload_input() 224 nouveau_bufctx_reset(nv50->bufctx, 0); in nv50_compute_upload_input()
|
D | nv50_surface.c | 257 BCTX_REFN(nv50->bufctx, 2D, nv04_resource(src), RD); in nv50_resource_copy_region() 258 BCTX_REFN(nv50->bufctx, 2D, nv04_resource(dst), WR); in nv50_resource_copy_region() 259 nouveau_pushbuf_bufctx(nv50->base.pushbuf, nv50->bufctx); in nv50_resource_copy_region() 272 nouveau_bufctx_reset(nv50->bufctx, NV50_BIND_2D); in nv50_resource_copy_region() 634 nouveau_bufctx_refn(nv50->bufctx, 0, buf->bo, buf->domain | NOUVEAU_BO_WR); in nv50_clear_buffer_push() 635 nouveau_pushbuf_bufctx(push, nv50->bufctx); in nv50_clear_buffer_push() 677 nouveau_bufctx_reset(nv50->bufctx, 0); in nv50_clear_buffer_push() 1600 BCTX_REFN(nv50->bufctx, 2D, &dst->base, WR); in nv50_blit_eng2d() 1601 BCTX_REFN(nv50->bufctx, 2D, &src->base, RD); in nv50_blit_eng2d() 1602 nouveau_pushbuf_bufctx(nv50->base.pushbuf, nv50->bufctx); in nv50_blit_eng2d() [all …]
|
D | nv50_state_validate.c | 533 uint32_t *dirty, struct nouveau_bufctx *bufctx) in nv50_state_validate() argument 559 nv50_bufctx_fence(bufctx, false); in nv50_state_validate() 561 nouveau_pushbuf_bufctx(nv50->base.pushbuf, bufctx); in nv50_state_validate()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_winsys.h | 19 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()
|
D | nvc0_context.c | 149 nouveau_bufctx_del(&nvc0->bufctx); in nvc0_context_unreference_resources() 384 ret = nouveau_bufctx_new(screen->base.client, 2, &nvc0->bufctx); in nvc0_create() 454 nouveau_pushbuf_bufctx(screen->base.pushbuf, nvc0->bufctx); in nvc0_create() 479 BCTX_REFN_bo(nvc0->bufctx, FENCE, flags, screen->fence.bo); in nvc0_create() 517 if (nvc0->bufctx) in nvc0_create() 518 nouveau_bufctx_del(&nvc0->bufctx); in nvc0_create() 526 nvc0_bufctx_fence(struct nvc0_context *nvc0, struct nouveau_bufctx *bufctx, in nvc0_bufctx_fence() argument 529 struct nouveau_list *list = on_flush ? &bufctx->current : &bufctx->pending; in nvc0_bufctx_fence()
|
D | nvc0_transfer.c | 21 struct nouveau_bufctx *bctx = nvc0->bufctx; in nvc0_m2mf_transfer_rect() 130 struct nouveau_bufctx *bctx = nvc0->bufctx; in nve4_m2mf_transfer_rect() 208 nouveau_bufctx_refn(nvc0->bufctx, 0, dst, domain | NOUVEAU_BO_WR); in nvc0_m2mf_push_linear() 209 nouveau_pushbuf_bufctx(push, nvc0->bufctx); in nvc0_m2mf_push_linear() 237 nouveau_bufctx_reset(nvc0->bufctx, 0); in nvc0_m2mf_push_linear() 250 nouveau_bufctx_refn(nvc0->bufctx, 0, dst, domain | NOUVEAU_BO_WR); in nve4_p2mf_push_linear() 251 nouveau_pushbuf_bufctx(push, nvc0->bufctx); in nve4_p2mf_push_linear() 277 nouveau_bufctx_reset(nvc0->bufctx, 0); in nve4_p2mf_push_linear() 287 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nvc0_m2mf_copy_linear() 325 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nve4_m2mf_copy_linear()
|
D | nvc0_surface.c | 267 BCTX_REFN(nvc0->bufctx, 2D, nv04_resource(src), RD); in nvc0_resource_copy_region() 268 BCTX_REFN(nvc0->bufctx, 2D, nv04_resource(dst), WR); in nvc0_resource_copy_region() 269 nouveau_pushbuf_bufctx(nvc0->base.pushbuf, nvc0->bufctx); in nvc0_resource_copy_region() 282 nouveau_bufctx_reset(nvc0->bufctx, 0); in nvc0_resource_copy_region() 380 nouveau_bufctx_refn(nvc0->bufctx, 0, buf->bo, buf->domain | NOUVEAU_BO_WR); in nvc0_clear_buffer_push_nvc0() 381 nouveau_pushbuf_bufctx(push, nvc0->bufctx); in nvc0_clear_buffer_push_nvc0() 415 nouveau_bufctx_reset(nvc0->bufctx, 0); in nvc0_clear_buffer_push_nvc0() 429 nouveau_bufctx_refn(nvc0->bufctx, 0, buf->bo, buf->domain | NOUVEAU_BO_WR); in nvc0_clear_buffer_push_nve4() 430 nouveau_pushbuf_bufctx(push, nvc0->bufctx); in nvc0_clear_buffer_push_nve4() 462 nouveau_bufctx_reset(nvc0->bufctx, 0); in nvc0_clear_buffer_push_nve4() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_context.c | 169 ret = nouveau_bufctx_new(nctx->hw.client, 16, &nctx->hw.bufctx); in nouveau_context_init() 175 nctx->hw.pushbuf->user_priv = nctx->hw.bufctx; in nouveau_context_init() 214 nouveau_bufctx_del(&nctx->hw.bufctx); in nouveau_context_deinit() 332 nouveau_bufctx_reset(to_nouveau_context(ctx)->hw.bufctx, BUFCTX_FB); in update_framebuffer()
|
D | nouveau_vbo_t.c | 258 struct nouveau_bufctx *bufctx = nctx->hw.bufctx; in vbo_maybe_split() local 259 unsigned pushbuf_avail = PUSHBUF_DWORDS - 2 * (bufctx->relocs + in vbo_maybe_split() 411 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in vbo_draw_vbo() 451 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in vbo_draw_imm()
|
D | nouveau_context.h | 51 struct nouveau_bufctx *bufctx; member
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_video.c | 77 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() 392 nouveau_bufctx_reset(dec->bufctx, NV31_VIDEO_BIND_IMG(i)); in nouveau_decoder_surface_index() 394 #define BCTX_ARGS dec->bufctx, NV31_VIDEO_BIND_IMG(i), NOUVEAU_BO_RDWR in nouveau_decoder_surface_index() 486 if (dec->bufctx) in nouveau_decoder_destroy() 487 nouveau_bufctx_del(&dec->bufctx); in nouveau_decoder_destroy() 538 ret = nouveau_bufctx_new(dec->client, NV31_VIDEO_BIND_COUNT, &dec->bufctx); in nouveau_create_decoder() 590 nouveau_pushbuf_bufctx(dec->push, dec->bufctx); in nouveau_create_decoder()
|
D | nouveau_video.h | 25 struct nouveau_bufctx *bufctx; member
|
/external/libdrm/nouveau/ |
D | bufctx.c | 40 struct nouveau_bufctx *bufctx; member 135 pref->bufctx = bctx; in nouveau_bufctx_refn()
|
D | Makefile.sources | 4 bufctx.c \
|
D | Android.sources.bp | 8 "bufctx.c",
|
D | meson.build | 24 [files( 'nouveau.c', 'pushbuf.c', 'bufctx.c', 'abi16.c'), config_file],
|