STRUCT MSM_GEM_VMA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct msm_gem_vma(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” this one's a little struct called struct msm_gem_vma and it's literally just a VMA mapping. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

struct msm_gem_vma {
    struct drm_gpuva base;
    struct drm_mm_node node;
    bool mapped;
 };

no cap, that's the entire shape of it πŸ¦‹


🌸 Members 🌸

  • base β€” this one inherits from drm_gpuva, so it's giving main character energy from its parent struct πŸ’…
  • node β€” the mm node for VA allocation. that's the whole job.
    • lowkey important: this is only used by kernel managed VMs, so don't come for it if you're doing your own VM thing πŸ™ˆ
  • mapped β€” the vibe check of the struct tbh: is this VMA mapped? bool, so it's a yes or a no, no in-between 😀

πŸ¦‹ Description πŸ¦‹

so what is it? it represents a combination of a GEM object plus a VM. that's it, that's the whole concept. iconic honestly ✨


πŸ‘‘ SEE ALSO πŸ‘‘

head over to the kernel file ./drivers/gpu/drm/msm/msm_gem.h and also peek at struct msm_gem_vm_log_entry(9), struct msm_gem_vm(9), and msm_gem_lock_vm_and_obj(9) β€” they're all in the group chat 🫢


okay that's the whole page, you ate that πŸ’– this little render came from ./drivers/gpu/drm/msm and it's dated October 2026 β€” go be the main character of your own VMA mapping bestie 🌈⭐

πŸ“¦ where this page comes from