intel_vgpu_create_ppgtt_mm(9)
π 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 anenum intel_gvt_gtt_type, so like, which flavor of root entry we're working with πpdpsβ the guest pdps. that's au64 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:
intel_vgpu_sync_oos_pages(9)intel_vgpu_flush_post_shadow(9)_intel_vgpu_mm_release(9)intel_vgpu_unpin_mm(9)intel_vgpu_pin_mm(9)intel_vgpu_gma_to_gpa(9)intel_vgpu_emulate_ggtt_mmio_read(9)intel_vgpu_init_gtt(9)intel_vgpu_clean_gtt(9)intel_vgpu_find_ppgtt_mm(9)intel_vgpu_get_ppgtt_mm(9)intel_vgpu_put_ppgtt_mm(9)intel_gvt_init_gtt(9)intel_gvt_clean_gtt(9)intel_vgpu_invalidate_ppgtt(9)intel_vgpu_reset_ggtt(9)intel_gvt_restore_ggtt(9)
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
- 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