panthor_vm_...repare_resvs(9)
π panthor_vm_bind_job_prepare_resvs β the "get your resvs ready bestie" function
okay so real talk, this is a page straight out of the Kernel API Manual for panthor_vm_...repare_resvs(9) β yes that's the truncated title, she's shy, it's fine. Anyway. Grab a boba, we're locking some reservations together π§β¨
β¨ NAME β¨
panthor_vm_bind_job_prepare_resvs β literally the function that prepares the VM_BIND job's dma_resvs. no cap, that's the whole vibe. π
πΈ SYNOPSIS πΈ
int panthor_vm_bind_job_prepare_resvs (struct drm_exec *exec , struct
drm_sched_job *sched_job );
π¦ ARGUMENTS π¦
execβ the locking/preparation context. think of it as the little makeup bag where all the locking state lives πsched_jobβ the job you're preparing resvs on. she's the main character here π
π DESCRIPTION π
So what does she do? She locks and prepares the VM resv. That's it, that's the job. β¨
And β plot twist β if this is a map operation, she also locks and prepares the GEM resv. iykyk. π₯
β RETURN β
0on success π- a negative error code otherwise π (yes, negative. it's giving "something went wrong", read the code and find out which)
π SEE ALSO π
the whole friend group, fr fr β and yes she hangs out in 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_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 page!! πβ¨ brought to you by ./drivers/gpu/drm/panthor, dated October 2026, and filed under the name panthor_vm_...repare_resvs(9) in the Kernel API Manual β ily, go lock something responsibly π
π«Ά
π¦ 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