Home
last modified time | relevance | path

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

/external/libdrm/etnaviv/
Detnaviv_bo.c31 drm_private void bo_del(struct etna_bo *bo);
34 static void set_name(struct etna_bo *bo, uint32_t name) in set_name()
42 drm_private void bo_del(struct etna_bo *bo) in bo_del()
63 static struct etna_bo *lookup_bo(void *tbl, uint32_t handle) in lookup_bo()
65 struct etna_bo *bo = NULL; in lookup_bo()
79 static struct etna_bo *bo_from_handle(struct etna_device *dev, in bo_from_handle()
82 struct etna_bo *bo = calloc(sizeof(*bo), 1); in bo_from_handle()
107 struct etna_bo *etna_bo_new(struct etna_device *dev, uint32_t size, in etna_bo_new()
110 struct etna_bo *bo; in etna_bo_new()
134 struct etna_bo *etna_bo_ref(struct etna_bo *bo) in etna_bo_ref()
[all …]
Detnaviv_drmif.h33 struct etna_bo;
116 struct etna_bo *etna_bo_new(struct etna_device *dev,
118 struct etna_bo *etna_bo_from_handle(struct etna_device *dev,
120 struct etna_bo *etna_bo_from_name(struct etna_device *dev, uint32_t name);
121 struct etna_bo *etna_bo_from_dmabuf(struct etna_device *dev, int fd);
122 struct etna_bo *etna_bo_ref(struct etna_bo *bo);
123 void etna_bo_del(struct etna_bo *bo);
124 int etna_bo_get_name(struct etna_bo *bo, uint32_t *name);
125 uint32_t etna_bo_handle(struct etna_bo *bo);
126 int etna_bo_dmabuf(struct etna_bo *bo);
[all …]
Detnaviv_bo_cache.c30 drm_private void bo_del(struct etna_bo *bo);
79 struct etna_bo *bo; in etna_bo_cache_cleanup()
82 bo = LIST_ENTRY(struct etna_bo, bucket->list.next, list); in etna_bo_cache_cleanup()
113 static int is_idle(struct etna_bo *bo) in is_idle()
121 static struct etna_bo *find_in_bucket(struct etna_bo_bucket *bucket, uint32_t flags) in find_in_bucket()
123 struct etna_bo *bo = NULL, *tmp; in find_in_bucket()
158 drm_private struct etna_bo *etna_bo_cache_alloc(struct etna_bo_cache *cache, uint32_t *size, in etna_bo_cache_alloc()
161 struct etna_bo *bo; in etna_bo_cache_alloc()
181 drm_private int etna_bo_cache_free(struct etna_bo_cache *cache, struct etna_bo *bo) in etna_bo_cache_free()
Detnaviv_priv.h83 drm_private struct etna_bo *etna_bo_cache_alloc(struct etna_bo_cache *cache,
85 drm_private int etna_bo_cache_free(struct etna_bo_cache *cache, struct etna_bo *bo);
91 struct etna_bo { struct
150 struct etna_bo **bos;
Detnaviv_cmd_stream.c127 static uint32_t append_bo(struct etna_cmd_stream *stream, struct etna_bo *bo) in append_bo()
144 static uint32_t bo2idx(struct etna_cmd_stream *stream, struct etna_bo *bo, in bo2idx()
215 struct etna_bo *bo = priv->bos[i]; in flush()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_screen.h38 struct etna_bo;
87 struct etna_bo *
Detnaviv_rs.h44 struct etna_bo *source;
49 struct etna_bo *dest;
Detnaviv_resource.h71 struct etna_bo *bo; /* Surface video memory */
72 struct etna_bo *ts_bo; /* Tile status video memory */
Detnaviv_compiler.h107 struct etna_bo *bo; /* cached code memory bo handle (for icache) */
Detnaviv_surface.c123 struct etna_bo *ts_bo = etna_resource(surf->base.texture)->ts_bo; in etna_create_surface()
Detnaviv_resource.c105 struct etna_bo *rt_ts; in etna_screen_resource_alloc_ts()
285 struct etna_bo *bo = etna_bo_new(screen->dev, size, flags); in etna_resource_alloc()
Detnaviv_screen.c838 struct etna_bo *
843 struct etna_bo *bo; in etna_screen_bo_from_handle()
/external/libdrm/tests/etnaviv/
Detnaviv_bo_cache_test.c41 struct etna_bo *bo, *tmp; in test_cache()
62 struct etna_bo *bo; in test_size_rounding()
Detnaviv_2d_test.c61 uint32_t address, struct etna_bo *bo) in etna_set_state_from_bo()
73 static void gen_cmd_stream(struct etna_cmd_stream *stream, struct etna_bo *bmp, const int width, co… in gen_cmd_stream()
159 struct etna_bo *bmp; in main()