Searched refs:heaps (Results 1 – 12 of 12) sorted by relevance
1046 if (!query.heaps.array) { in pvr_heap_info_get() 1047 query.heaps.count = ARRAY_SIZE(pvr_heaps); in pvr_heap_info_get() 1048 query.heaps.stride = sizeof(struct drm_pvr_heap); in pvr_heap_info_get() 1052 if (query.heaps.count > ARRAY_SIZE(pvr_heaps)) in pvr_heap_info_get() 1053 query.heaps.count = ARRAY_SIZE(pvr_heaps); in pvr_heap_info_get() 1056 dest = query.heaps.array; in pvr_heap_info_get() 1057 for (size_t i = 0; i < query.heaps.count; i++) { in pvr_heap_info_get() 1063 err = PVR_UOBJ_SET(dest, query.heaps.stride, heap); in pvr_heap_info_get() 1067 dest += query.heaps.stride; in pvr_heap_info_get() 1123 /* Filter heaps tha in pvr_find_heap_containing() [all...]
68 PVR_UOBJ_DECL(struct drm_pvr_dev_query_heap_info, heaps) \
64 Choose this option to enable the DMA-BUF userland memory heaps.69 source "drivers/dma-buf/heaps/Kconfig"
349 } heaps; member1634 mutex_lock(&vm->heaps.lock); in panthor_vm_destroy()1635 panthor_heap_pool_destroy(vm->heaps.pool); in panthor_vm_destroy()1636 vm->heaps.pool = NULL; in panthor_vm_destroy()1637 mutex_unlock(&vm->heaps.lock); in panthor_vm_destroy()2043 mutex_lock(&vm->heaps.lock); in panthor_vm_free()2044 if (drm_WARN_ON(&ptdev->base, vm->heaps.pool)) in panthor_vm_free()2045 panthor_heap_pool_destroy(vm->heaps.pool); in panthor_vm_free()2046 mutex_unlock(&vm->heaps.lock); in panthor_vm_free()2047 mutex_destroy(&vm->heaps.lock); in panthor_vm_free()[all …]
1577 struct panthor_heap_pool *heaps = NULL; in group_process_tiler_oom() local 1588 heaps = panthor_vm_get_heap_pool(group->vm, false); in group_process_tiler_oom() 1604 if (IS_ERR(heaps)) { in group_process_tiler_oom() 1606 heaps = NULL; in group_process_tiler_oom() 1613 ret = panthor_heap_grow(heaps, heap_address, in group_process_tiler_oom() 1652 panthor_heap_return_chunk(heaps, heap_address, new_chunk_va); in group_process_tiler_oom() 1657 panthor_heap_pool_put(heaps); in group_process_tiler_oom()
507 int heaps = 0; in numer_of_heaps() local514 heaps++; in numer_of_heaps()517 return heaps; in numer_of_heaps()
326 struct drm_pvr_obj_array heaps; member
12 The Min Heap API provides a set of functions and macros for managing min-heaps18 use min-heaps. Users should not directly call functions with **__min_heap_*()**
21 TARGETS += dmabuf-heaps
248 ``dma-heaps`` API is an effort to address this.
3015 which provides functions for creating and managing min heaps.
7762 F: Documentation/userspace-api/dma-buf-heaps.rst7764 F: drivers/dma-buf/heaps/*7767 F: tools/testing/selftests/dmabuf-heaps/