Home
last modified time | relevance | path

Searched refs:nv04_resource (Results 1 – 25 of 44) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_buffer.h34 struct nv04_resource { struct
59 nouveau_buffer_release_gpu_storage(struct nv04_resource *); argument
63 struct nv04_resource *dst, unsigned dst_pos,
64 struct nv04_resource *src, unsigned src_pos, unsigned size);
68 struct nv04_resource *, unsigned domain);
71 nouveau_resource_map_offset(struct nouveau_context *, struct nv04_resource *,
75 nouveau_resource_unmap(struct nv04_resource *res) in nouveau_resource_unmap()
80 static inline struct nv04_resource *
81 nv04_resource(struct pipe_resource *resource) in nv04_resource() function
83 return (struct nv04_resource *)resource; in nv04_resource()
[all …]
Dnouveau_buffer.c30 nouveau_buffer_malloc(struct nv04_resource *buf) in nouveau_buffer_malloc()
39 struct nv04_resource *buf, unsigned domain) in nouveau_buffer_allocate()
79 nouveau_buffer_release_gpu_storage(struct nv04_resource *buf) in nouveau_buffer_release_gpu_storage()
103 struct nv04_resource *buf, unsigned domain) in nouveau_buffer_reallocate()
119 struct nv04_resource *res = nv04_resource(presource); in nouveau_buffer_destroy()
173 struct nv04_resource *buf = nv04_resource(tx->base.resource); in nouveau_transfer_read()
195 struct nv04_resource *buf = nv04_resource(tx->base.resource); in nouveau_transfer_write()
229 struct nv04_resource *buf, unsigned rw) in nouveau_buffer_sync()
254 nouveau_buffer_busy(struct nv04_resource *buf, unsigned rw) in nouveau_buffer_busy()
303 nouveau_buffer_cache(struct nouveau_context *nv, struct nv04_resource *buf) in nouveau_buffer_cache()
[all …]
Dnouveau_context.h10 struct nv04_resource;
30 struct nv04_resource *,
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_fragprog.c61 if (nv04_resource(fp->buffer)->domain != NOUVEAU_BO_VRAM) in nv30_fragprog_upload()
62 nouveau_buffer_migrate(nv, nv04_resource(fp->buffer), NOUVEAU_BO_VRAM); in nv30_fragprog_upload()
87 uint32_t *cbuf = (uint32_t *)nv04_resource(constbuf)->data; in nv30_fragprog_validate()
108 struct nv04_resource *r = nv04_resource(fp->buffer); in nv30_fragprog_validate()
Dnv30_vbo.c43 struct nv04_resource *res = nv04_resource(vb->buffer.resource); in nv30_emit_vtxattr()
95 struct nv04_resource *buf; in nv30_prevalidate_vbufs()
105 buf = nv04_resource(vb->buffer.resource); in nv30_prevalidate_vbufs()
139 struct nv04_resource *buf = nv04_resource(vb->buffer.resource); in nv30_update_user_vbufs()
174 nouveau_buffer_release_gpu_storage(nv04_resource(nv30->vtxbuf[i].buffer.resource)); in nv30_release_user_vbufs()
228 struct nv04_resource *res;
236 res = nv04_resource(vb->buffer.resource);
477 struct nv04_resource *res = nv04_resource(info->index.resource);
515 nv04_resource(info->index.resource),
Dnv30_push.c212 struct nv04_resource *res = nv04_resource(vb->buffer.resource); in nv30_push_vbo()
230 nv04_resource(info->index.resource), info->start * info->index_size, in nv30_push_vbo()
281 nouveau_resource_unmap(nv04_resource(info->index.resource)); in nv30_push_vbo()
285 nouveau_resource_unmap(nv04_resource(nv30->vtxbuf[i].buffer.resource)); in nv30_push_vbo()
Dnv30_resource.h31 struct nv04_resource base;
Dnv30_vertprog.c174 struct nv04_resource *res = nv04_resource(nv30->vertprog.constbuf); in nv30_vertprog_validate()
Dnv30_transfer.c111 static inline struct nv04_resource *
114 struct nv04_resource *fp = nv04_resource(nv30->blit_fp); in nv30_transfer_rect_fragprog()
136 fp = nv04_resource(nv30->blit_fp); in nv30_transfer_rect_fragprog()
147 struct nv04_resource *fp = nv30_transfer_rect_fragprog(nv30); in nv30_transfer_rect_blit()
Dnv30_draw.c133 nv04_resource(r->buffer), r->offset + r->vtxptr[i], in nv30_render_draw_elements()
178 nv04_resource(r->buffer), r->offset + r->vtxptr[i], in nv30_render_draw_arrays()
413 void *map = nv04_resource(nv30->vertprog.constbuf)->data; in nv30_render_vbo()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_tex.c133 if (unlikely(!nouveau_bo_memtype(nv04_resource(texture)->bo))) { in gm107_create_texture_view()
244 struct nv04_resource *res = nv04_resource(view->resource); in gm107_create_texture_view_from_image()
345 if (unlikely(!nouveau_bo_memtype(nv04_resource(texture)->bo))) { in gf100_create_texture_view()
456 struct nv04_resource *res) in nvc0_update_tic()
491 struct nv04_resource *res; in nvc0_validate_tic()
499 res = nv04_resource(tic->pipe.texture); in nvc0_validate_tic()
558 struct nv04_resource *res; in nve4_validate_tic()
565 res = nv04_resource(tic->pipe.texture); in nve4_validate_tic()
890 res->buf = nv04_resource(tic->pipe.texture); in nve4_make_texture_handle_resident()
912 struct nv04_resource *res = nv04_resource(view->resource); in nvc0_get_surface_dims()
[all …]
Dnve4_compute.c223 struct nv04_resource *res = nv04_resource(view->resource); in gm107_compute_validate_surfaces()
233 res = nv04_resource(tic->pipe.texture); in gm107_compute_validate_surfaces()
308 struct nv04_resource *res = nv04_resource(view->resource); in nve4_compute_validate_surfaces()
414 struct nv04_resource *res = in nve4_compute_validate_constbufs()
415 nv04_resource(nvc0->constbuf[s][i].u.buf); in nve4_compute_validate_constbufs()
468 struct nv04_resource *res = in nve4_compute_validate_buffers()
469 nv04_resource(nvc0->buffers[s][i].buffer); in nve4_compute_validate_buffers()
545 struct nv04_resource *res = nv04_resource(info->indirect); in nve4_compute_upload_input()
609 struct nv04_resource *res = in nve4_compute_setup_buf_cb()
610 nv04_resource(nvc0->constbuf[5][i].u.buf); in nve4_compute_setup_buf_cb()
[all …]
Dnvc0_compute.c220 struct nv04_resource *res = in nvc0_compute_validate_constbufs()
221 nv04_resource(nvc0->constbuf[s][i].u.buf); in nvc0_compute_validate_constbufs()
281 struct nv04_resource *res = in nvc0_compute_validate_buffers()
282 nv04_resource(nvc0->buffers[s][i].buffer); in nvc0_compute_validate_buffers()
312 nv04_resource(res), NOUVEAU_BO_RDWR); in nvc0_compute_validate_globals()
471 struct nv04_resource *res = nv04_resource(info->indirect); in nvc0_launch_grid()
511 struct nv04_resource *res = nv04_resource(info->indirect); in nvc0_compute_update_indirect_invocations()
Dnvc0_vbo_translate.c79 nv04_resource(vb->buffer.resource), vb->buffer_offset, NOUVEAU_BO_RD); in nvc0_vertex_configure_translate()
94 struct nv04_resource *buf = nv04_resource(info->index.resource); in nvc0_push_map_idxbuf()
109 struct nv04_resource *buf = nv04_resource(vb->buffer.resource); in nvc0_push_map_edgeflag()
501 struct nv04_resource *buf = nv04_resource(info->indirect->buffer); in nvc0_push_vbo_indirect()
502 struct nv04_resource *buf_count = nv04_resource(info->indirect->indirect_draw_count); in nvc0_push_vbo_indirect()
673 nouveau_resource_unmap(nv04_resource(info->index.resource)); in nvc0_push_vbo()
675 nouveau_resource_unmap(nv04_resource(nvc0->vtxbuf[i].buffer.resource)); in nvc0_push_vbo()
Dnvc0_vbo.c325 struct nv04_resource *res; in nvc0_validate_vertex_buffers()
347 res = nv04_resource(vb->buffer.resource); in nvc0_validate_vertex_buffers()
390 struct nv04_resource *buf; in nvc0_validate_vertex_buffers_shared()
405 buf = nv04_resource(vb->buffer.resource); in nvc0_validate_vertex_buffers_shared()
773 struct nv04_resource *res = nv04_resource(so->pipe.buffer); in nvc0_draw_stream_output()
808 struct nv04_resource *buf = nv04_resource(info->indirect->buffer); in nvc0_draw_indirect()
809 struct nv04_resource *buf_count = nv04_resource(info->indirect->indirect_draw_count); in nvc0_draw_indirect()
966 struct nv04_resource *buf = nv04_resource(info->index.resource); in nvc0_draw_vbo()
Dnvc0_screen.h161 nvc0_resource_fence(struct nv04_resource *res, uint32_t flags) in nvc0_resource_fence()
173 nvc0_resource_validate(struct nv04_resource *res, uint32_t flags) in nvc0_resource_validate()
Dnvc0_surface.c218 nv04_resource(dst), dstx, in nvc0_resource_copy_region()
219 nv04_resource(src), src_box->x, src_box->width); in nvc0_resource_copy_region()
232 nv04_resource(dst)->status |= NOUVEAU_BUFFER_STATUS_GPU_WRITING; in nvc0_resource_copy_region()
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()
296 struct nv04_resource *res = nv04_resource(sf->base.texture); in nvc0_clear_render_target()
377 struct nv04_resource *buf = nv04_resource(res); in nvc0_clear_buffer_push_nvc0()
426 struct nv04_resource *buf = nv04_resource(res); in nvc0_clear_buffer_push_nve4()
500 struct nv04_resource *buf = nv04_resource(res); in nvc0_clear_buffer()
Dnvc0_context.h171 struct nv04_resource *buf;
379 struct nv04_resource *);
Dnvc0_state_validate.c212 struct nv04_resource *res; in nvc0_validate_fb()
221 res = nv04_resource(sf->base.texture); in nvc0_validate_fb()
604 struct nv04_resource *res = in nvc0_constbufs_validate()
605 nv04_resource(nvc0->constbuf[s][i].u.buf); in nvc0_constbufs_validate()
649 struct nv04_resource *res = in nvc0_validate_buffers()
650 nv04_resource(nvc0->buffers[s][i].buffer); in nvc0_validate_buffers()
Dnvc0_resource.c86 nv04_resource(res)->vtbl = &nvc0_miptree_vtbl; in nvc0_resource_from_handle()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_vbo.c310 struct nv04_resource *buf = nv04_resource(nv50->vtxbuf[i].buffer.resource); in nv50_vertex_arrays_validate()
385 struct nv04_resource *buf = nv04_resource(vb->buffer.resource); in nv50_vertex_arrays_validate()
609 struct nv04_resource *buf = nv04_resource(info->index.resource); in nv50_draw_elements()
706 struct nv04_resource *res = nv04_resource(so->pipe.buffer); in nva0_draw_stream_output()
764 BCTX_REFN(nv50->bufctx_3d, 3D_INDEX, nv04_resource(info->index.resource), RD); in nv50_draw_vbo()
Dnv50_screen.h137 nv50_resource_fence(struct nv04_resource *res, uint32_t flags) in nv50_resource_fence()
149 nv50_resource_validate(struct nv04_resource *res, uint32_t flags) in nv50_resource_validate()
Dnv50_tex.c132 if (unlikely(!nouveau_bo_memtype(nv04_resource(texture)->bo))) { in nv50_create_texture_view()
222 struct nv04_resource *res) in nv50_update_tic()
250 struct nv04_resource *res; in nv50_validate_tic()
Dnv50_resource.h49 struct nv04_resource base;
Dnv50_winsys.h28 struct nv04_resource *res, unsigned flags) in nv50_add_bufctx_resident()

12