Home
last modified time | relevance | path

Searched refs:bo_map (Results 1 – 25 of 43) sorted by relevance

12

/external/minigbm/
Dvc4.c64 struct drm_vc4_mmap_bo bo_map; in vc4_bo_map() local
66 memset(&bo_map, 0, sizeof(bo_map)); in vc4_bo_map()
67 bo_map.handle = bo->handles[0].u32; in vc4_bo_map()
69 ret = drmCommandWriteRead(bo->drv->fd, DRM_VC4_MMAP_BO, &bo_map, sizeof(bo_map)); in vc4_bo_map()
77 bo_map.offset); in vc4_bo_map()
86 .bo_map = vc4_bo_map,
Dudl.c27 .bo_map = drv_dumb_bo_map,
Dnouveau.c27 .bo_map = drv_dumb_bo_map,
Devdi.c27 .bo_map = drv_dumb_bo_map,
Dradeon.c27 .bo_map = drv_dumb_bo_map,
Dmeson.c29 .bo_map = drv_dumb_bo_map,
Dmarvell.c30 .bo_map = drv_dumb_bo_map,
Dmsm.c46 .bo_map = drv_dumb_bo_map,
Dvgem.c64 .bo_map = drv_dumb_bo_map,
Ddrv_priv.h72 void *(*bo_map)(struct bo *bo, struct vma *vma, size_t plane, uint32_t map_flags); member
Dexynos.c108 .bo_map = drv_dumb_bo_map,
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_simulator.c92 struct hash_table *bo_map; member
190 _mesa_hash_table_insert(file->bo_map, int_to_key(handle), in vc5_create_simulator_bo()
212 _mesa_hash_table_search(sim_file->bo_map, in vc5_free_simulator_bo()
214 _mesa_hash_table_remove(sim_file->bo_map, entry); in vc5_free_simulator_bo()
225 _mesa_hash_table_search(file->bo_map, int_to_key(gem_handle)); in vc5_get_simulator_bo()
615 screen->sim_file->bo_map = in vc5_simulator_init()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator.c92 struct hash_table *bo_map; member
163 _mesa_hash_table_insert(file->bo_map, int_to_key(handle), bo); in vc4_create_simulator_bo()
184 _mesa_hash_table_search(sim_file->bo_map, in vc4_free_simulator_bo()
186 _mesa_hash_table_remove(sim_file->bo_map, entry); in vc4_free_simulator_bo()
197 _mesa_hash_table_search(file->bo_map, int_to_key(gem_handle)); in vc4_get_simulator_bo()
735 screen->sim_file->bo_map = in vc4_simulator_init()
/external/mesa3d/src/intel/vulkan/
Danv_allocator.c1183 cache->bo_map = _mesa_hash_table_create(NULL, _mesa_hash_pointer, in anv_bo_cache_init()
1185 if (!cache->bo_map) in anv_bo_cache_init()
1189 _mesa_hash_table_destroy(cache->bo_map, NULL); in anv_bo_cache_init()
1200 _mesa_hash_table_destroy(cache->bo_map, NULL); in anv_bo_cache_finish()
1208 _mesa_hash_table_search(cache->bo_map, in anv_bo_cache_lookup_locked()
1257 _mesa_hash_table_insert(cache->bo_map, in anv_bo_cache_alloc()
1303 _mesa_hash_table_insert(cache->bo_map, (void *)(uintptr_t)gem_handle, bo); in anv_bo_cache_import()
1376 _mesa_hash_table_search(cache->bo_map, in anv_bo_cache_release()
1379 _mesa_hash_table_remove(cache->bo_map, entry); in anv_bo_cache_release()
/external/libdrm/radeon/
Dradeon_bo_gem.c148 static int bo_map(struct radeon_bo_int *boi, int write) in bo_map() function
274 .bo_map = bo_map,
Dradeon_bo_int.h33 int (*bo_map)(struct radeon_bo_int *bo, int write); member
Dradeon_bo.c73 return boi->bom->funcs->bo_map(boi, write); in radeon_bo_map()
/external/libdrm/tests/modetest/
Dbuffers.c91 static int bo_map(struct bo *bo, void **out) in bo_map() function
223 ret = bo_map(bo, &virtual); in bo_create()
/external/libdrm/libkms/
Dinternal.h49 int (*bo_map)(struct kms_bo *bo, void **out); member
Dapi.c118 return bo->kms->bo_map(bo, out); in kms_bo_map()
Dvmwgfx.c196 kms->bo_map = vmwgfx_bo_map; in vmwgfx_create()
Dnouveau.c209 kms->bo_map = nouveau_bo_map; in nouveau_create()
/external/mesa3d/src/gbm/main/
Dgbmint.h76 void *(*bo_map)(struct gbm_bo *bo, member
/external/libdrm/intel/
Dintel_bufmgr_priv.h114 int (*bo_map) (drm_intel_bo *bo, int write_enable); member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program.c646 void *bo_map = brw_bo_map(brw, brw->shader_time.bo, MAP_READ | MAP_WRITE); in brw_collect_shader_time() local
649 uint32_t *times = bo_map + i * 3 * BRW_SHADER_TIME_STRIDE; in brw_collect_shader_time()
658 memset(bo_map, 0, brw->shader_time.bo->size); in brw_collect_shader_time()

12