Home
last modified time | relevance | path

Searched refs:bufmgr (Results 1 – 25 of 42) sorted by relevance

12

/external/libdrm/intel/
Dintel_bufmgr.c53 drm_intel_bo_alloc(drm_intel_bufmgr *bufmgr, const char *name, in drm_intel_bo_alloc() argument
56 return bufmgr->bo_alloc(bufmgr, name, size, alignment); in drm_intel_bo_alloc()
60 drm_intel_bo_alloc_for_render(drm_intel_bufmgr *bufmgr, const char *name, in drm_intel_bo_alloc_for_render() argument
63 return bufmgr->bo_alloc_for_render(bufmgr, name, size, alignment); in drm_intel_bo_alloc_for_render()
67 drm_intel_bo_alloc_userptr(drm_intel_bufmgr *bufmgr, in drm_intel_bo_alloc_userptr() argument
74 if (bufmgr->bo_alloc_userptr) in drm_intel_bo_alloc_userptr()
75 return bufmgr->bo_alloc_userptr(bufmgr, name, addr, tiling_mode, in drm_intel_bo_alloc_userptr()
81 drm_intel_bo_alloc_tiled(drm_intel_bufmgr *bufmgr, const char *name, in drm_intel_bo_alloc_tiled() argument
85 return bufmgr->bo_alloc_tiled(bufmgr, name, x, y, cpp, in drm_intel_bo_alloc_tiled()
92 bo->bufmgr->bo_reference(bo); in drm_intel_bo_reference()
[all …]
Dintel_bufmgr.h84 drm_intel_bufmgr *bufmgr; member
114 drm_intel_bo *drm_intel_bo_alloc(drm_intel_bufmgr *bufmgr, const char *name,
116 drm_intel_bo *drm_intel_bo_alloc_for_render(drm_intel_bufmgr *bufmgr,
120 drm_intel_bo *drm_intel_bo_alloc_userptr(drm_intel_bufmgr *bufmgr,
125 drm_intel_bo *drm_intel_bo_alloc_tiled(drm_intel_bufmgr *bufmgr,
142 void drm_intel_bufmgr_set_debug(drm_intel_bufmgr *bufmgr, int enable_debug);
143 void drm_intel_bufmgr_destroy(drm_intel_bufmgr *bufmgr);
176 drm_intel_bo *drm_intel_bo_gem_create_from_name(drm_intel_bufmgr *bufmgr,
179 void drm_intel_bufmgr_gem_enable_reuse(drm_intel_bufmgr *bufmgr);
180 void drm_intel_bufmgr_gem_enable_fenced_relocs(drm_intel_bufmgr *bufmgr);
[all …]
Dintel_bufmgr_fake.c57 if (bufmgr_fake->bufmgr.debug) \
115 drm_intel_bufmgr bufmgr; member
249 drm_intel_bufmgr_fake_set_fence_callback(drm_intel_bufmgr *bufmgr, in drm_intel_bufmgr_fake_set_fence_callback() argument
255 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *) bufmgr; in drm_intel_bufmgr_fake_set_fence_callback()
427 (drm_intel_bufmgr_fake *) bo->bufmgr; in alloc_block()
498 (drm_intel_bufmgr_fake *) bo->bufmgr; in alloc_backing_store()
526 (drm_intel_bufmgr_fake *) bo->bufmgr; in set_dirty()
661 (drm_intel_bufmgr_fake *) bo->bufmgr; in evict_and_alloc_block()
747 (drm_intel_bufmgr_fake *) bo->bufmgr; in drm_intel_fake_bo_wait_rendering_locked()
760 (drm_intel_bufmgr_fake *) bo->bufmgr; in drm_intel_fake_bo_wait_rendering()
[all …]
Dintel_bufmgr_gem.c79 if (bufmgr_gem->bufmgr.debug) \
110 drm_intel_bufmgr bufmgr; member
493 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *) bo->bufmgr; in drm_intel_add_validate_buffer()
531 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bo->bufmgr; in drm_intel_add_validate_buffer2()
624 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *) bo->bufmgr; in drm_intel_setup_reloc_list()
652 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *) bo->bufmgr; in drm_intel_gem_bo_busy()
692 ((drm_intel_bufmgr_gem *) bo->bufmgr, in drm_intel_gem_bo_madvise()
717 drm_intel_gem_bo_alloc_internal(drm_intel_bufmgr *bufmgr, in drm_intel_gem_bo_alloc_internal() argument
725 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *) bufmgr; in drm_intel_gem_bo_alloc_internal()
823 bo_gem->bo.bufmgr = bufmgr; in drm_intel_gem_bo_alloc_internal()
[all …]
Dintel_bufmgr_priv.h50 drm_intel_bo *(*bo_alloc) (drm_intel_bufmgr *bufmgr, const char *name,
59 drm_intel_bo *(*bo_alloc_for_render) (drm_intel_bufmgr *bufmgr,
70 drm_intel_bo *(*bo_alloc_userptr)(drm_intel_bufmgr *bufmgr,
91 drm_intel_bo *(*bo_alloc_tiled) (drm_intel_bufmgr *bufmgr,
152 void (*destroy) (drm_intel_bufmgr *bufmgr);
307 int (*get_pipe_from_crtc_id) (drm_intel_bufmgr *bufmgr, int crtc_id);
318 struct _drm_intel_bufmgr *bufmgr; member
/external/drm_gralloc/
Dgralloc_drm_intel.c59 drm_intel_bufmgr *bufmgr; member
82 info->batch_ibo = drm_intel_bo_alloc(info->bufmgr, in batch_next()
285 ibo = drm_intel_bo_alloc_tiled(info->bufmgr, name, in alloc_ibo()
330 ibo = drm_intel_bo_alloc_tiled(info->bufmgr, name, in alloc_ibo()
351 ib->ibo = drm_intel_bo_gem_create_from_name(info->bufmgr, in intel_alloc()
477 drm_intel_bufmgr_destroy(info->bufmgr); in intel_destroy()
492 info->bufmgr = drm_intel_bufmgr_gem_init(info->fd, 16 * 1024); in gralloc_drm_drv_create_for_intel()
493 if (!info->bufmgr) { in gralloc_drm_drv_create_for_intel()
Dgralloc_drm_radeon.c54 struct radeon_bo_manager *bufmgr; member
224 rbo = radeon_bo_open(info->bufmgr, 0, size, base_align, domain, 0); in radeon_alloc()
267 rbuf->rbo = radeon_bo_open(info->bufmgr, in drm_gem_radeon_alloc()
327 radeon_bo_manager_gem_dtor(info->bufmgr); in drm_gem_radeon_destroy()
520 info->bufmgr = radeon_bo_manager_gem_ctor(info->fd); in gralloc_drm_drv_create_for_radeon()
521 if (!info->bufmgr) { in gralloc_drm_drv_create_for_radeon()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_queryobj.c256 query->bo = drm_intel_bo_alloc(intel->bufmgr, "timer query", 4096, 4096); in brw_begin_query()
307 query->bo = drm_intel_bo_alloc(intel->bufmgr, "timer query", in brw_end_query()
403 brw->query.bo = drm_intel_bo_alloc(intel->bufmgr, "query", 4096, 1); in brw_prepare_query_begin()
460 drm_intel_reg_read(intel->bufmgr, TIMESTAMP, &result); in brw_get_timestamp()
Dintel_context.c596 if (intelScreen->bufmgr == NULL) in intelInitContext()
659 intel->bufmgr = intelScreen->bufmgr; in intelInitContext()
666 intel_bufmgr_gem_enable_reuse(intel->bufmgr); in intelInitContext()
748 dri_bufmgr_set_debug(intel->bufmgr, true); in intelInitContext()
751 drm_intel_bufmgr_gem_set_aub_dump(intel->bufmgr, true); in intelInitContext()
Dintel_buffer_objects.c51 intel_obj->buffer = drm_intel_bo_alloc(intel->bufmgr, "bufferobj", in intel_bufferobj_alloc_buffer()
218 drm_intel_bo_alloc(intel->bufmgr, "subdata temp", size, 64); in intel_bufferobj_subdata()
353 intel_obj->range_map_bo = drm_intel_bo_alloc(intel->bufmgr, in intel_bufferobj_map_range()
402 temp_bo = drm_intel_bo_alloc(intel->bufmgr, "range map flush", length, 64); in intel_bufferobj_flush_mapped_range()
513 intel->upload.bo = drm_intel_bo_alloc(intel->bufmgr, "upload", size, 0); in wrap_buffers()
Dintel_screen.c634 dri_bufmgr_destroy(intelScreen->bufmgr); in intelDestroyScreen()
838 intelScreen->bufmgr = intel_bufmgr_gem_init(spriv->fd, BATCH_SZ); in intel_init_bufmgr()
839 if (intelScreen->bufmgr == NULL) { in intel_init_bufmgr()
851 drm_intel_bufmgr_gem_enable_fenced_relocs(intelScreen->bufmgr); in intel_init_bufmgr()
896 buffer = drm_intel_bo_alloc_tiled(screen->bufmgr, "swizzle test", in intel_detect_swizzling()
1082 intelScreen->deviceID = drm_intel_bufmgr_gem_get_devid(intelScreen->bufmgr); in intelInitScreen2()
Dintel_regions.c206 buffer = drm_intel_bo_alloc_tiled(screen->bufmgr, "region", in intel_region_alloc()
263 buffer = intel_bo_gem_create_from_name(screen->bufmgr, name, handle); in intel_region_alloc_for_handle()
Dbrw_state_cache.c171 new_bo = drm_intel_bo_alloc(intel->bufmgr, "program cache", new_size, 64); in brw_cache_new_bo()
333 cache->bo = drm_intel_bo_alloc(intel->bufmgr, in brw_init_caches()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_context.c596 if (intelScreen->bufmgr == NULL) in intelInitContext()
659 intel->bufmgr = intelScreen->bufmgr; in intelInitContext()
666 intel_bufmgr_gem_enable_reuse(intel->bufmgr); in intelInitContext()
748 dri_bufmgr_set_debug(intel->bufmgr, true); in intelInitContext()
751 drm_intel_bufmgr_gem_set_aub_dump(intel->bufmgr, true); in intelInitContext()
Dintel_buffer_objects.c51 intel_obj->buffer = drm_intel_bo_alloc(intel->bufmgr, "bufferobj", in intel_bufferobj_alloc_buffer()
218 drm_intel_bo_alloc(intel->bufmgr, "subdata temp", size, 64); in intel_bufferobj_subdata()
353 intel_obj->range_map_bo = drm_intel_bo_alloc(intel->bufmgr, in intel_bufferobj_map_range()
402 temp_bo = drm_intel_bo_alloc(intel->bufmgr, "range map flush", length, 64); in intel_bufferobj_flush_mapped_range()
513 intel->upload.bo = drm_intel_bo_alloc(intel->bufmgr, "upload", size, 0); in wrap_buffers()
Dintel_screen.h64 dri_bufmgr *bufmgr; member
Dintel_screen.c634 dri_bufmgr_destroy(intelScreen->bufmgr); in intelDestroyScreen()
838 intelScreen->bufmgr = intel_bufmgr_gem_init(spriv->fd, BATCH_SZ); in intel_init_bufmgr()
839 if (intelScreen->bufmgr == NULL) { in intel_init_bufmgr()
851 drm_intel_bufmgr_gem_enable_fenced_relocs(intelScreen->bufmgr); in intel_init_bufmgr()
896 buffer = drm_intel_bo_alloc_tiled(screen->bufmgr, "swizzle test", in intel_detect_swizzling()
1082 intelScreen->deviceID = drm_intel_bufmgr_gem_get_devid(intelScreen->bufmgr); in intelInitScreen2()
Dintel_regions.c206 buffer = drm_intel_bo_alloc_tiled(screen->bufmgr, "region", in intel_region_alloc()
263 buffer = intel_bo_gem_create_from_name(screen->bufmgr, name, handle); in intel_region_alloc_for_handle()
Dintel_batchbuffer.c64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr, in intel_batchbuffer_init()
81 intel->batch.bo = drm_intel_bo_alloc(intel->bufmgr, "batchbuffer", in intel_batchbuffer_reset()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_context.c596 if (intelScreen->bufmgr == NULL) in intelInitContext()
659 intel->bufmgr = intelScreen->bufmgr; in intelInitContext()
666 intel_bufmgr_gem_enable_reuse(intel->bufmgr); in intelInitContext()
748 dri_bufmgr_set_debug(intel->bufmgr, true); in intelInitContext()
751 drm_intel_bufmgr_gem_set_aub_dump(intel->bufmgr, true); in intelInitContext()
Dintel_buffer_objects.c51 intel_obj->buffer = drm_intel_bo_alloc(intel->bufmgr, "bufferobj", in intel_bufferobj_alloc_buffer()
218 drm_intel_bo_alloc(intel->bufmgr, "subdata temp", size, 64); in intel_bufferobj_subdata()
353 intel_obj->range_map_bo = drm_intel_bo_alloc(intel->bufmgr, in intel_bufferobj_map_range()
402 temp_bo = drm_intel_bo_alloc(intel->bufmgr, "range map flush", length, 64); in intel_bufferobj_flush_mapped_range()
513 intel->upload.bo = drm_intel_bo_alloc(intel->bufmgr, "upload", size, 0); in wrap_buffers()
Dintel_screen.c634 dri_bufmgr_destroy(intelScreen->bufmgr); in intelDestroyScreen()
838 intelScreen->bufmgr = intel_bufmgr_gem_init(spriv->fd, BATCH_SZ); in intel_init_bufmgr()
839 if (intelScreen->bufmgr == NULL) { in intel_init_bufmgr()
851 drm_intel_bufmgr_gem_enable_fenced_relocs(intelScreen->bufmgr); in intel_init_bufmgr()
896 buffer = drm_intel_bo_alloc_tiled(screen->bufmgr, "swizzle test", in intel_detect_swizzling()
1082 intelScreen->deviceID = drm_intel_bufmgr_gem_get_devid(intelScreen->bufmgr); in intelInitScreen2()
Dintel_regions.c206 buffer = drm_intel_bo_alloc_tiled(screen->bufmgr, "region", in intel_region_alloc()
263 buffer = intel_bo_gem_create_from_name(screen->bufmgr, name, handle); in intel_region_alloc_for_handle()
Dintel_batchbuffer.c64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr, in intel_batchbuffer_init()
81 intel->batch.bo = drm_intel_bo_alloc(intel->bufmgr, "batchbuffer", in intel_batchbuffer_reset()
/external/autotest/client/site_tests/graphics_GpuReset/src/
Dgpureset.c288 drm_intel_bufmgr* bufmgr = drm_intel_bufmgr_gem_init(fd, 4096); in main() local
291 bo = drm_intel_bo_alloc(bufmgr, "bogus cmdbuffer", 4096, 4096); in main()

12