| /xsrc/external/mit/libdrm/dist/intel/ |
| H A D | intel_bufmgr.c | 49 drm_intel_bo_alloc(drm_intel_bufmgr *bufmgr, const char *name, argument 52 return bufmgr->bo_alloc(bufmgr, name, size, alignment); 56 drm_intel_bo_alloc_for_render(drm_intel_bufmgr *bufmgr, const char *name, argument 59 return bufmgr->bo_alloc_for_render(bufmgr, name, size, alignment); 63 drm_intel_bo_alloc_userptr(drm_intel_bufmgr *bufmgr, argument 70 if (bufmgr->bo_alloc_userptr) 71 return bufmgr->bo_alloc_userptr(bufmgr, nam 77 drm_intel_bo_alloc_tiled(drm_intel_bufmgr * bufmgr,const char * name,int x,int y,int cpp,uint32_t * tiling_mode,unsigned long * pitch,unsigned long flags) argument 145 drm_intel_bufmgr_destroy(drm_intel_bufmgr * bufmgr) argument 178 drm_intel_bufmgr_set_debug(drm_intel_bufmgr * bufmgr,int enable_debug) argument 320 drm_intel_get_pipe_from_crtc_id(drm_intel_bufmgr * bufmgr,int crtc_id) argument [all...] |
| H A D | intel_bufmgr.h | 31 * Public definitions of Intel-specific bufmgr functions. 84 drm_intel_bufmgr *bufmgr; member in struct:_drm_intel_bo 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); [all...] |
| H A D | intel_bufmgr_priv.h | 31 * Private definitions of Intel-specific bufmgr functions and structures. 50 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); 304 * \param bufmgr the associated buffer manager 307 int (*get_pipe_from_crtc_id) (drm_intel_bufmgr *bufmgr, int crtc_id); 318 struct _drm_intel_bufmgr *bufmgr; member in struct:_drm_intel_context
|
| H A D | intel_bufmgr_fake.c | 53 if (bufmgr_fake->bufmgr.debug) \ 111 drm_intel_bufmgr bufmgr; member in struct:_bufmgr_fake 245 drm_intel_bufmgr_fake_set_fence_callback(drm_intel_bufmgr *bufmgr, argument 251 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *) bufmgr; 423 (drm_intel_bufmgr_fake *) bo->bufmgr; 494 (drm_intel_bufmgr_fake *) bo->bufmgr; 522 (drm_intel_bufmgr_fake *) bo->bufmgr; 657 (drm_intel_bufmgr_fake *) bo->bufmgr; 743 (drm_intel_bufmgr_fake *) bo->bufmgr; 756 (drm_intel_bufmgr_fake *) bo->bufmgr; 768 drm_intel_bufmgr_fake_contended_lock_take(drm_intel_bufmgr * bufmgr) argument 799 drm_intel_fake_bo_alloc(drm_intel_bufmgr * bufmgr,const char * name,unsigned long size,unsigned int alignment) argument 838 drm_intel_fake_bo_alloc_tiled(drm_intel_bufmgr * bufmgr,const char * name,int x,int y,int cpp,uint32_t * tiling_mode,unsigned long * pitch,unsigned long flags) argument 864 drm_intel_bo_fake_alloc_static(drm_intel_bufmgr * bufmgr,const char * name,unsigned long offset,unsigned long size,void * virtual) argument 1228 drm_intel_fake_fence_validated(drm_intel_bufmgr * bufmgr) argument 1240 drm_intel_fake_destroy(drm_intel_bufmgr * bufmgr) argument 1413 drm_intel_bufmgr_fake_set_exec_callback(drm_intel_bufmgr * bufmgr,int (* exec)(drm_intel_bo * bo,unsigned int used,void * priv),void * priv) argument 1536 drm_intel_bufmgr_fake_evict_all(drm_intel_bufmgr * bufmgr) argument 1571 drm_intel_bufmgr_fake_set_last_dispatch(drm_intel_bufmgr * bufmgr,volatile unsigned int * last_dispatch) argument [all...] |
| H A D | intel_bufmgr_gem.c | 76 if (bufmgr_gem->bufmgr.debug) \ 107 drm_intel_bufmgr bufmgr; member in struct:_drm_intel_bufmgr_gem 484 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bo->bufmgr; 573 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *) bo->bufmgr; 601 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *) bo->bufmgr; 640 ((drm_intel_bufmgr_gem *) bo->bufmgr, 665 drm_intel_gem_bo_alloc_internal(drm_intel_bufmgr *bufmgr, argument 673 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *) bufmgr; 779 bo_gem->bo.bufmgr = bufmgr; 816 drm_intel_gem_bo_alloc_for_render(drm_intel_bufmgr * bufmgr,const char * name,unsigned long size,unsigned int alignment) argument 828 drm_intel_gem_bo_alloc(drm_intel_bufmgr * bufmgr,const char * name,unsigned long size,unsigned int alignment) argument 838 drm_intel_gem_bo_alloc_tiled(drm_intel_bufmgr * bufmgr,const char * name,int x,int y,int cpp,uint32_t * tiling_mode,unsigned long * pitch,unsigned long flags) argument 890 drm_intel_gem_bo_alloc_userptr(drm_intel_bufmgr * bufmgr,const char * name,void * addr,uint32_t tiling_mode,uint32_t stride,unsigned long size,unsigned long flags) argument 1016 check_bo_alloc_userptr(drm_intel_bufmgr * bufmgr,const char * name,void * addr,uint32_t tiling_mode,uint32_t stride,unsigned long size,unsigned long flags) argument 1062 drm_intel_bo_gem_create_from_name(drm_intel_bufmgr * bufmgr,const char * name,unsigned int handle) argument 1807 drm_intel_gem_get_pipe_from_crtc_id(drm_intel_bufmgr * bufmgr,int crtc_id) argument 1961 drm_intel_bufmgr_gem_destroy(drm_intel_bufmgr * bufmgr) argument 2575 drm_intel_bo_gem_create_from_prime(drm_intel_bufmgr * bufmgr,int prime_fd,int size) argument 2705 drm_intel_bufmgr_gem_enable_reuse(drm_intel_bufmgr * bufmgr) argument 2758 drm_intel_bufmgr_gem_can_disable_implicit_sync(drm_intel_bufmgr * bufmgr) argument 2773 drm_intel_bufmgr_gem_enable_fenced_relocs(drm_intel_bufmgr * bufmgr) argument 3050 drm_intel_bufmgr_gem_set_vma_cache_size(drm_intel_bufmgr * bufmgr,int limit) argument 3119 drm_intel_bufmgr_gem_get_devid(drm_intel_bufmgr * bufmgr) argument 3133 drm_intel_bufmgr_gem_set_aub_filename(drm_intel_bufmgr * bufmgr,const char * filename) argument 3147 drm_intel_bufmgr_gem_set_aub_dump(drm_intel_bufmgr * bufmgr,int enable) argument 3157 drm_intel_gem_context_create(drm_intel_bufmgr * bufmgr) argument 3252 drm_intel_reg_read(drm_intel_bufmgr * bufmgr,uint32_t offset,uint64_t * result) argument 3377 drm_intel_bufmgr_gem_unref(drm_intel_bufmgr * bufmgr) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| H A D | iris_bufmgr.c | 195 * List into the list of bufmgr. 283 bucket_for_size(struct iris_bufmgr *bufmgr, uint64_t size, bool local) argument 313 int num_buckets = local ? bufmgr->num_local_buckets : bufmgr->num_buckets; 315 bufmgr->local_cache_bucket : bufmgr->cache_bucket; 358 vma_alloc(struct iris_bufmgr *bufmgr, argument 365 alignment = MAX2(alignment, bufmgr->vma_min_align); 375 util_vma_heap_alloc(&bufmgr->vma_allocator[memzone], size, alignment); 384 vma_free(struct iris_bufmgr *bufmgr, argument 413 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_busy_gem 428 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_wait_syncobj 546 get_slabs(struct iris_bufmgr * bufmgr,uint64_t size) argument 560 get_slab_pot_entry_size(struct iris_bufmgr * bufmgr,unsigned size) argument 570 get_slab_entry_alignment(struct iris_bufmgr * bufmgr,unsigned size) argument 591 struct iris_bufmgr *bufmgr = priv; local in function:iris_slab_free 631 struct iris_bufmgr *bufmgr = priv; local in function:iris_slab_alloc 733 alloc_bo_from_slabs(struct iris_bufmgr * bufmgr,const char * name,uint64_t size,uint32_t alignment,unsigned flags,bool local) argument 824 alloc_bo_from_cache(struct iris_bufmgr * bufmgr,struct bo_cache_bucket * bucket,uint32_t alignment,enum iris_memory_zone memzone,enum iris_mmap_mode mmap_mode,unsigned flags,bool match_zone) argument 912 alloc_fresh_bo(struct iris_bufmgr * bufmgr,uint64_t bo_size,bool local) argument 991 iris_bo_alloc(struct iris_bufmgr * bufmgr,const char * name,uint64_t size,uint32_t alignment,enum iris_memory_zone memzone,unsigned flags) argument 1098 iris_bo_create_userptr(struct iris_bufmgr * bufmgr,const char * name,void * ptr,size_t size,enum iris_memory_zone memzone) argument 1165 iris_bo_gem_create_from_name(struct iris_bufmgr * bufmgr,const char * name,unsigned int handle) argument 1227 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:bo_close 1284 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:bo_free 1303 cleanup_bo_cache(struct iris_bufmgr * bufmgr,time_t time) argument 1353 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:bo_unreference_final 1383 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_unreference 1443 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_gem_mmap_legacy 1470 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_gem_mmap_offset 1531 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_map 1588 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_wait_gem 1647 iris_bufmgr_destroy(struct iris_bufmgr * bufmgr) argument 1706 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_gem_get_tiling 1729 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_gem_set_tiling 1760 iris_bo_import_dmabuf(struct iris_bufmgr * bufmgr,int prime_fd) argument 1848 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_mark_exported 1866 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_export_dmabuf 1894 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_flink 1929 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_export_gem_handle_for_device 1985 add_bucket(struct iris_bufmgr * bufmgr,int size,bool local) argument 2009 init_cache_buckets(struct iris_bufmgr * bufmgr,bool local) argument 2036 iris_create_hw_context(struct iris_bufmgr * bufmgr) argument 2071 iris_hw_context_get_priority(struct iris_bufmgr * bufmgr,uint32_t ctx_id) argument 2082 iris_hw_context_set_priority(struct iris_bufmgr * bufmgr,uint32_t ctx_id,int priority) argument 2101 iris_clone_hw_context(struct iris_bufmgr * bufmgr,uint32_t ctx_id) argument 2114 iris_destroy_hw_context(struct iris_bufmgr * bufmgr,uint32_t ctx_id) argument 2126 iris_reg_read(struct iris_bufmgr * bufmgr,uint32_t offset,uint64_t * result) argument 2157 struct iris_bufmgr *bufmgr = (struct iris_bufmgr *)driver_ctx; local in function:intel_aux_map_buffer_alloc 2209 iris_bufmgr_query_meminfo(struct iris_bufmgr * bufmgr) argument 2250 struct iris_bufmgr *bufmgr = calloc(1, sizeof(*bufmgr)); local in function:iris_bufmgr_create 2356 iris_bufmgr_ref(struct iris_bufmgr * bufmgr) argument 2363 iris_bufmgr_unref(struct iris_bufmgr * bufmgr) argument 2375 iris_bufmgr_create_screen_id(struct iris_bufmgr * bufmgr) argument 2393 struct iris_bufmgr *bufmgr = NULL; local in function:iris_bufmgr_get_for_fd 2419 iris_bufmgr_get_fd(struct iris_bufmgr * bufmgr) argument 2425 iris_bufmgr_get_aux_map_context(struct iris_bufmgr * bufmgr) argument 2431 iris_bufmgr_get_bo_deps_lock(struct iris_bufmgr * bufmgr) argument [all...] |
| H A D | iris_fence.h | 41 struct iris_syncobj *iris_create_syncobj(struct iris_bufmgr *bufmgr); 48 bool iris_wait_syncobj(struct iris_bufmgr *bufmgr, 53 iris_syncobj_reference(struct iris_bufmgr *bufmgr, argument 59 iris_syncobj_destroy(bufmgr, *dst);
|
| H A D | iris_bufmgr.h | 157 struct iris_bufmgr *bufmgr; member in struct:iris_bo 282 struct iris_bo *iris_bo_alloc(struct iris_bufmgr *bufmgr, 290 iris_bo_create_userptr(struct iris_bufmgr *bufmgr, const char *name, 347 void iris_bufmgr_unref(struct iris_bufmgr *bufmgr); 441 int iris_bufmgr_get_fd(struct iris_bufmgr *bufmgr); 443 struct iris_bo *iris_bo_gem_create_from_name(struct iris_bufmgr *bufmgr, 447 void* iris_bufmgr_get_aux_map_context(struct iris_bufmgr *bufmgr); 451 uint32_t iris_create_hw_context(struct iris_bufmgr *bufmgr); 452 uint32_t iris_clone_hw_context(struct iris_bufmgr *bufmgr, uint32_t ctx_id); 458 int iris_hw_context_set_priority(struct iris_bufmgr *bufmgr, [all...] |
| H A D | iris_border_color.c | 67 struct iris_bufmgr *bufmgr) 73 pool->bo = iris_bo_alloc(bufmgr, "border colors", 86 struct iris_bufmgr *bufmgr = screen->bufmgr; local in function:iris_init_border_color_pool 93 iris_reset_border_color_pool(pool, bufmgr); 122 iris_reset_border_color_pool(pool, pool->bo->bufmgr); 66 iris_reset_border_color_pool(struct iris_border_color_pool * pool,struct iris_bufmgr * bufmgr) argument
|
| H A D | iris_batch.c | 193 batch->hw_ctx_id = iris_create_hw_context(screen->bufmgr); 196 iris_hw_context_set_priority(screen->bufmgr, batch->hw_ctx_id, priority); 376 struct iris_bufmgr *bufmgr = screen->bufmgr; local in function:create_batch 379 batch->bo = iris_bo_alloc(bufmgr, "command buffer", 412 struct iris_bufmgr *bufmgr = screen->bufmgr; local in function:iris_batch_reset 427 struct iris_syncobj *syncobj = iris_create_syncobj(bufmgr); 429 iris_syncobj_reference(bufmgr, &syncobj, NULL); 447 struct iris_bufmgr *bufmgr local in function:iris_batch_free 595 struct iris_bufmgr *bufmgr = screen->bufmgr; local in function:replace_hw_ctx 649 struct iris_bufmgr *bufmgr = batch->screen->bufmgr; local in function:move_syncobj_to_batch 672 struct iris_bufmgr *bufmgr = screen->bufmgr; local in function:update_bo_syncobjs 751 struct iris_bufmgr *bufmgr = batch->screen->bufmgr; local in function:update_batch_syncobjs [all...] |
| H A D | iris_fence.c | 66 iris_create_syncobj(struct iris_bufmgr *bufmgr) argument 68 int fd = iris_bufmgr_get_fd(bufmgr); 83 iris_syncobj_destroy(struct iris_bufmgr *bufmgr, struct iris_syncobj *syncobj) argument 85 int fd = iris_bufmgr_get_fd(bufmgr); 91 iris_syncobj_signal(struct iris_bufmgr *bufmgr, struct iris_syncobj *syncobj) argument 93 int fd = iris_bufmgr_get_fd(bufmgr); 127 iris_syncobj_reference(batch->screen->bufmgr, store, syncobj); 142 struct iris_bufmgr *bufmgr = screen->bufmgr; local in function:clear_stale_syncobjs 158 if (iris_wait_syncobj(bufmgr, *syncob 215 iris_wait_syncobj(struct iris_bufmgr * bufmgr,struct iris_syncobj * syncobj,int64_t timeout_nsec) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| H A D | crocus_bufmgr.c | 138 * List into the list of bufmgr. 221 bucket_for_size(struct crocus_bufmgr *bufmgr, uint64_t size) argument 251 return (index < bufmgr->num_buckets) ? 252 &bufmgr->cache_bucket[index] : NULL; 259 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:crocus_bo_busy 262 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); 279 intel_ioctl(bo->bufmgr->fd, DRM_IOCTL_I915_GEM_MADVISE, &madv); 297 alloc_bo_from_cache(struct crocus_bufmgr *bufmgr, argument 347 alloc_fresh_bo(struct crocus_bufmgr *bufmgr, uint64_ argument 390 bo_alloc_internal(struct crocus_bufmgr * bufmgr,const char * name,uint64_t size,uint32_t alignment,unsigned flags,uint32_t tiling_mode,uint32_t stride) argument 455 crocus_bo_alloc(struct crocus_bufmgr * bufmgr,const char * name,uint64_t size) argument 464 crocus_bo_alloc_tiled(struct crocus_bufmgr * bufmgr,const char * name,uint64_t size,uint32_t alignment,uint32_t tiling_mode,uint32_t pitch,unsigned flags) argument 473 crocus_bo_create_userptr(struct crocus_bufmgr * bufmgr,const char * name,void * ptr,size_t size) argument 527 crocus_bo_gem_create_from_name(struct crocus_bufmgr * bufmgr,const char * name,unsigned int handle) argument 601 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:bo_close 639 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:bo_free 666 cleanup_bo_cache(struct crocus_bufmgr * bufmgr,time_t time) argument 703 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:bo_unreference_final 725 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:__crocus_bo_unreference 781 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:crocus_bo_gem_mmap_legacy 804 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:crocus_bo_gem_mmap_offset 834 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:crocus_bo_gem_mmap 957 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:crocus_bo_map_gtt 1119 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:crocus_bo_wait 1139 crocus_bufmgr_destroy(struct crocus_bufmgr * bufmgr) argument 1172 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:bo_set_tiling_internal 1211 crocus_bo_import_dmabuf(struct crocus_bufmgr * bufmgr,int prime_fd,uint64_t modifier) argument 1283 crocus_bo_import_dmabuf_no_mods(struct crocus_bufmgr * bufmgr,int prime_fd) argument 1348 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:crocus_bo_make_external 1363 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:crocus_bo_export_dmabuf 1385 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:crocus_bo_flink 1414 struct crocus_bufmgr *bufmgr = bo->bufmgr; local in function:crocus_bo_export_gem_handle_for_device 1470 add_bucket(struct crocus_bufmgr * bufmgr,int size) argument 1486 init_cache_buckets(struct crocus_bufmgr * bufmgr) argument 1513 crocus_create_hw_context(struct crocus_bufmgr * bufmgr) argument 1548 crocus_hw_context_get_priority(struct crocus_bufmgr * bufmgr,uint32_t ctx_id) argument 1559 crocus_hw_context_set_priority(struct crocus_bufmgr * bufmgr,uint32_t ctx_id,int priority) argument 1578 crocus_clone_hw_context(struct crocus_bufmgr * bufmgr,uint32_t ctx_id) argument 1591 crocus_destroy_hw_context(struct crocus_bufmgr * bufmgr,uint32_t ctx_id) argument 1603 crocus_reg_read(struct crocus_bufmgr * bufmgr,uint32_t offset,uint64_t * result) argument 1633 struct crocus_bufmgr *bufmgr = calloc(1, sizeof(*bufmgr)); local in function:crocus_bufmgr_create 1670 crocus_bufmgr_ref(struct crocus_bufmgr * bufmgr) argument 1677 crocus_bufmgr_unref(struct crocus_bufmgr * bufmgr) argument 1700 struct crocus_bufmgr *bufmgr = NULL; local in function:crocus_bufmgr_get_for_fd 1726 crocus_bufmgr_get_fd(struct crocus_bufmgr * bufmgr) argument [all...] |
| H A D | crocus_bufmgr.h | 53 struct crocus_bufmgr *bufmgr; member in struct:crocus_bo 158 struct crocus_bo *crocus_bo_alloc(struct crocus_bufmgr *bufmgr, 172 struct crocus_bo *crocus_bo_alloc_tiled(struct crocus_bufmgr *bufmgr, 178 struct crocus_bo *crocus_bo_create_userptr(struct crocus_bufmgr *bufmgr, 256 void crocus_bufmgr_unref(struct crocus_bufmgr *bufmgr); 308 int crocus_bufmgr_get_fd(struct crocus_bufmgr *bufmgr); 310 struct crocus_bo *crocus_bo_gem_create_from_name(struct crocus_bufmgr *bufmgr, 316 uint32_t crocus_create_hw_context(struct crocus_bufmgr *bufmgr); 317 uint32_t crocus_clone_hw_context(struct crocus_bufmgr *bufmgr, uint32_t ctx_id); 323 int crocus_hw_context_set_priority(struct crocus_bufmgr *bufmgr, [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_bufmgr.c | 168 static uint64_t vma_alloc(struct brw_bufmgr *bufmgr, 192 bo_tile_size(struct brw_bufmgr *bufmgr, uint64_t size, uint32_t tiling) argument 207 bo_tile_pitch(struct brw_bufmgr *bufmgr, uint32_t pitch, uint32_t tiling) argument 232 bucket_for_size(struct brw_bufmgr *bufmgr, uint64_t size) argument 262 return (index < bufmgr->num_buckets) ? 263 &bufmgr->cache_bucket[index] : NULL; 278 bucket_vma_alloc(struct brw_bufmgr *bufmgr, argument 302 uint64_t addr = vma_alloc(bufmgr, memzone, node_size, node_size); 374 get_bucket_allocator(struct brw_bufmgr *bufmgr, uint64_t size) argument 382 struct bo_cache_bucket *bucket = bucket_for_size(bufmgr, siz 397 vma_alloc(struct brw_bufmgr * bufmgr,enum brw_memory_zone memzone,uint64_t size,uint64_t alignment) argument 427 vma_free(struct brw_bufmgr * bufmgr,uint64_t address,uint64_t size) argument 452 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_busy 479 brw_bo_cache_purge_bucket(struct brw_bufmgr * bufmgr,struct bo_cache_bucket * bucket) argument 492 bo_alloc_internal(struct brw_bufmgr * bufmgr,const char * name,uint64_t size,enum brw_memory_zone memzone,unsigned flags,uint32_t tiling_mode,uint32_t stride) argument 668 brw_bo_alloc(struct brw_bufmgr * bufmgr,const char * name,uint64_t size,enum brw_memory_zone memzone) argument 677 brw_bo_alloc_tiled(struct brw_bufmgr * bufmgr,const char * name,uint64_t size,enum brw_memory_zone memzone,uint32_t tiling_mode,uint32_t pitch,unsigned flags) argument 687 brw_bo_alloc_tiled_2d(struct brw_bufmgr * bufmgr,const char * name,int x,int y,int cpp,enum brw_memory_zone memzone,uint32_t tiling,uint32_t * pitch,unsigned flags) argument 735 brw_bo_gem_create_from_name(struct brw_bufmgr * bufmgr,const char * name,unsigned int handle) argument 816 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:bo_free 859 cleanup_bo_cache(struct brw_bufmgr * bufmgr,time_t time) argument 885 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:bo_unreference_final 913 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_unreference 968 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_map_cpu 1033 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_map_wc 1098 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_map_gtt 1217 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_subdata 1277 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_wait 1297 brw_bufmgr_destroy(struct brw_bufmgr * bufmgr) argument 1334 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:bo_set_tiling_internal 1373 brw_bo_gem_create_from_prime_internal(struct brw_bufmgr * bufmgr,int prime_fd,int tiling_mode,uint32_t stride) argument 1452 brw_bo_gem_create_from_prime(struct brw_bufmgr * bufmgr,int prime_fd) argument 1458 brw_bo_gem_create_from_prime_tiled(struct brw_bufmgr * bufmgr,int prime_fd,uint32_t tiling_mode,uint32_t stride) argument 1472 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_make_external 1487 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_gem_export_to_prime 1511 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_flink 1542 brw_bufmgr_enable_reuse(struct brw_bufmgr * bufmgr) argument 1548 add_bucket(struct brw_bufmgr * bufmgr,int size) argument 1568 init_cache_buckets(struct brw_bufmgr * bufmgr) argument 1595 brw_create_hw_context(struct brw_bufmgr * bufmgr) argument 1608 brw_hw_context_set_priority(struct brw_bufmgr * bufmgr,uint32_t ctx_id,int priority) argument 1627 brw_destroy_hw_context(struct brw_bufmgr * bufmgr,uint32_t ctx_id) argument 1639 brw_reg_read(struct brw_bufmgr * bufmgr,uint32_t offset,uint64_t * result) argument 1677 brw_using_softpin(struct brw_bufmgr * bufmgr) argument 1691 struct brw_bufmgr *bufmgr; local in function:brw_bufmgr_init [all...] |
| H A D | brw_bufmgr.h | 31 * Public definitions of Intel-specific bufmgr functions. 98 struct brw_bufmgr *bufmgr; member in struct:brw_bo 208 struct brw_bo *brw_bo_alloc(struct brw_bufmgr *bufmgr, const char *name, 222 struct brw_bo *brw_bo_alloc_tiled(struct brw_bufmgr *bufmgr, 245 struct brw_bo *brw_bo_alloc_tiled_2d(struct brw_bufmgr *bufmgr, 305 void brw_bufmgr_destroy(struct brw_bufmgr *bufmgr); 347 struct brw_bo *brw_bo_gem_create_from_name(struct brw_bufmgr *bufmgr, 350 void brw_bufmgr_enable_reuse(struct brw_bufmgr *bufmgr); 354 uint32_t brw_create_hw_context(struct brw_bufmgr *bufmgr); 356 int brw_hw_context_set_priority(struct brw_bufmgr *bufmgr, [all...] |
| H A D | intel_upload.c | 88 upload->bo = brw_bo_alloc(upload->bufmgr, "streamed data", 127 struct brw_bufmgr *bufmgr, 130 upload->bufmgr = bufmgr; 126 brw_upload_init(struct brw_uploader * upload,struct brw_bufmgr * bufmgr,unsigned default_size) argument
|
| H A D | intel_buffer_objects.h | 117 struct brw_bufmgr *bufmgr,
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/ |
| H A D | iris_bufmgr.c | 167 static uint64_t vma_alloc(struct iris_bufmgr *bufmgr, 196 bucket_for_size(struct iris_bufmgr *bufmgr, uint64_t size) argument 226 return (index < bufmgr->num_buckets) ? 227 &bufmgr->cache_bucket[index] : NULL; 264 vma_alloc(struct iris_bufmgr *bufmgr, argument 280 util_vma_heap_alloc(&bufmgr->vma_allocator[memzone], size, alignment); 289 vma_free(struct iris_bufmgr *bufmgr, argument 308 util_vma_heap_free(&bufmgr->vma_allocator[memzone], address, size); 314 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_busy 341 iris_bo_cache_purge_bucket(struct iris_bufmgr * bufmgr,struct bo_cache_bucket * bucket) argument 364 bo_alloc_internal(struct iris_bufmgr * bufmgr,const char * name,uint64_t size,enum iris_memory_zone memzone,unsigned flags,uint32_t tiling_mode,uint32_t stride) argument 537 iris_bo_alloc(struct iris_bufmgr * bufmgr,const char * name,uint64_t size,enum iris_memory_zone memzone) argument 547 iris_bo_alloc_tiled(struct iris_bufmgr * bufmgr,const char * name,uint64_t size,enum iris_memory_zone memzone,uint32_t tiling_mode,uint32_t pitch,unsigned flags) argument 556 iris_bo_create_userptr(struct iris_bufmgr * bufmgr,const char * name,void * ptr,size_t size,enum iris_memory_zone memzone) argument 614 iris_bo_gem_create_from_name(struct iris_bufmgr * bufmgr,const char * name,unsigned int handle) argument 693 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:bo_free 735 cleanup_bo_cache(struct iris_bufmgr * bufmgr,time_t time) argument 761 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:bo_unreference_final 789 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_unreference 846 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_map_cpu 912 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_map_wc 975 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_map_gtt 1132 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_wait 1152 iris_bufmgr_destroy(struct iris_bufmgr * bufmgr) argument 1182 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:bo_set_tiling_internal 1221 iris_bo_import_dmabuf(struct iris_bufmgr * bufmgr,int prime_fd) argument 1302 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_make_external 1315 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_export_dmabuf 1339 struct iris_bufmgr *bufmgr = bo->bufmgr; local in function:iris_bo_flink 1363 add_bucket(struct iris_bufmgr * bufmgr,int size) argument 1379 init_cache_buckets(struct iris_bufmgr * bufmgr) argument 1406 iris_create_hw_context(struct iris_bufmgr * bufmgr) argument 1419 iris_hw_context_set_priority(struct iris_bufmgr * bufmgr,uint32_t ctx_id,int priority) argument 1438 iris_destroy_hw_context(struct iris_bufmgr * bufmgr,uint32_t ctx_id) argument 1450 iris_reg_read(struct iris_bufmgr * bufmgr,uint32_t offset,uint64_t * result) argument 1487 struct iris_bufmgr *bufmgr = calloc(1, sizeof(*bufmgr)); local in function:iris_bufmgr_init [all...] |
| H A D | iris_bufmgr.h | 101 struct iris_bufmgr *bufmgr; member in struct:iris_bo 203 struct iris_bo *iris_bo_alloc(struct iris_bufmgr *bufmgr, 219 struct iris_bo *iris_bo_alloc_tiled(struct iris_bufmgr *bufmgr, 228 iris_bo_create_userptr(struct iris_bufmgr *bufmgr, const char *name, 284 void iris_bufmgr_destroy(struct iris_bufmgr *bufmgr); 326 struct iris_bo *iris_bo_gem_create_from_name(struct iris_bufmgr *bufmgr, 329 void iris_bufmgr_enable_reuse(struct iris_bufmgr *bufmgr); 333 uint32_t iris_create_hw_context(struct iris_bufmgr *bufmgr); 339 int iris_hw_context_set_priority(struct iris_bufmgr *bufmgr, 342 void iris_destroy_hw_context(struct iris_bufmgr *bufmgr, uint32_ [all...] |
| H A D | iris_border_color.c | 67 struct iris_bufmgr *bufmgr) 73 pool->bo = iris_bo_alloc(bufmgr, "border colors", 86 struct iris_bufmgr *bufmgr = screen->bufmgr; local in function:iris_init_border_color_pool 93 iris_reset_border_color_pool(pool, bufmgr); 122 iris_reset_border_color_pool(pool, pool->bo->bufmgr); 66 iris_reset_border_color_pool(struct iris_border_color_pool * pool,struct iris_bufmgr * bufmgr) argument
|
| H A D | iris_screen.h | 73 struct iris_bufmgr *bufmgr; member in struct:iris_screen
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_bufmgr.c | 203 static uint64_t vma_alloc(struct brw_bufmgr *bufmgr, 215 bo_tile_size(struct brw_bufmgr *bufmgr, uint64_t size, uint32_t tiling) argument 230 bo_tile_pitch(struct brw_bufmgr *bufmgr, uint32_t pitch, uint32_t tiling) argument 255 bucket_for_size(struct brw_bufmgr *bufmgr, uint64_t size) argument 285 return (index < bufmgr->num_buckets) ? 286 &bufmgr->cache_bucket[index] : NULL; 301 bucket_vma_alloc(struct brw_bufmgr *bufmgr, argument 325 uint64_t addr = vma_alloc(bufmgr, memzone, node_size, node_size); 397 get_bucket_allocator(struct brw_bufmgr *bufmgr, uint64_t size) argument 405 struct bo_cache_bucket *bucket = bucket_for_size(bufmgr, siz 420 vma_alloc(struct brw_bufmgr * bufmgr,enum brw_memory_zone memzone,uint64_t size,uint64_t alignment) argument 450 vma_free(struct brw_bufmgr * bufmgr,uint64_t address,uint64_t size) argument 475 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_busy 502 brw_bo_cache_purge_bucket(struct brw_bufmgr * bufmgr,struct bo_cache_bucket * bucket) argument 527 bo_alloc_internal(struct brw_bufmgr * bufmgr,const char * name,uint64_t size,enum brw_memory_zone memzone,unsigned flags,uint32_t tiling_mode,uint32_t stride) argument 704 brw_bo_alloc(struct brw_bufmgr * bufmgr,const char * name,uint64_t size,enum brw_memory_zone memzone) argument 713 brw_bo_alloc_tiled(struct brw_bufmgr * bufmgr,const char * name,uint64_t size,enum brw_memory_zone memzone,uint32_t tiling_mode,uint32_t pitch,unsigned flags) argument 723 brw_bo_alloc_tiled_2d(struct brw_bufmgr * bufmgr,const char * name,int x,int y,int cpp,enum brw_memory_zone memzone,uint32_t tiling,uint32_t * pitch,unsigned flags) argument 771 brw_bo_gem_create_from_name(struct brw_bufmgr * bufmgr,const char * name,unsigned int handle) argument 852 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:bo_free 897 cleanup_bo_cache(struct brw_bufmgr * bufmgr,time_t time) argument 923 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:bo_unreference_final 959 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_unreference 1014 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_gem_mmap_legacy 1036 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_gem_mmap_offset 1066 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_gem_mmap 1130 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_map_wc 1182 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_map_gtt 1301 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_subdata 1361 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_wait 1381 brw_bufmgr_unref(struct brw_bufmgr * bufmgr) argument 1432 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:bo_set_tiling_internal 1471 brw_bo_gem_create_from_prime_internal(struct brw_bufmgr * bufmgr,int prime_fd,int tiling_mode,uint32_t stride) argument 1550 brw_bo_gem_create_from_prime(struct brw_bufmgr * bufmgr,int prime_fd) argument 1556 brw_bo_gem_create_from_prime_tiled(struct brw_bufmgr * bufmgr,int prime_fd,uint32_t tiling_mode,uint32_t stride) argument 1570 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_make_external 1585 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_gem_export_to_prime 1609 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_flink 1636 struct brw_bufmgr *bufmgr = bo->bufmgr; local in function:brw_bo_export_gem_handle_for_device 1697 add_bucket(struct brw_bufmgr * bufmgr,int size) argument 1717 init_cache_buckets(struct brw_bufmgr * bufmgr) argument 1744 brw_create_hw_context(struct brw_bufmgr * bufmgr) argument 1757 brw_hw_context_set_priority(struct brw_bufmgr * bufmgr,uint32_t ctx_id,int priority) argument 1776 brw_destroy_hw_context(struct brw_bufmgr * bufmgr,uint32_t ctx_id) argument 1788 brw_reg_read(struct brw_bufmgr * bufmgr,uint32_t offset,uint64_t * result) argument 1826 brw_using_softpin(struct brw_bufmgr * bufmgr) argument 1832 brw_bufmgr_ref(struct brw_bufmgr * bufmgr) argument 1847 struct brw_bufmgr *bufmgr; local in function:brw_bufmgr_create 1938 struct brw_bufmgr *bufmgr = NULL; local in function:brw_bufmgr_get_for_fd 1964 brw_bufmgr_get_fd(struct brw_bufmgr * bufmgr) argument [all...] |
| H A D | brw_bufmgr.h | 31 * Public definitions of Intel-specific bufmgr functions. 99 struct brw_bufmgr *bufmgr; member in struct:brw_bo 186 * Hold bufmgr->lock when using this list. 216 struct brw_bo *brw_bo_alloc(struct brw_bufmgr *bufmgr, const char *name, 230 struct brw_bo *brw_bo_alloc_tiled(struct brw_bufmgr *bufmgr, 253 struct brw_bo *brw_bo_alloc_tiled_2d(struct brw_bufmgr *bufmgr, 313 void brw_bufmgr_unref(struct brw_bufmgr *bufmgr); 356 struct brw_bo *brw_bo_gem_create_from_name(struct brw_bufmgr *bufmgr, 362 uint32_t brw_create_hw_context(struct brw_bufmgr *bufmgr); 364 int brw_hw_context_set_priority(struct brw_bufmgr *bufmgr, [all...] |
| H A D | brw_upload.c | 87 upload->bo = brw_bo_alloc(upload->bufmgr, "streamed data", 126 struct brw_bufmgr *bufmgr, 129 upload->bufmgr = bufmgr; 125 brw_upload_init(struct brw_uploader * upload,struct brw_bufmgr * bufmgr,unsigned default_size) argument
|
| /xsrc/external/mit/xf86-video-intel-old/dist/src/ |
| H A D | i830_batchbuffer.c | 84 /* Match DRM in not using half the range. The fake bufmgr relies on this. */ 111 pI830->batch_bo = dri_bo_alloc(pI830->bufmgr, "batch", 4096, 4096); 113 pI830->batch_bo = dri_bo_alloc(pI830->bufmgr, "batch", 4096 * 4, 4096); 140 intel_bufmgr_fake_set_exec_callback(pI830->bufmgr, 144 intel_bufmgr_fake_set_exec_callback(pI830->bufmgr, 148 intel_bufmgr_fake_set_fence_callback(pI830->bufmgr,
|