Home
last modified time | relevance | path

Searched refs:crocus_bo (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_bufmgr.h43 struct crocus_bo { struct
158 struct crocus_bo *crocus_bo_alloc(struct crocus_bufmgr *bufmgr, argument
172 struct crocus_bo *crocus_bo_alloc_tiled(struct crocus_bufmgr *bufmgr,
178 struct crocus_bo *crocus_bo_create_userptr(struct crocus_bufmgr *bufmgr,
184 crocus_bo_reference(struct crocus_bo *bo) in crocus_bo_reference()
199 void __crocus_bo_unreference(struct crocus_bo *bo);
205 static inline void crocus_bo_unreference(struct crocus_bo *bo) in crocus_bo_unreference()
236 struct crocus_bo *bo, unsigned flags);
242 static inline int crocus_bo_unmap(struct crocus_bo *bo) { return 0; } in crocus_bo_unmap()
251 void crocus_bo_wait_rendering(struct crocus_bo *bo);
[all …]
Dcrocus_bufmgr.c174 static int bo_set_tiling_internal(struct crocus_bo *bo, uint32_t tiling_mode,
177 static void bo_free(struct crocus_bo *bo);
191 static struct crocus_bo *
195 struct crocus_bo *bo = entry ? entry->data : NULL; in find_and_ref_external_bo()
257 crocus_bo_busy(struct crocus_bo *bo) in crocus_bo_busy()
271 crocus_bo_madvise(struct crocus_bo *bo, int state) in crocus_bo_madvise()
284 static struct crocus_bo *
287 struct crocus_bo *bo = calloc(1, sizeof(*bo)); in bo_calloc()
296 static struct crocus_bo *
305 struct crocus_bo *bo = NULL; in alloc_bo_from_cache()
[all …]
Dcrocus_screen.h89 struct crocus_bo *bo, uint32_t offset);
91 struct crocus_bo *bo, uint32_t offset);
93 struct crocus_bo *bo, uint32_t offset,
96 struct crocus_bo *bo, uint32_t offset,
99 struct crocus_bo *bo, uint32_t offset,
102 struct crocus_bo *bo, uint32_t offset,
105 struct crocus_bo *dst_bo, uint32_t dst_offset,
106 struct crocus_bo *src_bo, uint32_t src_offset,
110 struct crocus_bo *bo, uint32_t offset,
114 struct crocus_bo *bo,
Dcrocus_batch.h61 struct crocus_bo *bo;
73 struct crocus_bo *bo;
76 struct crocus_bo *partial_bo;
110 struct crocus_bo **exec_bos;
194 bool crocus_batch_references(struct crocus_batch *batch, struct crocus_bo *bo);
203 void crocus_use_pinned_bo(struct crocus_batch *batch, struct crocus_bo *bo,
206 struct crocus_bo *target, uint32_t target_offset,
209 struct crocus_bo *target, uint32_t target_offset,
Dcrocus_context.h39 struct crocus_bo;
516 struct crocus_bo *cache_bo;
547 struct crocus_bo *scratch_bos[1 << 4][MESA_SHADER_STAGES];
652 struct crocus_bo *compute_predicate;
752 struct crocus_bo *workaround_bo;
820 struct crocus_bo *bo, uint32_t offset,
838 struct crocus_bo *crocus_get_scratch_space(struct crocus_context *ice,
951 void crocus_cache_flush_for_read(struct crocus_batch *batch, struct crocus_bo *bo);
953 struct crocus_bo *bo,
957 struct crocus_bo *bo,
[all …]
Dcrocus_batch.c130 struct crocus_bo *bo = batch->exec_bos[i]; in decode_get_bo()
268 find_validation_entry(struct crocus_batch *batch, struct crocus_bo *bo) in find_validation_entry()
298 crocus_use_bo(struct crocus_batch *batch, struct crocus_bo *bo, bool writable) in crocus_use_bo()
371 struct crocus_bo *target, int32_t target_offset, in emit_reloc()
426 struct crocus_bo *target, uint32_t target_offset, in crocus_command_reloc()
437 struct crocus_bo *target, uint32_t target_offset, in crocus_state_reloc()
601 struct crocus_bo *old_bo = grow->partial_bo; in finish_growing_bos()
622 struct crocus_bo *bo = grow->bo; in crocus_grow_buffer()
632 struct crocus_bo *new_bo = crocus_bo_alloc(bufmgr, bo->name, new_size); in crocus_grow_buffer()
714 struct crocus_bo tmp; in crocus_grow_buffer()
[all …]
Dcrocus_resource.h100 struct crocus_bo *bo;
135 struct crocus_bo *bo;
284 struct crocus_bo *bo;
292 static inline struct crocus_bo *
300 crocus_mocs(const struct crocus_bo *bo, in crocus_mocs()
Dcrocus_genx_macros.h149 ro_bo(struct crocus_bo *bo, uint64_t offset) in ro_bo()
155 rw_bo(struct crocus_bo *bo, uint64_t offset) in rw_bo()
161 ggtt_bo(struct crocus_bo *bo, uint64_t offset) in ggtt_bo()
Dcrocus_query.c159 struct crocus_bo *bo = crocus_resource_bo(q->query_state_ref.res); in mark_available()
182 struct crocus_bo *bo = crocus_resource_bo(q->query_state_ref.res); in crocus_pipelined_write()
195 struct crocus_bo *bo = crocus_resource_bo(q->query_state_ref.res); in write_value()
279 struct crocus_bo *bo = crocus_resource_bo(q->query_state_ref.res); in write_overflow_values()
714 struct crocus_bo *query_bo = crocus_resource_bo(q->query_state_ref.res); in crocus_get_query_result_resource()
715 struct crocus_bo *dst_bo = crocus_resource_bo(p_res); in crocus_get_query_result_resource()
820 struct crocus_bo *bo = crocus_resource_bo(q->query_state_ref.res); in set_predicate_for_result()
Dcrocus_blorp.c57 struct crocus_bo **out_bo) in stream_state()
121 struct crocus_bo *bo = addr.buffer; in blorp_surface_reloc()
199 struct crocus_bo *bo; in blorp_alloc_vertex_buffer()
Dcrocus_resolve.c438 struct crocus_bo *bo) in crocus_cache_flush_for_read()
453 struct crocus_bo *bo, in crocus_cache_flush_for_render()
491 struct crocus_bo *bo, in crocus_render_cache_add_bo()
512 struct crocus_bo *bo) in crocus_cache_flush_for_depth()
519 crocus_depth_cache_add_bo(struct crocus_batch *batch, struct crocus_bo *bo) in crocus_depth_cache_add_bo()
Dcrocus_resource.c976 struct crocus_bo *bo = wants_aux ? res->aux.bo : res->bo; in crocus_resource_get_param()
1042 struct crocus_bo *bo; in crocus_resource_get_handle()
1118 struct crocus_bo *old_bo = dst->bo; in crocus_replace_buffer_storage()
1161 struct crocus_bo *old_bo = res->bo; in crocus_invalidate_resource()
1162 struct crocus_bo *new_bo = in crocus_invalidate_resource()
1266 struct crocus_bo *staging_bo = crocus_resource_bo(map->staging); in crocus_map_copy_region()
1926 struct crocus_bo *bo; in crocus_memobj_create_from_handle()
Dcrocus_pipe_control.c97 struct crocus_bo *bo, uint32_t offset, in crocus_emit_pipe_control_write()
Dcrocus_state.c491 struct crocus_bo *bo, uint32_t offset, in crocus_store_register_mem32()
508 struct crocus_bo *bo, uint32_t offset, in crocus_store_register_mem64()
573 struct crocus_bo *bo, uint32_t offset) in crocus_load_register_mem32()
587 struct crocus_bo *bo, uint32_t offset) in crocus_load_register_mem64()
596 struct crocus_bo *bo, uint32_t offset, in crocus_store_data_imm32()
609 struct crocus_bo *bo, uint32_t offset, in crocus_store_data_imm64()
628 struct crocus_bo *dst_bo, uint32_t dst_offset, in crocus_copy_mem_mem()
629 struct crocus_bo *src_bo, uint32_t src_offset, in crocus_copy_mem_mem()
4898 struct crocus_bo *bo = \
5016 struct crocus_bo *aux_bo = NULL; in emit_surface_state()
[all …]
Dcrocus_blit.c758 get_preferred_batch(struct crocus_context *ice, struct crocus_bo *bo) in get_preferred_batch()
802 struct crocus_bo *dst_bo = crocus_resource_bo(p_dst); in crocus_resource_copy_region()
Dcrocus_program_cache.c143 struct crocus_bo *new_bo; in crocus_cache_new_bo()
Dcrocus_screen.c727 struct crocus_bo *buffer = in crocus_detect_swizzling()
Dcrocus_program.c2634 struct crocus_bo *
2646 struct crocus_bo **bop = &ice->shaders.scratch_bos[encoded_size][stage]; in crocus_get_scratch_space()