Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_vm.c957 if (!query.heaps.array) { in pvr_heap_info_get()
958 query.heaps.count = ARRAY_SIZE(pvr_heaps); in pvr_heap_info_get()
959 query.heaps.stride = sizeof(struct drm_pvr_heap); in pvr_heap_info_get()
963 if (query.heaps.count > ARRAY_SIZE(pvr_heaps)) in pvr_heap_info_get()
964 query.heaps.count = ARRAY_SIZE(pvr_heaps); in pvr_heap_info_get()
967 dest = query.heaps.array; in pvr_heap_info_get()
968 for (size_t i = 0; i < query.heaps.count; i++) { in pvr_heap_info_get()
974 err = PVR_UOBJ_SET(dest, query.heaps.stride, heap); in pvr_heap_info_get()
978 dest += query.heaps.stride; in pvr_heap_info_get()
Dpvr_drv.h69 PVR_UOBJ_DECL(struct drm_pvr_dev_query_heap_info, heaps) \
/linux-6.12.1/drivers/gpu/drm/panthor/
Dpanthor_mmu.c347 } heaps; member
1538 mutex_lock(&vm->heaps.lock); in panthor_vm_destroy()
1539 panthor_heap_pool_destroy(vm->heaps.pool); in panthor_vm_destroy()
1540 vm->heaps.pool = NULL; in panthor_vm_destroy()
1541 mutex_unlock(&vm->heaps.lock); in panthor_vm_destroy()
1843 mutex_lock(&vm->heaps.lock); in panthor_vm_free()
1844 if (drm_WARN_ON(&ptdev->base, vm->heaps.pool)) in panthor_vm_free()
1845 panthor_heap_pool_destroy(vm->heaps.pool); in panthor_vm_free()
1846 mutex_unlock(&vm->heaps.lock); in panthor_vm_free()
1847 mutex_destroy(&vm->heaps.lock); in panthor_vm_free()
[all …]
Dpanthor_sched.c1378 struct panthor_heap_pool *heaps = NULL; in group_process_tiler_oom() local
1389 heaps = panthor_vm_get_heap_pool(group->vm, false); in group_process_tiler_oom()
1405 if (IS_ERR(heaps) || frag_end > vt_end || vt_end >= vt_start) { in group_process_tiler_oom()
1411 ret = panthor_heap_grow(heaps, heap_address, in group_process_tiler_oom()
1450 panthor_heap_return_chunk(heaps, heap_address, new_chunk_va); in group_process_tiler_oom()
1455 panthor_heap_pool_put(heaps); in group_process_tiler_oom()
/linux-6.12.1/tools/testing/selftests/dmabuf-heaps/
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.12.1/drivers/dma-buf/
DMakefile5 obj-$(CONFIG_DMABUF_HEAPS) += heaps/
DKconfig73 Choose this option to enable the DMA-BUF userland memory heaps.
93 source "drivers/dma-buf/heaps/Kconfig"
/linux-6.12.1/include/uapi/drm/
Dpvr_drm.h326 struct drm_pvr_obj_array heaps; member
/linux-6.12.1/tools/testing/selftests/
DMakefile19 TARGETS += dmabuf-heaps
/linux-6.12.1/Documentation/userspace-api/
Ddma-buf-alloc-exchange.rst248 ``dma-heaps`` API is an effort to address this.
/linux-6.12.1/
DMAINTAINERS6766 F: drivers/dma-buf/heaps/*
6769 F: tools/testing/selftests/dmabuf-heaps/