panthor_vm_pool_create_vm(9)
π panthor_vm_pool_create_vm(9) β the Kernel API Manual glow-up β¨
okay bestie, welcome to the Kernel API Manual, section 9, and today's main character is panthor_vm_pool_create_vm π
πΈ NAME πΈ
panthor_vm_pool_create_vm β literally just Create a VM. that's the whole vibe. π¦
β¨ SYNOPSIS β¨
int panthor_vm_pool_create_vm (struct panthor_device *ptdev , struct
panthor_vm_pool *pool , struct drm_panthor_vm_create *args );
like, that's the signature, no cap β copy it exactly, don't be weird about the spacing π«Ά
π ARGUMENTS π
ptdevβ The panthor device π like, the actual hardware bestie we're talking to.poolβ The VM to create this VM on. yes, it says that, yes it's a little meta, we don't make the rules πargsβ VM creation args. the little bundle of wishes you're handing over π
β RETURN β
a positive VM ID on success π₯³ β and a negative error code otherwise π (iykyk, that's just how the kernel says "no").
fr fr check it: success is positive, failure is negative. no zero-shenanigans mentioned, so don't go inventing any π
π SEE ALSO π
this is the friend group, and honestly it's a big one. every single one of them, periodt:
Kernel file ./drivers/gpu/drm/panthor/panthor_mmu.c
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_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_get_heap_pool(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)
and that's the whole page, bestie π§π huge slay, go make some VMs.
source: ./drivers/gpu/drm/panthor Β· dated October 2026 Β· page panthor_vm_pool_create_vm(9) β mwah, catch u on the next man page ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms