Home
last modified time | relevance | path

Searched refs:vc4_bo (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_bufmgr.h34 struct vc4_bo { struct
55 struct vc4_bo *vc4_bo_alloc(struct vc4_screen *screen, uint32_t size, argument
57 struct vc4_bo *vc4_bo_alloc_shader(struct vc4_screen *screen, const void *data,
59 void vc4_bo_last_unreference(struct vc4_bo *bo);
60 void vc4_bo_last_unreference_locked_timed(struct vc4_bo *bo, time_t time);
61 struct vc4_bo *vc4_bo_open_name(struct vc4_screen *screen, uint32_t name,
63 struct vc4_bo *vc4_bo_open_dmabuf(struct vc4_screen *screen, int fd,
65 bool vc4_bo_flink(struct vc4_bo *bo, uint32_t *name);
66 int vc4_bo_get_dmabuf(struct vc4_bo *bo);
69 vc4_bo_set_reference(struct vc4_bo **old_bo, struct vc4_bo *new_bo) in vc4_bo_set_reference()
[all …]
Dvc4_bufmgr.c62 struct vc4_bo *first = LIST_ENTRY(struct vc4_bo, in vc4_bo_dump_stats()
65 struct vc4_bo *last = LIST_ENTRY(struct vc4_bo, in vc4_bo_dump_stats()
82 vc4_bo_remove_from_cache(struct vc4_bo_cache *cache, struct vc4_bo *bo) in vc4_bo_remove_from_cache()
90 static struct vc4_bo *
99 struct vc4_bo *bo = NULL; in vc4_bo_from_cache()
102 bo = LIST_ENTRY(struct vc4_bo, cache->size_list[page_index].next, in vc4_bo_from_cache()
123 struct vc4_bo *
126 struct vc4_bo *bo; in vc4_bo_alloc()
141 bo = CALLOC_STRUCT(vc4_bo); in vc4_bo_alloc()
185 vc4_bo_last_unreference(struct vc4_bo *bo) in vc4_bo_last_unreference()
[all …]
Dvc4_screen.h37 struct vc4_bo;
106 struct vc4_bo *bo,
109 struct vc4_bo *
Dvc4_cl.h34 struct vc4_bo;
56 uint32_t vc4_gem_hindex(struct vc4_job *job, struct vc4_bo *bo);
179 struct vc4_bo *bo, uint32_t offset) in cl_reloc()
194 struct vc4_bo *bo, uint32_t offset) in cl_aligned_reloc()
Dvc4_uniforms.c188 static struct vc4_bo *
196 struct vc4_bo *ubo = vc4_bo_alloc(vc4->screen, shader->ubo_size, "ubo"); in vc4_upload_ubo()
216 struct vc4_bo *ubo = vc4_upload_ubo(vc4, shader, gallium_uniforms); in vc4_write_uniforms()
Dvc4_resource.h56 struct vc4_bo *bo;
Dvc4_job.c43 struct vc4_bo **referenced_bos = job->bo_pointers.base; in vc4_job_free()
119 struct vc4_bo **referenced_bos = job->bo_pointers.base; in vc4_flush_jobs_reading_resource()
398 cl_ensure_space(&job->bo_pointers, 6 * sizeof(struct vc4_bo *)); in vc4_job_submit()
Dvc4_cl.c59 vc4_gem_hindex(struct vc4_job *job, struct vc4_bo *bo) in vc4_gem_hindex()
Dvc4_simulator_validate.h97 struct vc4_bo *bo;
Dvc4_screen.c656 struct vc4_bo *bo, in vc4_screen_bo_get_handle()
682 struct vc4_bo *
Dvc4_simulator.c218 struct vc4_bo **bos = job->bo_pointers.base; in vc4_simulator_pin_bos()
223 struct vc4_bo *bo = bos[i]; in vc4_simulator_pin_bos()
257 struct vc4_bo *bo = drm_bo->bo; in vc4_simulator_unpin_bos()
Dvc4_draw.c68 (2 * 16 + 20) * sizeof(struct vc4_bo *)); in vc4_get_draw_cl_space()
213 struct vc4_bo *bo = vc4_bo_alloc(vc4->screen, 4096, "scratch VBO"); in vc4_emit_gl_shader_state()
Dvc4_context.h148 struct vc4_bo *bo;
Dvc4_resource.c44 struct vc4_bo *bo; in vc4_resource_bo_alloc()