Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_bufmgr.h34 struct vc4_bo { struct
63 struct vc4_bo *vc4_bo_alloc(struct vc4_screen *screen, uint32_t size, argument
65 struct vc4_bo *vc4_bo_alloc_shader(struct vc4_screen *screen, const void *data,
67 void vc4_bo_last_unreference(struct vc4_bo *bo);
68 void vc4_bo_last_unreference_locked_timed(struct vc4_bo *bo, time_t time);
69 struct vc4_bo *vc4_bo_open_name(struct vc4_screen *screen, uint32_t name,
71 struct vc4_bo *vc4_bo_open_dmabuf(struct vc4_screen *screen, int fd,
73 bool vc4_bo_flink(struct vc4_bo *bo, uint32_t *name);
74 int vc4_bo_get_dmabuf(struct vc4_bo *bo);
77 vc4_bo_set_reference(struct vc4_bo **old_bo, struct vc4_bo *new_bo) in vc4_bo_set_reference()
[all …]
Dvc4_bufmgr.c52 vc4_bo_label(struct vc4_screen *screen, struct vc4_bo *bo, const char *fmt, ...) in vc4_bo_label()
88 struct vc4_bo *first = LIST_ENTRY(struct vc4_bo, in vc4_bo_dump_stats()
91 struct vc4_bo *last = LIST_ENTRY(struct vc4_bo, in vc4_bo_dump_stats()
108 vc4_bo_remove_from_cache(struct vc4_bo_cache *cache, struct vc4_bo *bo) in vc4_bo_remove_from_cache()
116 static void vc4_bo_purgeable(struct vc4_bo *bo) in vc4_bo_purgeable()
127 static bool vc4_bo_unpurgeable(struct vc4_bo *bo) in vc4_bo_unpurgeable()
144 vc4_bo_free(struct vc4_bo *bo) in vc4_bo_free()
179 static struct vc4_bo *
184 struct vc4_bo *iter, *tmp, *bo = NULL; in vc4_bo_from_cache()
220 struct vc4_bo *
[all …]
Dvc4_cl.h32 struct vc4_bo;
44 struct vc4_bo *bo;
71 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()
210 cl_address(struct vc4_bo *bo, uint32_t offset) in cl_address()
Dvc4_uniforms.c189 static struct vc4_bo *
197 struct vc4_bo *ubo = vc4_bo_alloc(vc4->screen, shader->ubo_size, "ubo"); in vc4_upload_ubo()
217 struct vc4_bo *ubo = vc4_upload_ubo(vc4, shader, gallium_uniforms); in vc4_write_uniforms()
Dvc4_screen.h38 struct vc4_bo;
Dvc4_resource.h56 struct vc4_bo *bo;
Dvc4_job.c44 struct vc4_bo **referenced_bos = job->bo_pointers.base; in vc4_job_free()
122 struct vc4_bo **referenced_bos = job->bo_pointers.base; in vc4_flush_jobs_reading_resource()
411 cl_ensure_space(&job->bo_pointers, 6 * sizeof(struct vc4_bo *)); in vc4_job_submit()
Dvc4_cl.c60 vc4_gem_hindex(struct vc4_job *job, struct vc4_bo *bo) in vc4_gem_hindex()
Dvc4_simulator_validate.h97 struct vc4_bo *bo;
Dvc4_simulator.c219 struct vc4_bo **bos = job->bo_pointers.base; in vc4_simulator_pin_bos()
224 struct vc4_bo *bo = bos[i]; in vc4_simulator_pin_bos()
258 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()
216 struct vc4_bo *bo = vc4_bo_alloc(vc4->screen, 4096, "scratch VBO"); in vc4_emit_gl_shader_state()
Dvc4_context.h155 struct vc4_bo *bo;
Dvc4_resource.c48 struct vc4_bo *bo; in vc4_resource_bo_alloc()