Lines Matching refs:memzone
115 memzone_name(enum iris_memory_zone memzone) in memzone_name() argument
125 assert(memzone < ARRAY_SIZE(names)); in memzone_name()
126 return names[memzone]; in memzone_name()
293 enum iris_memory_zone memzone, in vma_alloc() argument
300 if (memzone == IRIS_MEMZONE_BORDER_COLOR_POOL) in vma_alloc()
304 if (memzone == IRIS_MEMZONE_BINDER) in vma_alloc()
308 util_vma_heap_alloc(&bufmgr->vma_allocator[memzone], size, alignment); in vma_alloc()
330 enum iris_memory_zone memzone = iris_memzone_for_address(address); in vma_free() local
333 if (memzone == IRIS_MEMZONE_BINDER) in vma_free()
336 assert(memzone < ARRAY_SIZE(bufmgr->vma_allocator)); in vma_free()
338 util_vma_heap_free(&bufmgr->vma_allocator[memzone], address, size); in vma_free()
387 enum iris_memory_zone memzone, in alloc_bo_from_cache() argument
398 if (match_zone && memzone != iris_memzone_for_address(cur->gtt_offset)) in alloc_bo_from_cache()
440 if (memzone != iris_memzone_for_address(bo->gtt_offset) || in alloc_bo_from_cache()
509 enum iris_memory_zone memzone, in bo_alloc_internal() argument
529 bo = alloc_bo_from_cache(bufmgr, bucket, alignment, memzone, flags, true); in bo_alloc_internal()
533 bo = alloc_bo_from_cache(bufmgr, bucket, alignment, memzone, flags, in bo_alloc_internal()
547 bo->gtt_offset = vma_alloc(bufmgr, memzone, bo->size, alignment); in bo_alloc_internal()
567 if (memzone < IRIS_MEMZONE_OTHER) in bo_alloc_internal()
582 bo->name, memzone_name(memzone), (unsigned long long) size); in bo_alloc_internal()
595 enum iris_memory_zone memzone) in iris_bo_alloc() argument
597 return bo_alloc_internal(bufmgr, name, size, 1, memzone, in iris_bo_alloc()
604 enum iris_memory_zone memzone, in iris_bo_alloc_tiled() argument
607 return bo_alloc_internal(bufmgr, name, size, alignment, memzone, in iris_bo_alloc_tiled()
614 enum iris_memory_zone memzone) in iris_bo_create_userptr() argument
647 bo->gtt_offset = vma_alloc(bufmgr, memzone, size, 1); in iris_bo_create_userptr()