STRUCT PANTHOR_VMA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct panthor_vma(9) β€” the Kernel API Manual glow-up πŸŽ€

okay so bestie, welcome to the Kernel API Manual entry for struct panthor_vma(9) β€” it's giving GPU mapping object, and honestly? iconic. let's get into it ✨


✨ NAME ✨

struct panthor_vma β€” the GPU mapping object. that's it, that's the vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

struct panthor_vma {
    struct drm_gpuva base;
    struct list_head node;
    u32 flags;
    bool evicted;
 };

like, look at her. four fields, zero notes. main character energy fr fr πŸ‘‘


πŸŽ€ Members πŸŽ€

  • base β€” she inherits from drm_gpuva. nepo baby but make it struct inheritance, yk? πŸ’–
  • node β€” this one's whole job is to implement deferred release of VMAs. lowkey the cleanup crew of the struct. 🧹
  • flags β€” a combination of drm_panthor_vm_bind_op_flags. heads up though: only map related flags are accepted. so don't go throwing random flags in there and acting surprised, bestie 😭
  • evicted β€” a bool that's true if the VMA has been evicted. she's been through it. πŸ’€

πŸ¦‹ Description πŸ¦‹

this struct is what we use to track GEM mappings in GPU space. that's the whole thesis. no cap. πŸ”₯


🫢 SEE ALSO 🫢

start in the kernel file ./drivers/gpu/drm/panthor/panthor_mmu.c, then go meet the whole friend group:


ok that's the whole page, go read the source too, i'm not your mom πŸ’œ

and that's a wrap, bestie!! this one came from ./drivers/gpu/drm/panthor, part of the Kernel API Manual, dated October 2026, filed under struct panthor_vma(9). slay, bye!! πŸŒˆβ­πŸ’…

πŸ“¦ where this page comes from