Searched refs:heap_count (Results 1 – 13 of 13) sorted by relevance
8 int heap_count = 0; in ion_get_heap_id() local11 if (ion_query_heap_cnt(ion_fd, &heap_count)) in ion_get_heap_id()17 malloc(heap_count * sizeof(struct ion_heap_data)); in ion_get_heap_id()19 if (ion_query_get_heaps(ion_fd, heap_count, heap_data)) in ion_get_heap_id()26 (hi - heap_data) < heap_count; in ion_get_heap_id()
223 uint32_t heap_count; in pvr_srv_memctx_init() local235 result = pvr_srv_get_heap_count(srv_ws->base.render_fd, &heap_count); in pvr_srv_memctx_init()239 assert(heap_count > 0); in pvr_srv_memctx_init()241 for (uint32_t i = 0; i < heap_count; i++) { in pvr_srv_memctx_init()
302 uint32_t heap_count; member
368 *heap_count_out = ret.heap_count; in pvr_srv_get_heap_count()
929 for (uint32_t i = 0; i < pdevice->memory.heap_count; i++) { in anx_get_physical_device_max_heap_size()990 for (uint32_t i = 0; i < pdevice->memory.heap_count; i++) { in get_properties_1_1()1978 device->memory.heap_count = 2; in anv_physical_device_init_heaps()1997 device->memory.heap_count++; in anv_physical_device_init_heaps()2005 device->memory.heap_count = 1; in anv_physical_device_init_heaps()2846 pMemoryProperties->memoryHeapCount = physical_device->memory.heap_count; in anv_GetPhysicalDeviceMemoryProperties()2847 for (uint32_t i = 0; i < physical_device->memory.heap_count; i++) { in anv_GetPhysicalDeviceMemoryProperties()2867 for (size_t i = 0; i < device->memory.heap_count; i++) { in anv_get_memory_budget()2875 for (size_t i = 0; i < device->memory.heap_count; i++) { in anv_get_memory_budget()2922 for (uint32_t i = device->memory.heap_count; i < VK_MAX_MEMORY_HEAPS; i++) { in anv_get_memory_budget()
1407 assert(mem_type->heapIndex < pdevice->memory.heap_count); in anv_AllocateMemory()
1129 uint32_t heap_count; member
99 for (unsigned i = 0; i < screen->heap_count[heap]; i++) { in zink_mem_type_idx_from_types()
517 for (unsigned j = 0; j < screen->heap_count[i]; j++) { in get_smallest_buffer_heap()3331 screen->heap_map[i][screen->heap_count[i]++] = j; in zink_internal_create_screen()3343 …eap_map[i], screen->heap_map[ZINK_HEAP_HOST_VISIBLE_COHERENT], screen->heap_count[ZINK_HEAP_HOST_V… in zink_internal_create_screen()3344 screen->heap_count[i] = screen->heap_count[ZINK_HEAP_HOST_VISIBLE_COHERENT]; in zink_internal_create_screen()3346 …screen->heap_map[i], screen->heap_map[ZINK_HEAP_DEVICE_LOCAL], screen->heap_count[ZINK_HEAP_DEVICE… in zink_internal_create_screen()3347 screen->heap_count[i] = screen->heap_count[ZINK_HEAP_DEVICE_LOCAL]; in zink_internal_create_screen()3353 for (unsigned i = 0; i < screen->heap_count[ZINK_HEAP_DEVICE_LOCAL_VISIBLE]; i++) in zink_internal_create_screen()3356 for (unsigned i = 0; i < screen->heap_count[ZINK_HEAP_DEVICE_LOCAL]; i++) in zink_internal_create_screen()
1455 uint8_t heap_count[ZINK_HEAP_MAX]; // number of memory types per zink heap member
1053 for (unsigned i = 0; !obj->bo && i < screen->heap_count[heap]; i++) { in allocate_bo()
1319 device->memory.heap_count = 1; in anv_physical_device_init_heaps()1346 device->memory.heap_count = 1; in anv_physical_device_init_heaps()2098 pMemoryProperties->memoryHeapCount = physical_device->memory.heap_count; in anv_GetPhysicalDeviceMemoryProperties()2099 for (uint32_t i = 0; i < physical_device->memory.heap_count; i++) { in anv_GetPhysicalDeviceMemoryProperties()2119 for (size_t i = 0; i < device->memory.heap_count; i++) in anv_get_memory_budget()2122 for (size_t i = 0; i < device->memory.heap_count; i++) { in anv_get_memory_budget()2160 for (uint32_t i = device->memory.heap_count; i < VK_MAX_MEMORY_HEAPS; i++) { in anv_get_memory_budget()2990 assert(mem_type->heapIndex < pdevice->memory.heap_count); in anv_AllocateMemory()
895 uint32_t heap_count; member