STRUCT PANTHOR_VM_BIND_JOB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct panthor_vm_bind_job(9) πŸ’–

okay so this is a page from the Kernel API Manual, and bestie, we're talking about struct panthor_vm_bind_job β€” literally the VM bind job itself. it's giving "the little struct that runs your bind operations" and honestly? iconic. πŸŽ€


✨ NAME ✨

struct panthor_vm_bind_job β€” the VM bind job. that's it, that's the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

here's the shape of it, no cap, copy it exactly:

struct panthor_vm_bind_job {
    struct drm_sched_job base;
    struct kref refcount;
    struct work_struct cleanup_op_ctx_work;
    struct panthor_vm *vm;
    struct panthor_vm_op_ctx ctx;
};

πŸ¦‹ Members πŸ¦‹

  • base β€” inherits from drm_sched_job. it's the scheduler-job ancestor energy, the main character lineage. πŸ‘‘
  • refcount β€” the reference count, fr fr. keeps track of who's still holding on. 🫢
  • cleanup_op_ctx_work β€” work used to cleanup the VM operation context. yes, the cleanup work β€” it's got a whole job of its own. 🧹
  • vm β€” the VM targeted by the VM operation. literally the destination, the VIP. ⭐
  • ctx β€” the operation context. that's the context for the op, periodt. πŸ“

🌈 SEE ALSO 🌈

lowkey a whole friend group here, so let me list every single one because we do not skip anyone in this house πŸ’œ:

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), 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_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)

also, the kernel file for this one lives at ./drivers/gpu/drm/panthor/panthor_mmu.c β€” go read it if you're feeling brave, iykyk 😭

and that's the whole page, bestie! this cutie came out of the ./drivers/gpu/drm/panthor source, dated October 2026, and it's filed right there under struct panthor_vm_bind_job(9). slay, go bind some VMs responsibly πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from