| /xsrc/external/mit/libdrm/dist/radeon/ |
| radeon_cs_space.c | 126 ret = radeon_cs_setup_bo(&cs->bos[i], &sizes); 156 bo = cs->bos[i].bo; 157 bo->space_accounted = cs->bos[i].new_accounted; 173 if (csi->bos[i].bo == boi && 174 csi->bos[i].read_domains == read_domains && 175 csi->bos[i].write_domain == write_domain) 180 csi->bos[i].bo = boi; 181 csi->bos[i].read_domains = read_domains; 182 csi->bos[i].write_domain = write_domain; 183 csi->bos[i].new_accounted = 0 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/ |
| panvk_vX_device.c | 39 uint32_t *bos, unsigned nr_bos, 71 .bo_handles = (uintptr_t)bos, 93 .bo_handles = (uintptr_t)bos, 236 uint32_t bos[nr_bos]; local 238 panvk_pool_get_bo_handles(&cmdbuf->desc_pool, &bos[bo_idx]); 241 panvk_pool_get_bo_handles(&cmdbuf->varying_pool, &bos[bo_idx]); 244 panvk_pool_get_bo_handles(&cmdbuf->tls_pool, &bos[bo_idx]); 249 bos[bo_idx++] = batch->fb.info->attachments[i].iview->pview.image->data.bo->gem_handle; 254 bos[bo_idx++] = batch->blit.src->gem_handle; 257 bos[bo_idx++] = batch->blit.dst->gem_handle [all...] |
| panvk_mempool.h | 53 /* Before allocating a new BO, check if the BO pool has free BOs. 54 * When returning BOs, if bo_pool != NULL, return them to this bo_pool. 58 /* BOs allocated by this pool */ 59 struct util_dynarray bos; member in struct:panvk_pool 89 return util_dynarray_num_elements(&pool->bos, struct panfrost_bo *);
|
| panvk_mempool.c | 33 * created BOs. All BOs are tracked and addable as 37 * In "unowned" mode, the pool is freestanding. It does not track created BOs 38 * or hold references. Instead, the consumer must manage the created BOs. This 65 util_dynarray_append(&pool->bos, struct panfrost_bo *, bo); 112 util_dynarray_init(&pool->bos, NULL); 126 memcpy(ptr, util_dynarray_begin(&pool->bos), 129 util_dynarray_foreach(&pool->bos, struct panfrost_bo *, bo) 136 util_dynarray_clear(&pool->bos); 145 util_dynarray_fini(&pool->bos); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/ |
| pan_mempool.h | 37 /* BOs allocated by this pool */ 38 struct util_dynarray bos; member in struct:panfrost_pool 94 assert(pool->owned && "pool does not track BOs in unowned mode"); 95 return util_dynarray_num_elements(&pool->bos, struct panfrost_bo *);
|
| pan_mempool.c | 33 * created BOs. All BOs are tracked and addable as 37 * In "unowned" mode, the pool is freestanding. It does not track created BOs 38 * or hold references. Instead, the consumer must manage the created BOs. This 56 util_dynarray_append(&pool->bos, struct panfrost_bo *, bo); 77 util_dynarray_init(&pool->bos, memctx); 91 util_dynarray_foreach(&pool->bos, struct panfrost_bo *, bo) 94 util_dynarray_fini(&pool->bos); 100 assert(pool->owned && "pool does not track BOs in unowned mode"); 103 util_dynarray_foreach(&pool->bos, struct panfrost_bo *, bo) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/ |
| tu_cs.c | 66 tu_bo_finish(cs->device, cs->bos[i]); 67 free(cs->bos[i]); 71 free(cs->bos); 82 return cs->start - (uint32_t *) cs->bos[cs->bo_count - 1]->map; 98 /* grow cs->bos if needed */ 102 realloc(cs->bos, new_capacity * sizeof(struct tu_bo *)); 107 cs->bos = new_bos; 129 cs->bos[cs->bo_count++] = new_bo; 183 .bo = cs->bos[cs->bo_count - 1], 288 struct tu_bo *bo = cs->bos[cs->bo_count - 1] [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/ |
| tu_cs.c | 60 tu_bo_finish(dev, cs->bos[i]); 61 free(cs->bos[i]); 65 free(cs->bos); 76 return cs->start - (uint32_t *) cs->bos[cs->bo_count - 1]->map; 121 /* grow cs->bos if needed */ 125 realloc(cs->bos, new_capacity * sizeof(struct tu_bo *)); 130 cs->bos = new_bos; 150 cs->bos[cs->bo_count++] = new_bo; 204 .bo = cs->bos[cs->bo_count - 1], 285 .bo = cs->bos[cs->bo_count - 1] [all...] |
| /xsrc/external/mit/MesaLib/dist/src/asahi/lib/ |
| pool.c | 42 util_dynarray_append(&pool->bos, struct agx_bo *, bo); 56 util_dynarray_init(&pool->bos, dev->memctx); 65 util_dynarray_foreach(&pool->bos, struct agx_bo *, bo) { 69 util_dynarray_fini(&pool->bos); 76 util_dynarray_foreach(&pool->bos, struct agx_bo *, bo) {
|
| pool.h | 43 /* BOs allocated by this pool */ 44 struct util_dynarray bos; member in struct:agx_pool 66 return util_dynarray_num_elements(&pool->bos, struct agx_bo *);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/ |
| pan_job.c | 38 job->bos = _mesa_set_create(job, 51 set_foreach(job->bos, entry) { 122 if (_mesa_set_search(job->bos, bo)) 126 _mesa_set_add(job->bos, bo); 155 if (_mesa_set_search(job->bos, rsc->bo)) {
|
| pan_job.h | 58 /* BOs referenced -- will be used for flushing logic */ 59 struct set *bos; member in struct:panfrost_job
|
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/winsys/amdgpu/ |
| radv_amdgpu_bo.h | 62 struct radv_amdgpu_winsys_bo **bos; member in struct:radv_amdgpu_winsys_bo::__anon598::__anon600
|
| radv_amdgpu_winsys.h | 59 struct radv_amdgpu_winsys_bo **bos; member in struct:radv_amdgpu_winsys::__anon603
|
| radv_amdgpu_bo.c | 127 struct radv_amdgpu_winsys_bo **bos = local 128 realloc(bo->bos, new_count * sizeof(struct radv_amdgpu_winsys_bo *)); 129 if (!bos) 131 bo->bos = bos; 138 bo->bos[temp_bo_count++] = bo->ranges[i].bo; 140 qsort(bo->bos, temp_bo_count, sizeof(struct radv_amdgpu_winsys_bo *), &bo_comparator); 144 if (bo->bos[i] != bo->bos[i - 1]) 145 bo->bos[final_bo_count++] = bo->bos[i] 1054 struct radv_amdgpu_winsys_bo **bos = NULL; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/winsys/amdgpu/ |
| radv_amdgpu_bo.h | 66 struct radv_amdgpu_winsys_bo **bos; member in struct:radv_amdgpu_winsys_bo::__anon3286::__anon3288
|
| /xsrc/external/mit/MesaLib/dist/src/etnaviv/drm/ |
| etnaviv_cmd_stream.c | 159 idx = APPEND(&priv->submit, bos); 160 idx = APPEND(priv, bos); 162 priv->submit.bos[idx].flags = 0; 163 priv->submit.bos[idx].handle = bo->handle; 164 priv->submit.bos[idx].presumed = bo->va; 166 priv->bos[idx] = etna_bo_ref(bo); 203 priv->submit.bos[idx].flags |= ETNA_SUBMIT_BO_READ; 205 priv->submit.bos[idx].flags |= ETNA_SUBMIT_BO_WRITE; 220 .bos = VOID2U64(priv->submit.bos), [all...] |
| /xsrc/external/mit/libdrm/dist/etnaviv/ |
| etnaviv_cmd_stream.c | 133 idx = APPEND(&priv->submit, bos); 134 idx = APPEND(priv, bos); 136 priv->submit.bos[idx].flags = 0; 137 priv->submit.bos[idx].handle = bo->handle; 139 priv->bos[idx] = etna_bo_ref(bo); 158 if (priv->bos[idx] == bo) 170 priv->submit.bos[idx].flags |= ETNA_SUBMIT_BO_READ; 172 priv->submit.bos[idx].flags |= ETNA_SUBMIT_BO_WRITE; 187 .bos = VOID2U64(priv->submit.bos), [all...] |
| /xsrc/external/mit/MesaLib/dist/include/android_stub/cutils/ |
| properties.h | 137 size_t bos = __bos(value); 138 if (bos < PROPERTY_VALUE_MAX) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/ |
| lima_submit.c | 51 struct util_dynarray bos; member in struct:lima_submit 113 struct lima_bo **jbo = util_dynarray_grow(&submit->bos, sizeof(*jbo)); 128 .bos = VOID2U64(util_dynarray_begin(&submit->gem_bos)), 146 util_dynarray_foreach(&submit->bos, struct lima_bo *, bo) { 151 util_dynarray_clear(&submit->bos);
|
| /xsrc/external/mit/libdrm/dist/freedreno/msm/ |
| msm_ringbuffer.c | 58 * Note that bos and cmds are tracked by the parent ringbuffer, since 64 DECLARE_ARRAY(struct drm_msm_gem_submit_bo, bos); 70 /* should have matching entries in submit.bos: */ 72 DECLARE_ARRAY(struct fd_bo *, bos); 206 idx = APPEND(&msm_ring->submit, bos); 207 idx = APPEND(msm_ring, bos); 209 msm_ring->submit.bos[idx].flags = 0; 210 msm_ring->submit.bos[idx].handle = bo->handle; 211 msm_ring->submit.bos[idx].presumed = to_msm_bo(bo)->presumed; 213 msm_ring->bos[idx] = fd_bo_ref(bo) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/drm/ |
| msm_priv.h | 112 struct drm_msm_gem_submit_bo *bos = U642VOID(req->bos); local 113 struct drm_msm_gem_submit_bo *bo = &bos[i]; 114 ERROR_MSG(" bos[%d]: handle=%u, flags=%x", i, bo->handle, bo->flags);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/ |
| d3d12_batch.cpp | 43 batch->bos = _mesa_set_create(NULL, _mesa_hash_pointer, 53 if (!batch->bos || !batch->sampler_views || !batch->surfaces || !batch->objects) 122 _mesa_set_clear(batch->bos, delete_bo); 149 _mesa_set_destroy(batch->bos, NULL); 214 return (_mesa_set_search(batch->bos, bo) != NULL); 222 _mesa_set_search_and_add(batch->bos, res->bo, &found);
|
| d3d12_batch.h | 44 struct set *bos; member in struct:d3d12_batch
|
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/drm/ |
| msm_priv.h | 87 struct drm_msm_gem_submit_bo *bos = U642VOID(req->bos); local 88 struct drm_msm_gem_submit_bo *bo = &bos[i]; 89 ERROR_MSG(" bos[%d]: handle=%u, flags=%x", i, bo->handle, bo->flags);
|