intel_vgpu_create_ppgtt_mm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… intel_vgpu_create_ppgtt_mm(9) β€” like, the whole glow-up

okay so bestie, welcome to the Kernel API Manual ✨ this one is a kernel API page, and the star of the show is intel_vgpu_create_ppgtt_mm β€” say that five times fast, i dare you 😭


🌸 NAME 🌸

intel_vgpu_create_ppgtt_mm β€” creates a ppgtt mm object for a vGPU. that's it, that's the whole gig πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct intel_vgpu_mm * intel_vgpu_create_ppgtt_mm (struct intel_vgpu
*vgpu , enum intel_gvt_gtt_type root_entry_type , u64 pdps[] );

like, look at her. she returns a struct intel_vgpu_mm * and she takes three whole args. main character energy fr πŸ’…


✨ ARGUMENTS ✨

  • vgpu β€” a vGPU. yes that's the entire description, she's a woman of few words πŸ’€ it's the virtual GPU we're doing all this for.
  • root_entry_type β€” the ppgtt root entry type. it's an enum intel_gvt_gtt_type, so like, which flavor of root entry we're working with 🌈
  • pdps β€” the guest pdps. that's a u64 pdps[], an array, okay?? don't come for me 🫢

πŸ’– DESCRIPTION πŸ’–

so basically this function is the function for creating a ppgtt mm object for a vGPU. that's the vibe. that's what she does. no cap πŸŽ€


⭐ RETURN ⭐

zero on success πŸŽ‰ and if it fails? negative error code in pointer. yes, in the pointer β€” read that again bestie, that's not a typo, that's just how she rolls 😭


πŸ‘‘ SEE ALSO πŸ‘‘

first up, the kernel file herself: ./drivers/gpu/drm/i915/gvt/gtt.c β€” go read her, she's iconic πŸ“–

and then the whole friend group, all of them, no one left out:

seventeen besties. a whole group chat. slay 🫢πŸ”₯


lowkey reminder: the return value lives in the pointer when things go wrong β€” so check it, bestie, don't just vibe past it πŸ™ˆ

and that's the page!! 🧚 this little love letter lives in ./drivers/gpu/drm/i915/gvt, dated October 2026, and it's filed under intel_vgpu_create_ppgtt_mm(9) β€” mwah, go forth and create those ppgtt mm objects πŸ’œπŸ“

πŸ“¦ where this page comes from