panthor_kernel_bo_create(9)
π
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 ofdrm_panthor_bo_flagsflags. π©vm_map_flagsβ Combination ofdrm_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. Ifgpu_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 π¦
- Kernel file
./drivers/gpu/drm/panthor/panthor_gem.cπ panthor_gem_create_with_handle(9)panthor_kernel_bo_destroy(9)panthor_dummy_bo_create(9)
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
- 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