Home
last modified time | relevance | path

Searched refs:heaps (Results 1 – 12 of 12) sorted by relevance

/linux/Documentation/userspace-api/
H A Ddma-buf-heaps.rst4 Allocating dma-buf using heaps
15 following heaps:
37 ``dma-buf`` heaps name should meet a number of constraints:
40 Userspace identifies heaps by their name, so if the names ever change, we
46 wants to use reliably if there's multiple heaps.
H A Ddma-buf-alloc-exchange.rst248 ``dma-heaps`` API is an effort to address this.
/linux/drivers/gpu/drm/imagination/
H A Dpvr_vm.c1043 if (!query.heaps.array) { in pvr_heap_info_get()
1044 query.heaps.count = ARRAY_SIZE(pvr_heaps); in pvr_heap_info_get()
1045 query.heaps.stride = sizeof(struct drm_pvr_heap); in pvr_heap_info_get()
1049 if (query.heaps.count > ARRAY_SIZE(pvr_heaps)) in pvr_heap_info_get()
1050 query.heaps.count = ARRAY_SIZE(pvr_heaps); in pvr_heap_info_get()
1053 dest = query.heaps.array; in pvr_heap_info_get()
1054 for (size_t i = 0; i < query.heaps.count; i++) { in pvr_heap_info_get()
1060 err = PVR_UOBJ_SET(dest, query.heaps.stride, heap); in pvr_heap_info_get()
1064 dest += query.heaps.stride; in pvr_heap_info_get()
H A Dpvr_drv.h68 PVR_UOBJ_DECL(struct drm_pvr_dev_query_heap_info, heaps) \
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c336 } heaps; member
1500 mutex_lock(&vm->heaps.lock); in panthor_vm_destroy()
1501 panthor_heap_pool_destroy(vm->heaps.pool); in panthor_vm_destroy()
1502 vm->heaps.pool = NULL; in panthor_vm_destroy()
1503 mutex_unlock(&vm->heaps.lock); in panthor_vm_destroy()
1876 mutex_lock(&vm->heaps.lock); in panthor_vm_free()
1877 if (drm_WARN_ON(&ptdev->base, vm->heaps.pool)) in panthor_vm_free()
1878 panthor_heap_pool_destroy(vm->heaps.pool); in panthor_vm_free()
1879 mutex_unlock(&vm->heaps.lock); in panthor_vm_free()
1880 mutex_destroy(&vm->heaps.lock); in panthor_vm_free()
[all …]
H A Dpanthor_sched.c1580 struct panthor_heap_pool *heaps = NULL; in group_process_tiler_oom() local
1591 heaps = panthor_vm_get_heap_pool(group->vm, false); in group_process_tiler_oom()
1607 if (IS_ERR(heaps) || frag_end > vt_end || vt_end >= vt_start) { 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()
/linux/tools/testing/selftests/dmabuf-heaps/
H A Ddmabuf-heap.c397 int heaps = 0; in numer_of_heaps() local
404 heaps++; in numer_of_heaps()
407 return heaps; in numer_of_heaps()
/linux/include/uapi/drm/
H A Dpvr_drm.h326 struct drm_pvr_obj_array heaps; member
/linux/Documentation/core-api/
H A Dmin_heap.rst12 The Min Heap API provides a set of functions and macros for managing min-heaps
18 use min-heaps. Users should not directly call functions with **__min_heap_*()**
/linux/tools/testing/selftests/
H A DMakefile19 TARGETS += dmabuf-heaps
/linux/lib/
H A DKconfig.debug2985 which provides functions for creating and managing min heaps.
/linux/
H A DMAINTAINERS7603 F: Documentation/userspace-api/dma-buf-heaps.rst
7605 F: drivers/dma-buf/heaps/*
7608 F: tools/testing/selftests/dmabuf-heaps/