/third_party/mesa3d/src/asahi/lib/ |
H A D | agx_device.h | 59 struct util_sparse_array bo_map; member 83 return util_sparse_array_get(&dev->bo_map, handle); in agx_lookup_bo()
|
H A D | agx_device.c | 318 util_sparse_array_init(&dev->bo_map, sizeof(struct agx_bo), 512); in agx_open_device() 331 util_sparse_array_finish(&dev->bo_map); in agx_close_device()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_context.c | 56 void *bo_map; in crocus_init_identifier_bo() local 58 bo_map = crocus_bo_map(NULL, ice->workaround_bo, MAP_READ | MAP_WRITE); in crocus_init_identifier_bo() 59 if (!bo_map) in crocus_init_identifier_bo() 64 intel_debug_write_identifiers(bo_map, 4096, "Crocus") + 8, 8); in crocus_init_identifier_bo()
|
H A D | crocus_batch.c | 833 void *bo_map = crocus_bo_map(batch->dbg, batch->command.bo, MAP_WRITE); in submit_batch() local 834 memcpy(bo_map, batch->command.map, crocus_batch_bytes_used(batch)); in submit_batch() 836 bo_map = crocus_bo_map(batch->dbg, batch->state.bo, MAP_WRITE); in submit_batch() 837 memcpy(bo_map, batch->state.map, batch->state.used); in submit_batch()
|
H A D | crocus_monitor.c | 191 perf_cfg->vtbl.bo_map = (bo_map_t)crocus_bo_map; in crocus_monitor_init_metrics()
|
/third_party/mesa3d/src/intel/tools/ |
H A D | aub_mem.c | 33 struct bo_map { struct 57 struct bo_map *m = calloc(1, sizeof(*m)); in add_gtt_bo_map() 68 list_for_each_entry_safe(struct bo_map, i, &mem->maps, link) { in aub_mem_clear_bo_maps() argument 266 list_for_each_entry(struct bo_map, i, &mem->maps, link) in aub_mem_get_ggtt_bo() 342 list_for_each_entry(struct bo_map, i, &mem->maps, link) in aub_mem_get_ppgtt_bo()
|
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_device.h | 221 struct util_sparse_array bo_map; member 295 return (struct panfrost_bo *)util_sparse_array_get(&dev->bo_map, gem_handle); in pan_lookup_bo()
|
H A D | pan_props.c | 309 util_sparse_array_init(&dev->bo_map, sizeof(struct panfrost_bo), 512); in panfrost_open_device() 345 util_sparse_array_finish(&dev->bo_map); in panfrost_close_device()
|
/third_party/libdrm/radeon/ |
H A D | radeon_bo_gem.c | 143 static int bo_map(struct radeon_bo_int *boi, int write) in bo_map() function 269 .bo_map = bo_map,
|
H A D | radeon_bo_int.h | 33 int (*bo_map)(struct radeon_bo_int *bo, int write); member
|
H A D | radeon_bo.c | 73 return boi->bom->funcs->bo_map(boi, write); in radeon_bo_map()
|
/third_party/mesa3d/src/broadcom/simulator/ |
H A D | v3d_simulator.c | 111 struct hash_table *bo_map; member 303 _mesa_hash_table_insert(file->bo_map, int_to_key(handle), in v3d_create_simulator_bo_for_gem() 338 _mesa_hash_table_remove_key(sim_file->bo_map, in v3d_free_simulator_bo() 353 _mesa_hash_table_search(file->bo_map, int_to_key(gem_handle)); in v3d_get_simulator_bo() 894 sim_file->bo_map = in v3d_simulator_init()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_simulator.c | 92 struct hash_table *bo_map; member 167 _mesa_hash_table_insert(file->bo_map, int_to_key(handle), bo); in vc4_create_simulator_bo() 211 _mesa_hash_table_remove_key(sim_file->bo_map, in vc4_free_simulator_bo() 223 _mesa_hash_table_search(file->bo_map, int_to_key(gem_handle)); in vc4_get_simulator_bo() 675 screen->sim_file->bo_map = in vc4_simulator_init()
|
/third_party/libdrm/tests/modetest/ |
H A D | buffers.c | 91 static int bo_map(struct bo *bo, void **out) in bo_map() function 231 ret = bo_map(bo, &virtual); in bo_create()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_screen.c | 752 void *bo_map; in iris_init_identifier_bo() local 754 bo_map = iris_bo_map(NULL, screen->workaround_bo, MAP_READ | MAP_WRITE); in iris_init_identifier_bo() 755 if (!bo_map) in iris_init_identifier_bo() 765 intel_debug_write_identifiers(bo_map, 4096, "Iris") + 8, 8), in iris_init_identifier_bo()
|
H A D | iris_perf.c | 90 perf_cfg->vtbl.bo_map = (bo_map_t)iris_bo_map; in iris_perf_init_vtbl()
|
/third_party/mesa3d/src/freedreno/drm/ |
H A D | freedreno_bo.c | 456 bo_map(struct fd_bo *bo) in bo_map() function 486 return bo_map(bo); in fd_bo_map() 497 memcpy(bo_map(bo), src, len); in fd_bo_upload()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_device.h | 287 struct util_sparse_array bo_map; member 426 return (struct tu_bo *) util_sparse_array_get(&device->bo_map, handle); in tu_device_lookup_bo()
|
/third_party/mesa3d/src/gbm/main/ |
H A D | gbm_abi_check.c | 76 void *(*bo_map)(struct gbm_bo *bo, member 350 CHECK_MEMBER_CURRENT(gbm_device_v0, _abi0, bo_map); in main()
|
H A D | gbm_backend_abi.h | 128 void *(*bo_map)(struct gbm_bo *bo, member
|
/third_party/libdrm/intel/ |
H A D | intel_bufmgr_priv.h | 48 * using bo_map() or drm_intel_gem_bo_map_gtt() to be used by the CPU. 114 int (*bo_map) (drm_intel_bo *bo, int write_enable); member 143 * This is not required for any access to the BO by bo_map,
|
H A D | intel_bufmgr.c | 103 return buf->bufmgr->bo_map(buf, write_enable); in drm_intel_bo_map()
|
/third_party/mesa3d/src/intel/perf/ |
H A D | intel_perf_query.c | 857 void *map = perf_cfg->vtbl.bo_map(perf_ctx->ctx, query->oa.bo, MAP_WRITE); in intel_perf_begin_query() 1086 query->oa.map = perf_cfg->vtbl.bo_map(perf_ctx->ctx, query->oa.bo, MAP_READ); in read_oa_samples_for_query() 1533 uint64_t *start = perf_cfg->vtbl.bo_map(perf_ctx->ctx, query->pipeline_stats.bo, MAP_READ); in get_pipeline_stats_data()
|
H A D | intel_perf.h | 394 void *(*bo_map)(void *ctx, void *bo, unsigned flags); member
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_allocator.c | 1340 &device->bo_cache.bo_map, 0, in anv_bo_pool_init() 1414 assert(util_sparse_array_get(&pool->device->bo_cache.bo_map, in anv_bo_pool_free() 1558 util_sparse_array_init(&cache->bo_map, sizeof(struct anv_bo), 1024); in anv_bo_cache_init() 1561 util_sparse_array_finish(&cache->bo_map); in anv_bo_cache_init() 1572 util_sparse_array_finish(&cache->bo_map); in anv_bo_cache_finish()
|