reserve_bo_and_vm(9)
okay so bestie, this is reserve_bo_and_vm(9) from the Kernel API Manual β yes, the page name and function name are twinning, main character energy. β¨
π NAME π
reserve_bo_and_vm β reserve a BO and a VM unconditionally. Not βmaybeβ, not βif the vibe is rightβ β unconditionally, periodt. π
β¨ SYNOPSIS β¨
The signature is right here, bestie β copy it exactly, no autocorrect shenanigans:
int reserve_bo_and_vm (struct kgd_mem *mem , struct amdgpu_vm *vm ,
struct bo_vm_reservation_context *ctx );
π¦ ARGUMENTS π¦
memβ KFD BO structure. Thatβs the BO, bestie. π«Άvmβ the VM to reserve. Yes queen, that VM. πctxβ the struct that will be used inunreserve_bo_and_vms. Itβs the context bestie for the unreserve side, iykyk. π
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c β the lore location, no cap. π
The whole reference squad:
reuse_dmamap(9)amdgpu_amdkfd_reserve_mem_limit(9)create_dmamap_sg_bo(9)amdgpu_amdkfd_remove_all_eviction_fences(9)create_sg_table(9)kfd_mem_dmamap_sg_bo(9)kfd_mem_dmaunmap_sg_bo(9)reserve_bo_and_cond_vms(9)unreserve_bo_and_vms(9)amdgpu_amdkfd_gpuvm_pin_bo(9)amdgpu_amdkfd_gpuvm_unpin_bo(9)amdgpu_amdkfd_map_gtt_bo_to_gart(9)
Thatβs the page, bestie β reserve_bo_and_vm(9) is wrapped. xoxo π source/version: ./drivers/gpu/drm/amd/amdgpu Β· date: October 2026.
π¦ 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