panthor_kernel_bo_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… panthor_kernel_bo_create(9) β€” Kernel API Manual ✨

okay so bestie, this is the Kernel API Manual entry for panthor_kernel_bo_create(9) 🫢 It's giving "let's create and map a GEM object to a VM" energy, and honestly the vibe is immaculate. We're keeping every flag and literal exactly as it is, fr fr.


🌸 NAME 🌸

panthor_kernel_bo_create β€” Create and map a GEM object to a VM πŸ’–

✨ SYNOPSIS ✨

       struct panthor_kernel_bo * panthor_kernel_bo_create (struct
       panthor_device *ptdev , struct panthor_vm *vm , size_t size , u32
       bo_flags , u32 vm_map_flags , u64 gpu_va , const char *name );

πŸŽ€ ARGUMENTS πŸŽ€

  • ptdev β€” Device. πŸ–₯️ the main character device, periodt.
  • vm β€” VM to map the GEM to. πŸ—ΊοΈ
  • size β€” Size of the buffer object. πŸ“
  • bo_flags β€” Combination of drm_panthor_bo_flags flags. 🚩
  • vm_map_flags β€” Combination of drm_panthor_vm_bind_op_flags (only those that are related to map operations). 🧭 iykyk, map ops only.
  • gpu_va β€” GPU address assigned when mapping to the VM. If gpu_va == PANTHOR_VM_KERNEL_AUTO_VA, the virtual address will be automatically allocated. πŸͺ„ auto-alloc magic, no cap.
  • name β€” Descriptive label of the BO's contents 🏷️

πŸ”₯ RETURN πŸ”₯

A valid pointer in case of success, an ERR_PTR otherwise. βœ…βž‘οΈβŒ slay when it works, check that error pointer when it doesn't.

πŸ¦‹ SEE ALSO πŸ¦‹


big cute sign-off energy: this page lives under source/version ./drivers/gpu/drm/panthor and is dated October 2026 πŸ’–βœ¨ go be iconic with your BOs, bestie πŸ’…

πŸ“¦ where this page comes from