msm_context_vm(9)
π msm_context_vm(9) β like, the kernel API manual, section 9, bestie
okay so you're in the Kernel API Manual and the page is msm_context_vm(9) β say that three times fast, i can't π
β¨ NAME β¨
msm_context_vm β lazily create the context's VM π¦
πΈ SYNOPSIS πΈ
struct drm_gpuvm * msm_context_vm (struct drm_device *dev , struct
msm_context *ctx );
π ARGUMENTS π
devβ thedrmdevice π₯οΈctxβ the context π«Ά
π DESCRIPTION π
So here's the vibe: the VM is lazily created. Meaning it doesn't just spawn the second you look at it β userspace gets a chance to opt-in to having a userspace managed VM before the VM gets created. main character energy: the VM waits for you to say yes. π
β οΈ real talk though β this does not return a reference to the VM. nope. none. zero. π Once the VM is created, it exists for the lifetime of the context. periodt. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/msm/msm_drv.cβ go read it, iykyk πβ¨
and that's the whole page, bestie, no cap π§ββοΈ it lives in ./drivers/gpu/drm/msm, dated October 2026 β mwah, slay, goodbye ππβ
π¦ 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