Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/imagination/
H A Dpvr_vm.c1037 if (!query.heaps.array) { in pvr_heap_info_get()
1038 query.heaps.count = ARRAY_SIZE(pvr_heaps); in pvr_heap_info_get()
1039 query.heaps.stride = sizeof(struct drm_pvr_heap); in pvr_heap_info_get()
1043 if (query.heaps.count > ARRAY_SIZE(pvr_heaps)) in pvr_heap_info_get()
1044 query.heaps.count = ARRAY_SIZE(pvr_heaps); in pvr_heap_info_get()
1047 dest = query.heaps.array; in pvr_heap_info_get()
1048 for (size_t i = 0; i < query.heaps.count; i++) { in pvr_heap_info_get()
1054 err = PVR_UOBJ_SET(dest, query.heaps.stride, heap); in pvr_heap_info_get()
1058 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-6.15/Documentation/userspace-api/
H A Ddma-buf-heaps.rst4 Allocating dma-buf using heaps
15 following heaps:
H A Dindex.rst47 dma-buf-heaps
H A Ddma-buf-alloc-exchange.rst248 ``dma-heaps`` API is an effort to address this.
/linux-6.15/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c348 } heaps; member
1539 mutex_lock(&vm->heaps.lock); in panthor_vm_destroy()
1541 vm->heaps.pool = NULL; in panthor_vm_destroy()
1542 mutex_unlock(&vm->heaps.lock); in panthor_vm_destroy()
1846 mutex_lock(&vm->heaps.lock); in panthor_vm_free()
1849 mutex_unlock(&vm->heaps.lock); in panthor_vm_free()
1850 mutex_destroy(&vm->heaps.lock); in panthor_vm_free()
1928 mutex_lock(&vm->heaps.lock); in panthor_vm_get_heap_pool()
1929 if (!vm->heaps.pool && create) { in panthor_vm_get_heap_pool()
1942 mutex_unlock(&vm->heaps.lock); in panthor_vm_get_heap_pool()
[all …]
H A Dpanthor_sched.c1436 struct panthor_heap_pool *heaps = NULL; in group_process_tiler_oom() local
1447 heaps = panthor_vm_get_heap_pool(group->vm, false); in group_process_tiler_oom()
1463 if (IS_ERR(heaps) || frag_end > vt_end || vt_end >= vt_start) { in group_process_tiler_oom()
1469 ret = panthor_heap_grow(heaps, heap_address, in group_process_tiler_oom()
1508 panthor_heap_return_chunk(heaps, heap_address, new_chunk_va); in group_process_tiler_oom()
1513 panthor_heap_pool_put(heaps); in group_process_tiler_oom()
/linux-6.15/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-6.15/drivers/dma-buf/
H A DMakefile5 obj-$(CONFIG_DMABUF_HEAPS) += heaps/
H A DKconfig74 Choose this option to enable the DMA-BUF userland memory heaps.
94 source "drivers/dma-buf/heaps/Kconfig"
/linux-6.15/include/uapi/drm/
H A Dpvr_drm.h326 struct drm_pvr_obj_array heaps; member
/linux-6.15/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-6.15/tools/testing/selftests/
H A DMakefile19 TARGETS += dmabuf-heaps
/linux-6.15/
H A DMAINTAINERS7047 F: Documentation/userspace-api/dma-buf-heaps.rst
7049 F: drivers/dma-buf/heaps/*
7052 F: tools/testing/selftests/dmabuf-heaps/