Home
last modified time | relevance | path

Searched refs:r600_resource (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c49 struct r600_resource *resource, in r600_buffer_map_sync_with_rings()
106 struct r600_resource *res, in r600_init_resource_fields()
189 struct r600_resource *res) in r600_alloc_resource()
228 struct r600_resource *rbuffer = r600_resource(buf); in r600_buffer_destroy()
239 struct r600_resource *rbuffer) in r600_invalidate_buffer()
272 struct r600_resource *rdst = r600_resource(dst); in r600_replace_buffer_storage()
273 struct r600_resource *rsrc = r600_resource(src); in r600_replace_buffer_storage()
294 struct r600_resource *rbuffer = r600_resource(resource); in r600_invalidate_resource()
306 void *data, struct r600_resource *staging, in r600_buffer_get_transfer()
351 struct r600_resource *rbuffer = r600_resource(resource); in r600_buffer_transfer_map()
[all …]
Dr600_pipe_common.h137 struct r600_resource { struct
176 struct r600_resource *immed_buffer; argument
181 struct r600_resource *staging;
204 struct r600_resource resource;
221 struct r600_resource *cmask_buffer;
270 struct r600_resource *cb_buffer_fmask; /* Used for FMASK relocations. R600 only */
271 struct r600_resource *cb_buffer_cmask; /* Used for CMASK relocations. R600 only */
425 struct r600_resource *buf_filled_size;
507 struct r600_resource *eop_bug_scratch;
633 struct r600_resource *resource,
[all …]
Dr600_query.h41 struct r600_resource;
153 struct r600_resource *);
156 struct r600_resource *buffer, uint64_t va);
159 struct r600_resource *buffer, uint64_t va);
168 struct r600_resource *buf;
279 struct r600_resource *buffer, uint64_t va);
281 struct r600_resource *buffer, uint64_t va);
285 struct r600_resource *buffer, uint64_t va);
Devergreen_hw_context.c40 struct r600_resource *rdst = (struct r600_resource*)dst; in evergreen_dma_copy_buffer()
41 struct r600_resource *rsrc = (struct r600_resource*)src; in evergreen_dma_copy_buffer()
96 util_range_add(dst, &r600_resource(dst)->valid_buffer_range, offset, in evergreen_cp_dma_clear_buffer()
99 offset += r600_resource(dst)->gpu_address; in evergreen_cp_dma_clear_buffer()
126 (struct r600_resource*)dst, RADEON_USAGE_WRITE, in evergreen_cp_dma_clear_buffer()
Devergreen_compute_internal.h80 struct r600_resource *code_bo;
86 struct r600_resource *kernel_param;
93 struct r600_resource* r600_compute_buffer_alloc_vram(struct r600_screen *screen, unsigned size);
Dr600_hw_context.c331 ctx->trace_buf = (struct r600_resource*) in r600_begin_new_cs()
449 struct r600_resource *buf = NULL; in r600_emit_pfp_sync_me()
513 util_range_add(dst, &r600_resource(dst)->valid_buffer_range, dst_offset, in r600_cp_dma_copy_buffer()
516 dst_offset += r600_resource(dst)->gpu_address; in r600_cp_dma_copy_buffer()
517 src_offset += r600_resource(src)->gpu_address; in r600_cp_dma_copy_buffer()
545 src_reloc = radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, (struct r600_resource*)src, in r600_cp_dma_copy_buffer()
547 dst_reloc = radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, (struct r600_resource*)dst, in r600_cp_dma_copy_buffer()
589 struct r600_resource *rdst = (struct r600_resource*)dst; in r600_dma_copy_buffer()
590 struct r600_resource *rsrc = (struct r600_resource*)src; in r600_dma_copy_buffer()
Devergreen_compute.h37 struct r600_resource base;
45 struct r600_resource* r600_compute_buffer_alloc_vram(struct r600_screen *screen, unsigned size);
Dcompute_memory_pool.h52 struct r600_resource *real_buffer;
64 struct r600_resource *bo; /**< The pool buffer object resource */
Dr600_streamout.c47 struct r600_resource *rbuffer = (struct r600_resource*)buffer; in r600_create_so_target()
196 uint64_t va = r600_resource(t[i]->b.buffer)->gpu_address; in r600_emit_streamout_begin()
206 r600_emit_reloc(rctx, &rctx->gfx, r600_resource(t[i]->b.buffer), in r600_emit_streamout_begin()
216 r600_emit_reloc(rctx, &rctx->gfx, r600_resource(t[i]->b.buffer), in r600_emit_streamout_begin()
Dr600_cs.h71 struct r600_resource *rbo, in radeon_add_to_buffer_list()
102 struct r600_resource *rbo, in radeon_add_to_buffer_list_check_mem()
117 struct r600_ring *ring, struct r600_resource *rbo, in r600_emit_reloc()
Dr600_pipe.h291 struct r600_resource *tex_resource;
444 struct r600_resource *buffer;
486 struct r600_resource *buffer;
516 struct r600_resource *dummy_fmask;
517 struct r600_resource *dummy_cmask;
613 struct r600_resource *last_trace_buf;
614 struct r600_resource *trace_buf;
Devergreen_compute.c106 struct r600_resource *r600_compute_buffer_alloc_vram(struct r600_screen *screen, in r600_compute_buffer_alloc_vram()
115 return (struct r600_resource *)buffer; in r600_compute_buffer_alloc_vram()
121 struct r600_resource *bo, in evergreen_set_rat()
552 shader->kernel_param = (struct r600_resource *) in evergreen_compute_upload_input()
689 (struct r600_resource*)cb->base.texture, in compute_setup_cbs()
760 struct r600_resource *indirect_resource = (struct r600_resource *)info->indirect; in compute_emit_cs()
895 struct r600_resource *code_bo; in evergreen_emit_cs_shader()
974 (struct r600_resource *)resources[i]->base.texture, in evergreen_set_compute_resources()
Dradeon_video.h47 struct r600_resource *res;
Dr600_query.c500 static struct r600_resource *r600_new_query_buffer(struct r600_common_screen *rscreen, in r600_new_query_buffer()
510 struct r600_resource *buf = (struct r600_resource*) in r600_new_query_buffer()
526 struct r600_resource *buffer) in r600_query_hw_prepare_buffer()
579 struct r600_resource *buffer,
583 struct r600_resource *buffer,
728 struct r600_resource *buffer, in r600_query_hw_do_emit_start()
808 struct r600_resource *buffer, in r600_query_hw_do_emit_stop()
900 struct r600_resource *buf, uint64_t va, in emit_set_predicate()
1835 struct r600_resource *buffer; in r600_query_fix_enabled_rb_mask()
1889 buffer = (struct r600_resource*) in r600_query_fix_enabled_rb_mask()
Devergreen_state.c1049 struct r600_resource *res, in evergreen_set_color_surface_buffer()
1300 evergreen_set_color_surface_buffer(rctx, (struct r600_resource *)surf->base.texture, in evergreen_init_color_surface_rat()
1317 util_range_add(pipe_buffer, &r600_resource(pipe_buffer)->valid_buffer_range, in evergreen_init_color_surface_rat()
1717 struct r600_resource *resource; in evergreen_emit_image_state()
1730 resource = (struct r600_resource *)image->base.resource; in evergreen_emit_image_state()
1868 (struct r600_resource*)cb->base.texture, in evergreen_emit_framebuffer_state()
1927 (struct r600_resource*)state->zsbuf->texture, in evergreen_emit_framebuffer_state()
2137 struct r600_resource *rbuffer; in evergreen_emit_vertex_buffers()
2142 rbuffer = (struct r600_resource*)vb->buffer.resource; in evergreen_emit_vertex_buffers()
2196 struct r600_resource *rbuffer; in evergreen_emit_constant_buffers()
[all …]
Dr600_pipe_common.c78 struct r600_resource *buf, uint64_t va, in r600_gfx_write_event_eop()
110 struct r600_resource *buf, in r600_gfx_wait_fence()
229 struct r600_resource *dst, struct r600_resource *src) in r600_need_dma_space()
551 struct r600_resource *res = r600_resource(resource); in r600_resource_commit()
1193 if (r600_resource(res)->compute_global_bo) in r600_resource_destroy()
Dr600_shader.h176 struct r600_resource *bo;
Dr600_perfcounter.c120 struct r600_resource *buffer) in r600_pc_query_prepare_buffer()
128 struct r600_resource *buffer, uint64_t va) in r600_pc_query_emit_start()
159 struct r600_resource *buffer, uint64_t va) in r600_pc_query_emit_stop()
Dr600_texture.c478 struct r600_resource *res = (struct r600_resource*)resource; in r600_texture_get_handle()
580 struct r600_resource *resource = &rtex->resource; in r600_texture_destroy()
722 rtex->cmask_buffer = (struct r600_resource *) in r600_texture_alloc_cmask_separate()
742 struct r600_resource *res, in eg_resource_alloc_immed()
745 res->immed_buffer = (struct r600_resource *) in eg_resource_alloc_immed()
907 struct r600_resource *resource; in r600_texture_create_object()
1297 struct r600_resource *buf; in r600_texture_transfer_map()
1423 trans->staging = (struct r600_resource*)staging_depth; in r600_texture_transfer_map()
Dr600_state.c995 rctx->dummy_cmask = (struct r600_resource*) in r600_init_color_surface()
1017 rctx->dummy_fmask = (struct r600_resource*) in r600_init_color_surface()
1389 (struct r600_resource*)cb[i]->base.texture, in r600_emit_framebuffer_state()
1454 (struct r600_resource*)state->zsbuf->texture, in r600_emit_framebuffer_state()
1673 struct r600_resource *rbuffer; in r600_emit_vertex_buffers()
1678 rbuffer = (struct r600_resource*)vb->buffer.resource; in r600_emit_vertex_buffers()
1713 struct r600_resource *rbuffer; in r600_emit_constant_buffers()
1718 rbuffer = (struct r600_resource*)cb->buffer; in r600_emit_constant_buffers()
1966 struct r600_resource *rbuffer; in r600_emit_gs_rings()
1973 rbuffer =(struct r600_resource*)state->esgs_ring.buffer; in r600_emit_gs_rings()
[all …]
Dr600_state_common.c1709 scratch->buffer = (struct r600_resource *)pipe_buffer_create(rctx->b.b.screen, PIPE_BIND_CUSTOM, in r600_setup_scratch_area_for_shader()
1724 struct r600_resource *rbuffer = scratch->buffer; in r600_setup_scratch_area_for_shader()
2192 struct r600_resource *indirect_resource = (struct r600_resource *)indirect->buffer; in r600_draw_vbo()
2348 uint64_t va = r600_resource(indirect->buffer)->gpu_address; in r600_draw_vbo()
2362 (struct r600_resource*)indirect->buffer, in r600_draw_vbo()
2381 uint64_t va = r600_resource(indexbuf)->gpu_address + index_offset; in r600_draw_vbo()
2391 (struct r600_resource*)indexbuf, in r600_draw_vbo()
2404 (struct r600_resource*)indexbuf, in r600_draw_vbo()
3267 struct r600_resource *rbuffer = r600_resource(buf); in r600_invalidate_buffer()
Dradeon_video.c74 buffer->res = (struct r600_resource *) in rvid_create_buffer()
Dr600_pipe.c820 …struct r600_resource *res = r600_resource(rscreen->screen.resource_create(&rscreen->screen, &templ… in r600_screen_create()
Dcompute_memory_pool.c146 struct r600_resource *temp = NULL; in compute_memory_grow_defrag_pool()
Dr600_blit.c663 uint32_t *map = r600_buffer_map_sync_with_rings(&rctx->b, r600_resource(dst), in r600_clear_buffer()

12