/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_bo.h | 29 struct v3dv_bo { struct 64 void v3dv_bo_init(struct v3dv_bo *bo, uint32_t handle, uint32_t size, uint32_t offset, const char *name, bool private); 66 struct v3dv_bo *v3dv_bo_alloc(struct v3dv_device *device, uint32_t size, const char *name, bool private); 68 bool v3dv_bo_free(struct v3dv_device *device, struct v3dv_bo *bo); 70 bool v3dv_bo_wait(struct v3dv_device *device, struct v3dv_bo *bo, uint64_t timeout_ns); 72 bool v3dv_bo_map_unsynchronized(struct v3dv_device *device, struct v3dv_bo *bo, uint32_t size); 74 bool v3dv_bo_map(struct v3dv_device *device, struct v3dv_bo *bo, uint32_t size); 76 void v3dv_bo_unmap(struct v3dv_device *device, struct v3dv_bo *bo);
|
H A D | v3dv_bo.c | 56 struct v3dv_bo *first = list_first_entry(&cache->time_list, in bo_dump_stats() 57 struct v3dv_bo, in bo_dump_stats() 59 struct v3dv_bo *last = list_last_entry(&cache->time_list, in bo_dump_stats() 60 struct v3dv_bo, in bo_dump_stats() 85 bo_remove_from_cache(struct v3dv_bo_cache *cache, struct v3dv_bo *bo) in bo_remove_from_cache() 94 static struct v3dv_bo * 103 struct v3dv_bo *bo = NULL; in bo_from_cache() 108 struct v3dv_bo, size_list); in bo_from_cache() 129 struct v3dv_bo *bo) in bo_free() 172 list_for_each_entry_safe(struct v3dv_bo, b in bo_cache_free_all() argument 427 list_for_each_entry_safe(struct v3dv_bo, bo, &cache->time_list, time_list) free_stale_bos() argument [all...] |
H A D | v3dv_cl.h | 31 struct v3dv_bo; 35 void v3dv_job_add_bo(struct v3dv_job *job, struct v3dv_bo *bo); 45 struct v3dv_bo *bo; 63 struct v3dv_bo *bo; 83 v3dv_cl_address(struct v3dv_bo *bo, uint32_t offset) in v3dv_cl_address() 136 struct v3dv_bo *bo, in cl_aligned_reloc()
|
H A D | v3dv_private.h | 84 #include "v3dv_bo.h" 168 /* This array holds all our 'struct v3dv_bo' allocations. We use this 199 static inline struct v3dv_bo * 202 return (struct v3dv_bo *) util_sparse_array_get(&device->bo_map, handle); in v3dv_device_lookup_bo() 521 struct v3dv_bo *default_attribute_float; 525 struct util_dynarray device_address_bo_list; /* Array of struct v3dv_bo * */ 540 struct v3dv_bo *bo; 1101 struct v3dv_bo *tile_alloc; 1102 struct v3dv_bo *tile_state; 1166 struct v3dv_bo *shared_memor [all...] |
H A D | v3dv_uniforms.c | 47 struct v3dv_bo *tex[MAX_TOTAL_TEXTURE_SAMPLERS]; 56 struct v3dv_bo *states[MAX_TOTAL_STATES]; 63 struct v3dv_bo *ubo[MAX_TOTAL_UNIFORM_BUFFERS]; 64 struct v3dv_bo *ssbo[MAX_TOTAL_STORAGE_BUFFERS]; 68 state_bo_in_list(struct state_bo_list *list, struct v3dv_bo *bo) in state_bo_in_list() 83 v3dv_bo_free(device, (struct v3dv_bo *)(uintptr_t) bo_ptr); in push_constants_bo_free() 168 struct v3dv_bo *texture_bo = in write_tmu_p0() 318 struct v3dv_bo *bo; in write_ubo_ssbo_uniforms()
|
H A D | v3dvx_meta_common.c | 213 struct v3dv_bo *bo, in emit_linear_load() 231 struct v3dv_bo *bo, in emit_linear_store() 673 struct v3dv_bo *dst, in emit_copy_buffer_per_tile_list() 674 struct v3dv_bo *src, in emit_copy_buffer_per_tile_list() 709 struct v3dv_bo *dst, in meta_emit_copy_buffer() 710 struct v3dv_bo *src, in meta_emit_copy_buffer() 726 struct v3dv_bo *dst, in meta_emit_copy_buffer_rcl() 727 struct v3dv_bo *src, in meta_emit_copy_buffer_rcl() 979 struct v3dv_bo *bo, in emit_fill_buffer_per_tile_list() 1010 struct v3dv_bo *b in emit_fill_buffer() [all...] |
H A D | v3dv_queue.c | 52 struct v3dv_bo *bo = (void *)entry->key; in v3dv_clif_dump() 272 struct v3dv_bo *bo = info->dst->mem->bo; in handle_copy_query_results_cpu_job() 363 struct v3dv_bo *dst_bo = info->image->mem->bo; in handle_copy_buffer_to_image_cpu_job() 369 struct v3dv_bo *src_bo = info->buffer->mem->bo; in handle_copy_buffer_to_image_cpu_job() 446 struct v3dv_bo *bo = info->buffer->mem->bo; in handle_csd_indirect_cpu_job() 756 struct v3dv_bo *bcl_fist_bo = in handle_cl_job() 757 list_first_entry(&job->bcl.bo_list, struct v3dv_bo, list_link); in handle_cl_job() 777 struct v3dv_bo *, bo) { in handle_cl_job() 787 struct v3dv_bo *bo = (struct v3dv_bo *)entr in handle_cl_job() [all...] |
H A D | v3dv_cl.c | 48 list_for_each_entry_safe(struct v3dv_bo, bo, &cl->bo_list, list_link) { in v3dv_cl_destroy() argument 61 struct v3dv_bo *bo = v3dv_bo_alloc(cl->job->device, space, "CL", true); in cl_alloc_bo()
|
H A D | v3dvx_cmd_buffer.c | 1702 struct v3dv_bo *bo = (struct v3dv_bo *)entry->key; in cmd_buffer_execute_inside_pass() 1709 list_for_each_entry(struct v3dv_bo, bcl_bo, in cmd_buffer_execute_inside_pass() argument 1768 struct v3dv_bo *assembly_bo, in emit_gs_shader_state_record() 1942 struct v3dv_bo *assembly_bo = pipeline->shared_data->assembly_bo; in cmd_buffer_emit_gl_shader_state() 1967 struct v3dv_bo *default_attribute_values = in cmd_buffer_emit_gl_shader_state()
|
H A D | v3dv_cmd_buffer.c | 29 v3dv_job_add_bo(struct v3dv_job *job, struct v3dv_bo *bo) in v3dv_job_add_bo() 45 v3dv_job_add_bo_unchecked(struct v3dv_job *job, struct v3dv_bo *bo) in v3dv_job_add_bo_unchecked() 133 list_for_each_entry_safe(struct v3dv_bo, bo, &job->bcl.bo_list, list_link) { in job_destroy_cloned_gpu_cl_resources() argument 138 list_for_each_entry_safe(struct v3dv_bo, bo, &job->rcl.bo_list, list_link) { in job_destroy_cloned_gpu_cl_resources() argument 143 list_for_each_entry_safe(struct v3dv_bo, bo, &job->indirect.bo_list, list_link) { in job_destroy_cloned_gpu_cl_resources() argument 1600 list_for_each_entry(struct v3dv_bo, bo, src, list_link) { in clone_bo_list() argument 1601 struct v3dv_bo *clone_bo = in clone_bo_list() 1602 vk_alloc(&cmd_buffer->device->vk.alloc, sizeof(struct v3dv_bo), 8, in clone_bo_list() 3699 struct v3dv_bo *cs_assembly_bo = pipeline->shared_data->assembly_bo; in cmd_buffer_create_csd_job()
|
H A D | v3dv_device.c | 859 util_sparse_array_init(&device->bo_map, sizeof(struct v3dv_bo), 512); in physical_device_init() 2142 struct v3dv_bo **bo) in device_import_bo() 2247 struct v3dv_bo *bo) in device_add_device_address_bo() 2250 struct v3dv_bo *, in device_add_device_address_bo() 2256 struct v3dv_bo *bo) in device_remove_device_address_bo() 2259 struct v3dv_bo *, in device_remove_device_address_bo()
|
H A D | v3dv_pipeline.c | 1453 struct v3dv_bo *bo = v3dv_bo_alloc(pipeline->device, total_size, in upload_assembly() 2856 struct v3dv_bo * 2861 struct v3dv_bo *bo; in v3dv_pipeline_create_default_attribute_values() 3414 struct v3dv_bo *qpu_bo = pipeline->shared_data->assembly_bo; in pipeline_get_qpu() 3478 struct v3dv_bo *qpu_bo = pipeline->shared_data->assembly_bo; in pipeline_collect_executable_data()
|
H A D | v3dv_meta_copy.c | 1218 struct v3dv_bo *bo = (struct v3dv_bo *)((uintptr_t) pobj); in destroy_update_buffer_cb() 1232 struct v3dv_bo *src_bo = in v3dv_CmdUpdateBuffer() 1282 struct v3dv_bo *bo = dst_buffer->mem->bo; in v3dv_CmdFillBuffer() 1374 const struct v3dv_bo *dst_bo = image->mem->bo; in copy_buffer_to_image_tfu() 1377 const struct v3dv_bo *src_bo = buffer->mem->bo; in copy_buffer_to_image_tfu()
|
H A D | v3dv_pipeline_cache.c | 401 struct v3dv_bo *bo = v3dv_bo_alloc(cache->device, total_assembly_size, in v3dv_pipeline_shared_data_new()
|
H A D | v3dv_descriptor_set.c | 230 struct v3dv_bo*
|