Home
last modified time | relevance | path

Searched refs:panfrost_bo (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_mempool.c43 static struct panfrost_bo *
46 struct panfrost_bo *bo; in panvk_pool_alloc_backing()
50 util_dynarray_num_elements(&pool->bo_pool->free_bos, struct panfrost_bo *)) { in panvk_pool_alloc_backing()
51 bo = util_dynarray_pop(&pool->bo_pool->free_bos, struct panfrost_bo *); in panvk_pool_alloc_backing()
65 util_dynarray_append(&pool->bos, struct panfrost_bo *, bo); in panvk_pool_alloc_backing()
67 util_dynarray_append(&pool->big_bos, struct panfrost_bo *, bo); in panvk_pool_alloc_backing()
80 struct panfrost_bo *bo = pool->transient_bo; in panvk_pool_alloc_aligned()
125 struct panfrost_bo *, num_bos); in panvk_pool_reset()
127 num_bos * sizeof(struct panfrost_bo *)); in panvk_pool_reset()
129 util_dynarray_foreach(&pool->bos, struct panfrost_bo *, bo) in panvk_pool_reset()
[all …]
Dpanvk_mempool.h41 util_dynarray_foreach(&bo_pool->free_bos, struct panfrost_bo *, bo) in panvk_bo_pool_cleanup()
63 struct panfrost_bo *transient_bo;
89 return util_dynarray_num_elements(&pool->bos, struct panfrost_bo *); in panvk_pool_num_bos()
Dpanvk_private.h276 struct panfrost_bo *src, *dst;
326 struct panfrost_bo *bo;
460 struct panfrost_bo *bo;
754 struct panfrost_bo *binary_bo;
755 struct panfrost_bo *state_bo;
879 const struct panfrost_bo *bo;
918 struct panfrost_bo *bo;
Dpanvk_vX_pipeline.c156 struct panfrost_bo *bin_bo = in panvk_pipeline_builder_upload_shaders()
/third_party/mesa3d/src/panfrost/lib/
Dpan_bo.h81 struct panfrost_bo { struct
119 panfrost_bo_wait(struct panfrost_bo *bo, int64_t timeout_ns, bool wait_readers); argument
121 panfrost_bo_reference(struct panfrost_bo *bo);
123 panfrost_bo_unreference(struct panfrost_bo *bo);
124 struct panfrost_bo *
128 panfrost_bo_mmap(struct panfrost_bo *bo);
129 struct panfrost_bo *
132 panfrost_bo_export(struct panfrost_bo *bo);
Dpan_bo.c58 static struct panfrost_bo *
63 struct panfrost_bo *bo; in panfrost_bo_alloc()
81 assert(!memcmp(bo, &((struct panfrost_bo){}), sizeof(*bo))); in panfrost_bo_alloc()
93 panfrost_bo_free(struct panfrost_bo *bo) in panfrost_bo_free()
114 panfrost_bo_wait(struct panfrost_bo *bo, int64_t timeout_ns, bool wait_readers) in panfrost_bo_wait()
191 static struct panfrost_bo *
198 struct panfrost_bo *bo = NULL; in panfrost_bo_cache_fetch()
201 list_for_each_entry_safe(struct panfrost_bo, entry, bucket, in panfrost_bo_cache_fetch()
243 list_for_each_entry_safe(struct panfrost_bo, entry, in panfrost_bo_cache_evict_stale_bos()
266 panfrost_bo_cache_put(struct panfrost_bo *bo) in panfrost_bo_cache_put()
[all …]
Dpan_device.h126 struct panfrost_bo *states;
131 struct panfrost_bo *varying_heap;
136 struct panfrost_bo *bin;
137 struct panfrost_bo *descs;
209 struct panfrost_bo *tiler_heap;
223 struct panfrost_bo *sample_positions;
247 static inline struct panfrost_bo *
250 return (struct panfrost_bo *)util_sparse_array_get(&dev->bo_map, gem_handle); in pan_lookup_bo()
Dpan_cs.h76 struct panfrost_bo *polygon_list;
Dpan_texture.h107 struct panfrost_bo *bo;
Dpan_props.c251 util_sparse_array_init(&dev->bo_map, sizeof(struct panfrost_bo), 512); in panfrost_open_device()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_job.h99 struct panfrost_bo *polygon_list;
102 struct panfrost_bo *scratchpad;
105 struct panfrost_bo *shared_memory;
147 struct panfrost_bo *bo,
160 struct panfrost_bo *
181 struct panfrost_bo *
184 struct panfrost_bo *
Dpan_mempool.c43 static struct panfrost_bo *
52 struct panfrost_bo *bo = panfrost_bo_create(pool->base.dev, bo_sz, in panfrost_pool_alloc_backing()
56 util_dynarray_append(&pool->bos, struct panfrost_bo *, bo); in panfrost_pool_alloc_backing()
91 util_dynarray_foreach(&pool->bos, struct panfrost_bo *, bo) in panfrost_pool_cleanup()
103 util_dynarray_foreach(&pool->bos, struct panfrost_bo *, bo) { in panfrost_pool_get_bo_handles()
124 struct panfrost_bo *bo = pool->transient_bo; in panfrost_pool_alloc_aligned()
Dpan_mempool.h41 struct panfrost_bo *transient_bo;
61 struct panfrost_bo *bo;
95 return util_dynarray_num_elements(&pool->bos, struct panfrost_bo *); in panfrost_pool_num_bos()
Dpan_blend_cso.h35 struct panfrost_bo;
56 panfrost_get_blend(struct panfrost_batch *batch, unsigned rt, struct panfrost_bo **bo, unsigned *sh…
Dpan_job.c123 struct panfrost_bo *bo = pan_lookup_bo(dev, i); in panfrost_batch_cleanup()
281 struct panfrost_bo *bo, uint32_t flags) in panfrost_batch_add_bo_old()
312 struct panfrost_bo *bo, enum pipe_shader_type stage) in panfrost_batch_add_bo()
356 struct panfrost_bo *
361 struct panfrost_bo *bo; in panfrost_batch_create_bo()
376 struct panfrost_bo *
401 struct panfrost_bo *
609 struct panfrost_bo *bo = pan_lookup_bo(dev, i); in panfrost_batch_submit_ioctl()
Dpan_context.h232 struct panfrost_bo *bo;
Dpan_resource.c843 struct panfrost_bo *bo = rsrc->image.data.bo; in panfrost_ptr_map()
927 struct panfrost_bo *newbo = NULL; in panfrost_ptr_map()
1178 struct panfrost_bo *bo = prsrc->image.data.bo; in panfrost_ptr_unmap()
Dpan_cmdstream.c602 struct panfrost_bo *shader_bo = NULL; in panfrost_emit_frag_shader_meta()
826 struct panfrost_bo *bo = rsrc->image.data.bo; in panfrost_upload_ssbo_sysval()
1209 struct panfrost_bo *bo = in panfrost_emit_shared_memory()
1846 struct panfrost_bo *bo = rsrc->image.data.bo; in panfrost_emit_streamout()
2338 struct panfrost_bo *tls_bo = in emit_tls()
2360 struct panfrost_bo *tls_bo = in emit_fbd()
2899 struct panfrost_bo *index_buf = NULL; in panfrost_indirect_draw()
Dpan_context.c157 panfrost_get_blend(struct panfrost_batch *batch, unsigned rti, struct panfrost_bo **bo, unsigned *s… in panfrost_get_blend()
/third_party/mesa3d/docs/relnotes/
D19.1.0.rst4590 - panfrost: Add gem_handle to panfrost_memory and panfrost_bo