Searched refs:bufmgr (Results 1 – 6 of 6) sorted by relevance
/hardware/intel/img/libdrm/libdrm/intel/ |
D | intel_bufmgr.c | 48 drm_intel_bo_alloc(drm_intel_bufmgr *bufmgr, const char *name, in drm_intel_bo_alloc() argument 51 return bufmgr->bo_alloc(bufmgr, name, size, alignment); in drm_intel_bo_alloc() 55 drm_intel_bo_alloc_for_render(drm_intel_bufmgr *bufmgr, const char *name, in drm_intel_bo_alloc_for_render() argument 58 return bufmgr->bo_alloc_for_render(bufmgr, name, size, alignment); in drm_intel_bo_alloc_for_render() 64 bo->bufmgr->bo_reference(bo); in drm_intel_bo_reference() 73 bo->bufmgr->bo_unreference(bo); in drm_intel_bo_unreference() 79 return buf->bufmgr->bo_map(buf, write_enable); in drm_intel_bo_map() 85 return buf->bufmgr->bo_unmap(buf); in drm_intel_bo_unmap() 94 if (bo->bufmgr->bo_subdata) in drm_intel_bo_subdata() 95 return bo->bufmgr->bo_subdata(bo, offset, size, data); in drm_intel_bo_subdata() [all …]
|
D | intel_bufmgr.h | 68 drm_intel_bufmgr *bufmgr; member 76 drm_intel_bo *drm_intel_bo_alloc(drm_intel_bufmgr *bufmgr, const char *name, 78 drm_intel_bo *drm_intel_bo_alloc_for_render(drm_intel_bufmgr *bufmgr, 93 void drm_intel_bufmgr_set_debug(drm_intel_bufmgr *bufmgr, int enable_debug); 94 void drm_intel_bufmgr_destroy(drm_intel_bufmgr *bufmgr); 116 drm_intel_bo *drm_intel_bo_gem_create_from_name(drm_intel_bufmgr *bufmgr, 119 void drm_intel_bufmgr_gem_enable_reuse(drm_intel_bufmgr *bufmgr); 124 int drm_intel_get_pipe_from_crtc_id(drm_intel_bufmgr *bufmgr, int crtc_id); 132 void drm_intel_bufmgr_fake_set_last_dispatch(drm_intel_bufmgr *bufmgr, 134 void drm_intel_bufmgr_fake_set_exec_callback(drm_intel_bufmgr *bufmgr, [all …]
|
D | intel_bufmgr_gem.c | 64 if (bufmgr_gem->bufmgr.debug) \ 80 drm_intel_bufmgr bufmgr; member 248 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bo->bufmgr; in drm_intel_add_validate_buffer() 292 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bo->bufmgr; in drm_intel_setup_reloc_list() 305 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bo->bufmgr; in drm_intel_gem_bo_busy() 319 drm_intel_gem_bo_alloc_internal(drm_intel_bufmgr *bufmgr, const char *name, in drm_intel_gem_bo_alloc_internal() argument 323 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bufmgr; in drm_intel_gem_bo_alloc_internal() 391 bo_gem->bo.bufmgr = bufmgr; in drm_intel_gem_bo_alloc_internal() 411 drm_intel_gem_bo_alloc_for_render(drm_intel_bufmgr *bufmgr, const char *name, in drm_intel_gem_bo_alloc_for_render() argument 414 return drm_intel_gem_bo_alloc_internal(bufmgr, name, size, alignment, 1); in drm_intel_gem_bo_alloc_for_render() [all …]
|
D | intel_bufmgr_fake.c | 57 if (bufmgr_fake->bufmgr.debug) \ 114 drm_intel_bufmgr bufmgr; member 240 void drm_intel_bufmgr_fake_set_fence_callback(drm_intel_bufmgr *bufmgr, in drm_intel_bufmgr_fake_set_fence_callback() argument 246 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *)bufmgr; in drm_intel_bufmgr_fake_set_fence_callback() 414 drm_intel_bufmgr_fake *bufmgr_fake= (drm_intel_bufmgr_fake *)bo->bufmgr; in alloc_block() 485 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *)bo->bufmgr; in alloc_backing_store() 511 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *)bo->bufmgr; in set_dirty() 642 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *)bo->bufmgr; in evict_and_alloc_block() 727 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *)bo->bufmgr; in drm_intel_fake_bo_wait_rendering_locked() 739 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *)bo->bufmgr; in drm_intel_fake_bo_wait_rendering() [all …]
|
D | intel_bufmgr_priv.h | 51 drm_intel_bo *(*bo_alloc)(drm_intel_bufmgr *bufmgr, const char *name, 59 drm_intel_bo *(*bo_alloc_for_render)(drm_intel_bufmgr *bufmgr, 114 void (*destroy)(drm_intel_bufmgr *bufmgr); 208 int (*get_pipe_from_crtc_id)(drm_intel_bufmgr *bufmgr, int crtc_id);
|
/hardware/intel/img/libdrm/tests/modetest/ |
D | modetest.c | 346 create_test_buffer(drm_intel_bufmgr *bufmgr, in create_test_buffer() argument 397 bo = drm_intel_bo_alloc(bufmgr, "frontbuffer", size, 4096); in create_test_buffer() 417 create_test_buffer(drm_intel_bufmgr *bufmgr, in create_test_buffer() argument 429 bo = drm_intel_bo_alloc(bufmgr, "frontbuffer", size, 4096); in create_test_buffer() 466 drm_intel_bufmgr *bufmgr; in set_mode() local 482 bufmgr = drm_intel_bufmgr_gem_init(fd, 2<<20); in set_mode() 483 if (!bufmgr) { in set_mode() 488 if (create_test_buffer(bufmgr, width, height, &stride, &bo)) in set_mode()
|