panthor_vm_is_unusable(9)
π panthor_vm_is_unusable(9) β Kernel API Manual β¨
Okay so bestie, welcome to panthor_vm_is_unusable β yes it's from the Kernel API Manual, no it's not scary, I promise. It's literally the vibe-check function for a VM. Sit down, hydrate, let's go π«Ά
πΈ NAME πΈ
panthor_vm_is_unusable β the little guy that checks whether a VM is still usable or whether it's, like, going through it π
π¦ SYNOPSIS π¦
bool panthor_vm_is_unusable (struct panthor_vm *vm );
That's it. That's the whole call. Bool in, bool out, slay β¨
π ARGUMENTS π
vmβ the VM you want to check, bestie. Hand it over and it'll get inspected. π
π RETURN π
Lowkey simple: it hands back true if the VM is unusable, and false otherwise. That's the whole truth, no cap π―
π SEE ALSO π
So there's this kernel file, right β ./drivers/gpu/drm/panthor/panthor_mmu.c β and it's packed with friends of this function. Like, an iconic amount of them. Here's the whole group chat, no one left out:
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_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_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)
Like I said. Entire friend group. All invited to the function π
ngl if you're reading this page you're already doing great. Every single one of those refs is real, so go click around β iykyk πΈ
Okay that's the page!! Mwah π β this beauty lives over at ./drivers/gpu/drm/panthor and the version vibes are dated October 2026, brought to you by the very same panthor_vm_is_unusable(9) you just read about. Go check on your VMs, bestie β bye!! π§ββοΈπ
π¦ 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