Home
last modified time | relevance | path

Searched refs:brw_bo (Results 1 – 25 of 45) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.h89 struct brw_bo { struct
216 struct brw_bo *brw_bo_alloc(struct brw_bufmgr *bufmgr, const char *name, argument
230 struct brw_bo *brw_bo_alloc_tiled(struct brw_bufmgr *bufmgr,
253 struct brw_bo *brw_bo_alloc_tiled_2d(struct brw_bufmgr *bufmgr,
263 brw_bo_reference(struct brw_bo *bo) in brw_bo_reference()
272 void brw_bo_unreference(struct brw_bo *bo);
290 MUST_CHECK void *brw_bo_map(struct brw_context *brw, struct brw_bo *bo, unsigned flags);
296 static inline int brw_bo_unmap(UNUSED struct brw_bo *bo) { return 0; } in brw_bo_unmap()
299 int brw_bo_subdata(struct brw_bo *bo, uint64_t offset,
308 void brw_bo_wait_rendering(struct brw_bo *bo);
[all …]
Dbrw_context.h382 struct brw_bo *bo;
443 struct brw_bo *bo;
463 struct brw_bo *bo;
479 struct brw_bo *bo;
481 struct brw_bo *partial_bo;
494 struct brw_bo *last_bo;
514 struct brw_bo **exec_bos;
570 struct brw_bo *offset_bo;
584 struct brw_bo *prim_count_bo;
632 struct brw_bo *scratch_bo;
[all …]
Dintel_buffer_objects.h41 struct brw_bo *buffer; /* the low-level buffer manager's buffer handle */
43 struct brw_bo *range_map_bo[MAP_COUNT];
96 struct brw_bo *intel_bufferobj_buffer(struct brw_context *brw,
106 struct brw_bo **out_bo,
112 struct brw_bo **out_bo,
Dbrw_bufmgr.c192 static int bo_set_tiling_internal(struct brw_bo *bo, uint32_t tiling_mode,
195 static void bo_free(struct brw_bo *bo);
201 static struct brw_bo *
205 return entry ? (struct brw_bo *) entry->data : NULL; in hash_find_bo()
467 brw_bo_busy(struct brw_bo *bo) in brw_bo_busy()
481 brw_bo_madvise(struct brw_bo *bo, int state) in brw_bo_madvise()
499 list_for_each_entry_safe(struct brw_bo, bo, &bucket->head, head) { in brw_bo_cache_purge_bucket()
508 static struct brw_bo *
511 struct brw_bo *bo = calloc(1, sizeof(*bo)); in bo_calloc()
520 static struct brw_bo *
[all …]
Dbrw_state.h99 struct brw_bo *bo, uint32_t offset,
102 struct brw_bo *bo, uint32_t offset,
105 struct brw_bo *bo, uint32_t offset,
108 struct brw_bo *bo, uint32_t offset,
111 struct brw_bo *bo, uint32_t offset,
114 struct brw_bo *bo, uint32_t offset,
117 struct brw_bo *bo, uint32_t offset,
120 struct brw_bo *bo, uint32_t offset,
123 struct brw_bo *bo, uint32_t offset,
233 struct brw_bo *bo,
[all …]
DgenX_boilerplate.h44 struct brw_bo *bo;
79 rw_bo(struct brw_bo *bo, uint32_t offset) in rw_bo()
89 ro_bo(struct brw_bo *bo, uint32_t offset) in ro_bo()
98 rw_32_bo(struct brw_bo *bo, uint32_t offset) in rw_32_bo()
108 ro_32_bo(struct brw_bo *bo, uint32_t offset) in ro_32_bo()
118 ggtt_bo(struct brw_bo *bo, uint32_t offset) in ggtt_bo()
Dintel_fbo.h238 void brw_cache_flush_for_read(struct brw_context *brw, struct brw_bo *bo);
239 void brw_cache_flush_for_render(struct brw_context *brw, struct brw_bo *bo,
242 void brw_cache_flush_for_depth(struct brw_context *brw, struct brw_bo *bo);
243 void brw_render_cache_add_bo(struct brw_context *brw, struct brw_bo *bo,
246 void brw_depth_cache_add_bo(struct brw_context *brw, struct brw_bo *bo);
Dintel_batchbuffer.c90 struct brw_bo *bo = batch->exec_bos[i]; in decode_get_bo()
181 add_exec_bo(struct intel_batchbuffer *batch, struct brw_bo *bo) in add_exec_bo()
284 struct brw_bo *identifier_bo = brw->workaround_bo; in intel_batchbuffer_reset()
360 struct brw_bo *old_bo = grow->partial_bo; in finish_growing_bos()
400 struct brw_bo *bo = grow->bo; in grow_buffer()
420 struct brw_bo *new_bo = in grow_buffer()
520 struct brw_bo tmp; in grow_buffer()
521 memcpy(&tmp, bo, sizeof(struct brw_bo)); in grow_buffer()
522 memcpy(bo, new_bo, sizeof(struct brw_bo)); in grow_buffer()
523 memcpy(new_bo, &tmp, sizeof(struct brw_bo)); in grow_buffer()
[all …]
Dintel_batchbuffer.h56 bool brw_batch_references(struct intel_batchbuffer *batch, struct brw_bo *bo);
63 void brw_use_pinned_bo(struct intel_batchbuffer *batch, struct brw_bo *bo,
68 struct brw_bo *target,
73 struct brw_bo *target,
Dbrw_pipe_control.h29 struct brw_bo;
85 struct brw_bo *bo, uint32_t offset,
Dintel_mipmap_tree.h151 struct brw_bo *bo;
171 struct brw_bo *clear_color_bo;
196 struct brw_bo *bo;
387 struct brw_bo *bo,
706 struct brw_bo **clear_color_bo,
Dintel_upload.c74 struct brw_bo **out_bo, in brw_upload_space()
117 struct brw_bo **out_bo, in brw_upload_data()
Dgen6_queryobj.c80 struct brw_bo *query_bo, int stream, int idx) in write_primitives_generated()
98 struct brw_bo *bo, int stream, int idx) in write_xfb_primitives_written()
115 struct brw_bo *bo, int stream, int count, in write_xfb_overflow_streams()
172 emit_pipeline_stat(struct brw_context *brw, struct brw_bo *bo, in emit_pipeline_stat()
Dbrw_object_purgeable.c40 intel_buffer_purgeable(struct brw_bo *buffer) in intel_buffer_purgeable()
103 intel_bo_unpurgeable(struct brw_bo *buffer) in intel_bo_unpurgeable()
Dbrw_blorp.h64 struct brw_bo *src_bo,
66 struct brw_bo *dst_bo,
Dintel_image.h70 struct brw_bo *bo;
Dintel_fbo.c1016 flush_depth_and_render_caches(struct brw_context *brw, struct brw_bo *bo) in flush_depth_and_render_caches()
1037 brw_cache_flush_for_read(struct brw_context *brw, struct brw_bo *bo) in brw_cache_flush_for_read()
1051 brw_cache_flush_for_render(struct brw_context *brw, struct brw_bo *bo, in brw_cache_flush_for_render()
1087 brw_render_cache_add_bo(struct brw_context *brw, struct brw_bo *bo, in brw_render_cache_add_bo()
1106 brw_cache_flush_for_depth(struct brw_context *brw, struct brw_bo *bo) in brw_cache_flush_for_depth()
1113 brw_depth_cache_add_bo(struct brw_context *brw, struct brw_bo *bo) in brw_depth_cache_add_bo()
Dbrw_wm_surface_state.c75 brw_get_bo_mocs(const struct gen_device_info *devinfo, struct brw_bo *bo) in brw_get_bo_mocs()
155 struct brw_bo *aux_bo = NULL; in brw_emit_surface_state()
158 struct brw_bo *clear_bo = NULL; in brw_emit_surface_state()
626 struct brw_bo *bo, in brw_emit_buffer_surface_state()
693 struct brw_bo *bo = NULL; in brw_update_buffer_texture_surface()
729 struct brw_bo *bo = intel_bufferobj_buffer(brw, intel_bo, in brw_update_sol_surface()
1342 struct brw_bo *bo = in upload_buffer_surface()
1532 struct brw_bo *const bo = !obj->BufferObject ? NULL : in update_image_surface()
1669 struct brw_bo *bo; in brw_upload_cs_work_groups_surface()
Dbrw_draw.h37 struct brw_bo *bo,
Dintel_blit.h58 struct brw_bo *dst_buffer,
Dhsw_queryobj.c367 store_query_result_imm(struct brw_context *brw, struct brw_bo *bo, in store_query_result_imm()
385 set_predicate(struct brw_context *brw, struct brw_bo *query_bo) in set_predicate()
408 store_query_result_reg(struct brw_context *brw, struct brw_bo *bo, in store_query_result_reg()
Dbrw_blorp.c164 intel_miptree_get_clear_color(mt, (struct brw_bo **) in blorp_surf_for_miptree()
543 struct brw_bo *src_bo, in brw_blorp_copy_buffers()
545 struct brw_bo *dst_bo, in brw_blorp_copy_buffers()
835 static struct brw_bo *
873 struct brw_bo *bo = in blorp_get_client_bo()
894 struct brw_bo *bo = in blorp_get_client_bo()
971 struct brw_bo *src_bo = in brw_blorp_upload_miptree()
1079 struct brw_bo *dst_bo = in brw_blorp_download_miptree()
Dintel_buffer_objects.c292 struct brw_bo *temp_bo = in brw_buffer_subdata()
606 struct brw_bo *
644 struct brw_bo *src_bo, *dst_bo; in brw_copy_buffer_subdata()
Dbrw_compute.c116 struct brw_bo *bo = in brw_dispatch_compute_indirect()
DgenX_blorp_exec.c83 struct brw_bo *bo = address.buffer; in blorp_surface_reloc()
218 struct brw_bo *bo = addrs[i].buffer; in blorp_vf_invalidate_for_vb_48b_transitions()

12