| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/ |
| radeon_buffer_objects.h | 41 struct radeon_bo *bo; member in struct:radeon_buffer_object
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/ |
| radeon_buffer_objects.h | 41 struct radeon_bo *bo; member in struct:radeon_buffer_object
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| iris_measure.h | 32 struct iris_bo *bo; member in struct:iris_measure_batch
|
| iris_binder.h | 39 struct iris_bo *bo; member in struct:iris_binder
|
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/winsys/null/ |
| radv_null_bo.c | 36 struct radv_null_winsys_bo *bo; local 38 /* Courtesy for users using NULL to check if they need to destroy the BO. */ 41 bo = CALLOC_STRUCT(radv_null_winsys_bo); 42 if (!bo) 45 bo->ptr = malloc(size); 46 if (!bo->ptr) 49 *out_bo = (struct radeon_winsys_bo *)bo; 52 FREE(bo); 59 struct radv_null_winsys_bo *bo = radv_null_winsys_bo(_bo); local 60 return bo->ptr 78 struct radv_null_winsys_bo *bo = radv_null_winsys_bo(_bo); local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/ |
| iris_binder.h | 39 struct iris_bo *bo; member in struct:iris_binder
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/ |
| pan_mempool.c | 46 /* We don't know what the BO will be used for, so let's flag it 48 * TODO: if we want fine grained BO assignment we should pass 52 struct panfrost_bo *bo = panfrost_bo_create(pool->base.dev, bo_sz, local 56 util_dynarray_append(&pool->bos, struct panfrost_bo *, bo); 60 pool->transient_bo = bo; 63 return bo; 91 util_dynarray_foreach(&pool->bos, struct panfrost_bo *, bo) 92 panfrost_bo_unreference(*bo); 103 util_dynarray_foreach(&pool->bos, struct panfrost_bo *, bo) { 104 assert((*bo)->gem_handle > 0) 124 struct panfrost_bo *bo = pool->transient_bo; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/ |
| nouveau_bufferobj.h | 32 struct nouveau_bo *bo; member in struct:nouveau_bufferobj 38 (x ? to_nouveau_bufferobj(x)->bo : NULL)
|
| nouveau_scratch.h | 34 struct nouveau_bo *bo[NOUVEAU_SCRATCH_COUNT]; member in struct:nouveau_scratch_state 43 struct nouveau_bo **bo, unsigned *offset);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| brw_compute.c | 115 struct brw_bo *bo = local 120 brw->compute.num_work_groups_bo = bo;
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/ |
| nouveau_bufferobj.h | 32 struct nouveau_bo *bo; member in struct:nouveau_bufferobj 38 (_mesa_is_bufferobj(x) ? to_nouveau_bufferobj(x)->bo : NULL)
|
| nouveau_scratch.h | 34 struct nouveau_bo *bo[NOUVEAU_SCRATCH_COUNT]; member in struct:nouveau_scratch_state 43 struct nouveau_bo **bo, unsigned *offset);
|
| /xsrc/external/mit/libdrm/dist/tests/etnaviv/ |
| etnaviv_bo_cache_test.c | 41 struct etna_bo *bo, *tmp; local 43 /* allocate and free some bo's with same size - we must 44 * get the same bo over and over. */ 45 printf("testing bo cache ... "); 47 bo = tmp = etna_bo_new(dev, 0x100, ETNA_BO_UNCACHED); 48 assert(bo); 49 etna_bo_del(bo); 54 assert(tmp == bo); 62 struct etna_bo *bo; local 66 bo = etna_bo_new(dev, 15, ETNA_BO_UNCACHED) [all...] |
| /xsrc/external/mit/libdrm/dist/tests/radeon/ |
| radeon_ttm.c | 32 /* allocate as many single page bo to try to starve the kernel 38 struct rbo *bo, *tmp; local 44 bo = rbo(fd, 0, 4096, 0, NULL); 45 if (bo == NULL) { 46 printf("failing after %d bo\n", nbo); 50 list_add(&bo->list, &list); 52 LIST_FOR_EACH_ENTRY_SAFE(bo, tmp, &list, list) { 53 list_del(&bo->list); 54 rbo_decref(bo);
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/ |
| dumb_bo.c | 47 struct dumb_bo *bo; local 50 bo = calloc(1, sizeof(*bo)); 51 if (!bo) 63 bo->handle = arg.handle; 64 bo->size = arg.size; 65 bo->pitch = arg.pitch; 67 return bo; 69 free(bo); 74 dumb_bo_map(int fd, struct dumb_bo *bo) 123 struct dumb_bo *bo; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/asahi/lib/ |
| pool.c | 39 struct agx_bo *bo = agx_bo_create(pool->dev, bo_sz, local 42 util_dynarray_append(&pool->bos, struct agx_bo *, bo); 43 pool->transient_bo = bo; 46 return bo; 65 util_dynarray_foreach(&pool->bos, struct agx_bo *, bo) { 66 agx_bo_unreference(*bo); 76 util_dynarray_foreach(&pool->bos, struct agx_bo *, bo) { 77 handles[idx++] = (*bo)->handle; 87 /* Find or create a suitable BO */ 88 struct agx_bo *bo = pool->transient_bo local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/broadcom/drm-shim/ |
| v3d.c | 57 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, map->handle); local 59 map->offset = drm_shim_bo_get_mmap_offset(shim_fd, bo); 61 drm_shim_bo_put(bo); 71 struct v3d_bo *bo = v3d_bo_lookup(shim_fd, get->handle); local 73 get->offset = bo->offset; 75 drm_shim_bo_put(&bo->base);
|
| vc4_noop.c | 44 struct shim_bo *bo = calloc(1, sizeof(*bo)); local 46 drm_shim_bo_init(bo, create->size); 47 create->handle = drm_shim_bo_get_handle(shim_fd, bo); 48 drm_shim_bo_put(bo); 58 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, map->handle); local 60 map->offset = drm_shim_bo_get_mmap_offset(shim_fd, bo); 62 drm_shim_bo_put(bo);
|
| /xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/ |
| v3dv_cl.c | 39 cl->bo = NULL; 48 list_for_each_entry_safe(struct v3dv_bo, bo, &cl->bo_list, list_link) { 50 list_del(&bo->list_link); 51 v3dv_bo_free(cl->job->device, bo); 61 struct v3dv_bo *bo = v3dv_bo_alloc(cl->job->device, space, "CL", true); local 62 if (!bo) { 68 list_addtail(&bo->list_link, &cl->bo_list); 70 bool ok = v3dv_bo_map(cl->job->device, bo, bo->size); 77 /* Chain to the new BO from the old one if requested * [all...] |
| /xsrc/external/mit/MesaLib/dist/src/etnaviv/drm/ |
| etnaviv_bo_cache.c | 30 void _etna_bo_del(struct etna_bo *bo); 59 /* Initialize the linked lists for BO reuse cache. */ 78 struct etna_bo *bo; local 81 bo = LIST_ENTRY(struct etna_bo, bucket->list.next, list); 84 if (time && ((time - bo->free_time) <= 1)) 87 VG_BO_OBTAIN(bo); 88 list_del(&bo->list); 89 _etna_bo_del(bo); 113 static int is_idle(struct etna_bo *bo) 115 return etna_bo_cpu_prep(bo, 123 struct etna_bo *bo = NULL, *tmp; local 161 struct etna_bo *bo; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/etnaviv/drm/tests/ |
| etnaviv_bo_cache_test.c | 40 struct etna_bo *bo, *tmp; local 42 /* allocate and free some bo's with same size - we must 43 * get the same bo over and over. */ 44 printf("testing bo cache ... "); 46 bo = tmp = etna_bo_new(dev, 0x100, ETNA_BO_UNCACHED); 47 assert(bo); 48 etna_bo_del(bo); 53 assert(tmp == bo); 61 struct etna_bo *bo; local 65 bo = etna_bo_new(dev, 15, ETNA_BO_UNCACHED) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/drm/ |
| freedreno_bo_cache.c | 30 void bo_del(struct fd_bo *bo); 67 /* Initialize the linked lists for BO reuse cache. */ 89 struct fd_bo *bo; local 92 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list); 95 if (time && ((time - bo->free_time) <= 1)) 98 VG_BO_OBTAIN(bo); 99 list_del(&bo->list); 100 bo_del(bo); 128 struct fd_bo *bo = NULL; local 134 * NOTE that intel takes ALLOC_FOR_RENDER bo's from the list tai 156 struct fd_bo *bo = NULL; local [all...] |
| msm_ringbuffer_sp.h | 54 msm_submit_append_bo(msm_submit, reloc->bo); 66 /* Avoid emitting duplicate BO references into the list. Ringbuffer 72 if (!msm_ringbuffer_references_bo(ring, reloc->bo)) { 73 APPEND(&msm_ring->u, reloc_bos, fd_bo_ref(reloc->bo)); 81 struct fd_bo *bo; local 86 bo = msm_target->u.cmds[cmd_idx].ring_bo; 89 bo = msm_target->ring_bo; 95 .bo = bo, 96 .iova = bo->iova + msm_target->offset [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/asahi/ |
| agx_uniforms.c | 29 * not require an update to the BO list, since the entire pool will be added 37 struct agx_bo *bo = agx_resource(cb->buffer)->bo; local 38 agx_batch_add_bo(batch, bo); 40 return bo->ptr.gpu + cb->buffer_offset; 78 struct agx_bo *bo = agx_resource(vb.buffer.resource)->bo; local 79 agx_batch_add_bo(batch, bo); 81 addresses[i] = bo->ptr.gpu + vb.buffer_offset;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/ |
| fd6_pack.h | 32 struct fd_bo *bo; member in struct:fd_reg_pair 59 if (regs[i].bo) { \ 62 OUT_RELOC(ring, regs[i].bo, regs[i].bo_offset, regs[i].value, \
|