xe_vm_alloc...r_mirror_vma(9)
okay bestie, welcome to the Kernel API Manual page for xe_vm_alloc_cpu_addr_mirror_vma(9). Hydrate, stretch, and let's get into it π«Άβ¨
π NAME π
xe_vm_alloc_cpu_addr_mirror_vma β Allocate CPU addr mirror vma. That's the whole name, no cap; it literally allocates a CPU addr mirror vma π
β¨ SYNOPSIS β¨
int xe_vm_alloc_cpu_addr_mirror_vma (struct xe_vm *vm , uint64_t start ,
uint64_t range );
π ARGUMENTS π
vmβ pointer to thexe_vmstructure, bestie π«Άstartβ starting input address, literally where the input starts β¨rangeβ size of the input range, aka how much range we're ranging πΈ
π¦ DESCRIPTION π¦
okay so what this function does: it splits/merges existing vma to create a new vma for the user provided input range. That's the vibe, that's the job, periodt π¦β¨
β RETURN β
0 if success. That's the return tea: success gives you 0 π₯
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/xe/xe_vm.c β that's the source file, iykyk π
the whole see-also squad, no skips:
xe_vm_drm_exec_lock(9)xe_vm_remove_compute_exec_queue(9)xe_vm_kill(9)xe_vm_validate_rebind(9)xe_vm_bump_lru(9)xe_vm_resume_rebind_worker(9)xe_vm_add_fault_entry_pf(9)xe_vm_range_rebind(9)xe_vm_range_unbind(9)xe_vma_mem_attr_copy(9)xe_vm_lock_vma(9)xe_vm_create_scratch(9)xe_vm_find_vma_by_addr(9)xe_vma_has_default_mem_attrs(9)structxe_vma_lock_and_validate_flags(9)β yes bestie, the original list has thatstructtoken right before this one, so here it is in all its chaotic glory πxe_vm_bind_kernel_bo(9)xe_vm_lock(9)xe_vm_unlock(9)xe_vm_invalidate_vma_submit(9)xe_vm_invalidate_vma(9)xe_vma_need_vram_for_atomic(9)xe_vm_alloc_madvise_vma(9)xe_vm_find_cpu_addr_mirror_vma_range(9)xe_vm_add_exec_queue(9)xe_vm_remove_exec_queue(9)
Source/version: ./drivers/gpu/drm/xe Β· date: October 2026 Β· page: xe_vm_alloc...r_mirror_vma(9). k bye bestie, go alloc that mirror vma responsibly πβ¨
π¦ 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