panthor_vm_...ed_bos_resvs(9)
π panthor_vm_...ed_bos_resvs(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β yes it's a whole manual, yes it's about kernel graphics, no you're not allowed to be scared of it. this one's short and sweet, i promise π«Ά
πΈ NAME πΈ
panthor_vm_prepare_mapped_bos_resvs β literally just: prepare resvs on VM BOs. that's it. that's the whole name section. slay π
β¨ SYNOPSIS β¨
int panthor_vm_prepare_mapped_bos_resvs (struct drm_exec *exec , struct
panthor_vm *vm , u32 slot_count );
return type is int, three args, no cap π§
π ARGUMENTS π
execβ the locking/preparation context. it's giving "let me get my stuff in order first" energy.vmβ the VM that the GPU job is targeting. main character VM, honestly πslot_countβ how many slots you wanna reserve. a number. au32. respect it π¦
π DESCRIPTION π
okay so here's the vibe π₯ β GPU jobs just assume that every BO bound to the VM at the time the job gets submitted will still be there when the job actually executes. bold of them, but go off i guess π
to guarantee that actually happens, we need to reserve a slot on all BOs mapped to a VM, and then update that slot with the job fence after its submission. that's the whole plan. no notes. periodt π
β RETURN β
0 on success π β otherwise a negative error code, which is never the vibe but okay π
π SEE ALSO π
this list is LONG bestie, buckle up. it's all coming from the 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_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_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!! π¦ this lil cutie lives in ./drivers/gpu/drm/panthor and it's dated October 2026 π love that for us, mwah, bye bestie πβ¨
π¦ 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