panthor_vm_as(9)
π panthor_vm_as β the manual page, but make it make sense
okay so bestie, quick vibe check: this is a Kernel API Manual page for panthor_vm_as(9). Yes, a kernel function with a manual page. She's mainstream like that. π
β¨ NAME β¨
panthor_vm_as β get the AS slot attached to a VM π«Ά
like, the whole entire job of this function is fetching that slot for you. that's it. that's the gig.
πΈ SYNOPSIS πΈ
int panthor_vm_as (struct panthor_vm *vm );
one function, one argument, one return value. lowkey elegant, honestly. π
π¦ ARGUMENTS π¦
vmβ the VM you want the AS slot of. the VM in question. the main character VM, if you will. π
β RETURN β
-1β if the VM hasn't been assigned an AS slot yet. no slot, no vibe, bestie. π>= 0β otherwise! you got a slot, it's giving success, slay. π₯
fr fr:-1is the "not yet" answer and anything>= 0is the "we're so back" answer.
π SEE ALSO π
the lore dump. the extended universe. the group chat. π§
- kernel file:
./drivers/gpu/drm/panthor/panthor_mmu.c - structs:
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) - page-table besties:
alloc_pt(9),free_pt(9) - VM status icons:
panthor_vm_has_unhandled_faults(9),panthor_vm_is_unusable(9),panthor_vm_active(9),panthor_vm_idle(9) - VA girlies:
panthor_vm_alloc_va(9),panthor_vm_free_va(9),panthor_vm_get_bo_for_va(9) - the VM pool cinematic universe:
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) - MMU mood swings:
panthor_mmu_suspend(9),panthor_mmu_resume(9),panthor_mmu_pre_reset(9),panthor_mmu_post_reset(9) - VM refcount core:
panthor_vm_put(9),panthor_vm_get(9),panthor_vm_get_heap_pool(9),panthor_vm_heaps_sizes(9),panthor_vm_resv(9) - bind job era:
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) - mapping szn:
panthor_vm_map_bo_range(9),panthor_vm_unmap_range(9),panthor_vm_prepare_mapped_bos_resvs(9) - MMU lifecycle finale:
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)
iykyk π
and that's the page, bestie π β filed under ./drivers/gpu/drm/panthor, dated October 2026, from the Kernel API Manual, and panthor_vm_as(9) ate, no crumbs. π
β¨
π¦ 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