panthor_vm_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is panthor_vm_create(9) from the Kernel API Manual β€” the function that creates a VM, and it's lowkey iconic in the panthor MMU universe. ✨

🌈 SYNOPSIS 🌈

struct panthor_vm * panthor_vm_create (struct panthor_device *ptdev ,
bool for_mcu , u64 kernel_va_start , u64 kernel_va_size , u64
auto_kernel_va_start , u64 auto_kernel_va_size );

πŸŽ€ ARGUMENTS πŸŽ€

  • ptdev β€” the device, obvi. 🫢
  • for_mcu β€” True if this is the FW MCU VM. periodt.
  • kernel_va_start β€” start of the range reserved for kernel BO mapping. yes bestie, the start. πŸ’…
  • kernel_va_size β€” size of the range reserved for kernel BO mapping. the range said "respect my size." πŸŽ€
  • auto_kernel_va_start β€” start of the auto-VA kernel range. slay. ✨
  • auto_kernel_va_size β€” size of the auto-VA kernel range. it's giving range energy. 🌸

πŸ¦‹ RETURN πŸ¦‹

A valid pointer on success, an ERR_PTR otherwise. no cap β€” that's literally the whole return vibe. 😭

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/gpu/drm/panthor/panthor_mmu.c, and the whole squad is:


mwah πŸ’‹ source/version: ./drivers/gpu/drm/panthor; date: October 2026; and yeah, this whole lil page is panthor_vm_create(9). byeee 🫢

πŸ“¦ where this page comes from