Searched refs:heaps (Results 1 – 10 of 10) sorted by relevance
1043 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()
68 PVR_UOBJ_DECL(struct drm_pvr_dev_query_heap_info, heaps) \
336 } heaps; member1510 mutex_lock(&vm->heaps.lock); in panthor_vm_destroy()1511 panthor_heap_pool_destroy(vm->heaps.pool); in panthor_vm_destroy()1512 vm->heaps.pool = NULL; in panthor_vm_destroy()1513 mutex_unlock(&vm->heaps.lock); in panthor_vm_destroy()1896 mutex_lock(&vm->heaps.lock); in panthor_vm_free()1897 if (drm_WARN_ON(&ptdev->base, vm->heaps.pool)) in panthor_vm_free()1898 panthor_heap_pool_destroy(vm->heaps.pool); in panthor_vm_free()1899 mutex_unlock(&vm->heaps.lock); in panthor_vm_free()1900 mutex_destroy(&vm->heaps.lock); in panthor_vm_free()[all …]
1580 struct panthor_heap_pool *heaps = NULL; in group_process_tiler_oom() local1591 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()
397 int heaps = 0; in numer_of_heaps() local404 heaps++; in numer_of_heaps()407 return heaps; in numer_of_heaps()
326 struct drm_pvr_obj_array heaps; member
19 TARGETS += dmabuf-heaps
248 ``dma-heaps`` API is an effort to address this.
3014 which provides functions for creating and managing min heaps.
7607 F: Documentation/userspace-api/dma-buf-heaps.rst7609 F: drivers/dma-buf/heaps/*7612 F: tools/testing/selftests/dmabuf-heaps/