panthor_vm_get_heap_pool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– panthor_vm_get_heap_pool(9) πŸ’–

okay so bestie, welcome to the panthor_vm_get_heap_pool page from the Kernel API Manual β€” yes it's giving kernel-internals realness and honestly? we're slaying it πŸŽ€


✨ NAME ✨

panthor_vm_get_heap_pool β€” literally just Get the heap pool attached to a VM 🫢


🌸 SYNOPSIS 🌸

struct panthor_heap_pool * panthor_vm_get_heap_pool (struct panthor_vm
*vm , bool create );

that's the whole vibe, no cap πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • vm β€” the VM you're querying the heap pool on ☁️
  • create β€” set this to True if the heap pool should be created when it doesn't exist yet 🫧 like, be proactive bestie

⭐ DESCRIPTION ⭐

okay so here's the tea πŸ”₯ Heap pools are per-VM. This function lets you retrieve the heap pool attached to a VM. that's it, that's the whole job, and it's iconic ✨

If no heap pool exists yet, and create is true, we create one. no drama, we just materialize it πŸ’«

The returned panthor_heap_pool should be released with panthor_heap_pool_put. pls don't forget this part bestie 😭 that's the cleanup, that's the self-care πŸ§–β€β™€οΈ


πŸ‘‘ RETURN πŸ‘‘

A valid pointer on success, an ERR_PTR otherwise. slay when it works, ERR_PTR when it doesn't πŸ’€ that's the whole range of outcomes fr fr


🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/panthor/panthor_mmu.c and like, the whole extended universe of structs and functions, bestie β€” here we go, squad roll call πŸ“£:

struct panthor_as_slot(9), struct panthor_mmu(9), struct panthor_vm_pool(9), struct panthor_vma(9), struct panthor_vm_op_ctx(9), struct panthor_vm(9), struct panthor_vm_bind_job(9), alloc_pt(9), free_pt(9), panthor_vm_has_unhandled_faults(9), panthor_vm_is_unusable(9), panthor_vm_active(9), panthor_vm_idle(9), panthor_vm_as(9), panthor_vm_alloc_va(9), panthor_vm_free_va(9), panthor_vm_get_bo_for_va(9), panthor_vm_pool_create_vm(9), panthor_vm_pool_destroy_vm(9), panthor_vm_pool_get_vm(9), panthor_vm_pool_destroy(9), panthor_vm_pool_create(9), panthor_mmu_suspend(9), panthor_mmu_resume(9), panthor_mmu_pre_reset(9), panthor_mmu_post_reset(9), panthor_vm_put(9), panthor_vm_get(9), panthor_vm_heaps_sizes(9), panthor_vm_resv(9), panthor_vm_bind_job_put(9), panthor_vm_create(9), panthor_vm_bind_job_create(9), panthor_vm_bind_job_prepare_resvs(9), panthor_vm_bind_job_update_resvs(9), panthor_vm_bind_exec_sync_op(9), panthor_vm_map_bo_range(9), panthor_vm_unmap_range(9), panthor_vm_prepare_mapped_bos_resvs(9), panthor_mmu_unplug(9), panthor_mmu_init(9), panthor_mmu_debugfs_init(9), panthor_mmu_pt_cache_init(9), panthor_mmu_pt_cache_fini(9)

like genuinely an entire friend group πŸ«‚πŸ’œ


aaaand that's the page!! mwah πŸ’‹ this came from ./drivers/gpu/drm/panthor, dated October 2026 β€” see u in the next manpage bestie, stay hydrated and put your heaps back when you're done πŸ“πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from