gpuvm_to_vm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

gpuvm_to_vm(9) πŸ’…βœ¨

okay so welcome to the Kernel API Manual, bestie β€” today’s main character is gpuvm_to_vm, and she is literally here to return the embedding xe_vm from a struct drm_gpuvm pointer. no cap, that’s the whole vibe. 🫢


πŸŽ€ NAME πŸŽ€

gpuvm_to_vm β€” return the embedding xe_vm from a struct drm_gpuvm pointer. iconic little function behavior, fr fr. ✨

🌸 SYNOPSIS 🌸

struct xe_vm * gpuvm_to_vm (struct drm_gpuvm *gpuvm );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gpuvm β€” the struct drm_gpuvm pointer. that’s the pointer you’re passing in, bestie; she is literally the struct drm_gpuvm pointer and we respect her for it. πŸ’–

πŸ‘‘ RETURN πŸ‘‘

Pointer to the embedding struct xe_vm. that’s it β€” she returns a pointer to the embedding struct xe_vm, and the vibes are immaculate. 🌟

🧚 SEE ALSO 🧚

the whole friend group is:

xoxo, your kernel bestie πŸ’… β€” this page’s source/version is ./drivers/gpu/drm/xe, and the date on the footer is October 2026. periodt. πŸŽ€πŸ’–

πŸ“¦ where this page comes from