i915_vma_insert(9)
π i915_vma_insert(9) π
okay so bestie, welcome to the Kernel API Manual page for i915_vma_insert(9) β the function that finds a slot for the vma in its address space. lowkey iconic kernel business, no cap π«Άβ¨
πΈ NAME πΈ
i915_vma_insert β finds a slot for the vma in its address space π
π SYNOPSIS π
int i915_vma_insert (struct i915_vma *vma , struct i915_gem_ww_ctx *ww ,
u64 size , u64 alignment , u64 flags );
π¦ ARGUMENTS π¦
vmaβ the vma. literally the vma πwwβ An optionalstruct i915_gem_ww_ctxsizeβ requested size in bytes (can be larger than the VMA)alignmentβ required alignment β¨flagsβ mask ofPIN_*flags to use π₯
π DESCRIPTION π
First up, it tries to allocate some free space that meets the requirements for the VMA. Failing that, if the flags permit, it will evict an old VMA β preferably the oldest idle entry β to make room for the new VMA πβ¨
β RETURN β
0 on success, negative error code otherwise π«Ά
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/i915_vma.c i915_vma_instance(9)i915_vma_bind(9)i915_ggtt_clear_scanout(9)
kisses from ./drivers/gpu/drm/i915, October 2026 β i915_vma_insert(9), signing off ππ 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