gpuvm_to_vm(9)
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β thestruct drm_gpuvmpointer. thatβs the pointer youβre passing in, bestie; she is literally thestruct drm_gpuvmpointer 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:
- Kernel file
./drivers/gpu/drm/xe/xe_vm.h MAX_FAULTS_SAVED_PER_VM(9)xe_vm_has_scratch(9)Provide accessors for vma members to facilitate easy change of(9)to_userptr_vma(9)xe_vm_reactivate_rebind(9)xe_vm_resv(9)xe_vm_assert_held(9)xe_vm_set_validating(9)xe_vm_clear_validating(9)xe_vm_is_validating(9)xe_vm_set_validation_exec(9)xe_vm_validation_exec(9)xe_vm_has_valid_gpu_mapping(9)
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
- 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