amdgpu_bo_create_vm(9)
π amdgpu_bo_create_vm(9) π
okay bestie so this is from the Kernel API Manual (section 9, kernel API, iykyk) and it's literally the glow-up guide for making a buffer object that GPUVM can vibe with. no cap, it's short, but every word eats. π¦
β¨ NAME β¨
amdgpu_bo_create_vm β create an &amdgpu_bo_vm buffer object. that's it, that's the whole job, and she does it flawlessly. π
πΈ SYNOPSIS πΈ
int amdgpu_bo_create_vm (struct amdgpu_device *adev , struct
amdgpu_bo_param *bp , struct amdgpu_bo_vm **vmbo_ptr );
three args, one int back, absolutely iconic behavior. π
π«Ά ARGUMENTS π«Ά
adevβ the amdgpu device object. your main character device, the whole reason we're here.bpβ parameters to be used for the buffer object. literally the blueprint, the Pinterest board, the vision.vmbo_ptrβ pointer to the buffer object pointer. yeah, a pointer to a pointer β she's double-indirected and she's thriving. π
π§ DESCRIPTION π§
Create a BO to be for GPUVM.
that's the whole description fr fr. short, sweet, and lowkey doing the most. π₯
β RETURN β
0 for success or a negative error code on failure. so if you see a negative number, that's not a vibe check you passed β that's a fail, bestie. π
π SEE ALSO π
the source lives in the kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c β go say hi to her π«Ά
and here's the whole friend group, all of them, in order, no one left out because we don't do that here:
amdgpu_object(9)amdgpu_bo_is_amdgpu_bo(9)amdgpu_bo_placement_from_domain(9)amdgpu_bo_create_reserved(9)amdgpu_bo_create_kernel(9)amdgpu_bo_create_isp_user(9)amdgpu_bo_create_kernel_at(9)amdgpu_bo_free_kernel(9)amdgpu_bo_free_isp_user(9)amdgpu_bo_create(9)amdgpu_bo_create_user(9)amdgpu_bo_kmap(9)amdgpu_bo_kptr(9)amdgpu_bo_kunmap(9)amdgpu_bo_ref(9)amdgpu_bo_unref(9)amdgpu_bo_pin(9)amdgpu_bo_unpin(9)amdgpu_bo_init(9)amdgpu_bo_fini(9)amdgpu_bo_set_tiling_flags(9)amdgpu_bo_get_tiling_flags(9)amdgpu_bo_set_metadata(9)amdgpu_bo_get_metadata(9)amdgpu_bo_move_notify(9)amdgpu_bo_release_notify(9)amdgpu_bo_fault_reserve_notify(9)amdgpu_bo_fence(9)amdgpu_bo_sync_wait_resv(9)amdgpu_bo_sync_wait(9)amdgpu_bo_gpu_offset(9)amdgpu_bo_fb_aper_addr(9)amdgpu_bo_gpu_offset_no_check(9)amdgpu_bo_mem_stats_placement(9)amdgpu_bo_get_preferred_domain(9)amdgpu_bo_print_info(9)
like, thirty-six besties. a whole squad. she's connected. π
ngl, the docs are thin on this one, but the facts are the facts and the facts are slaying. go read the source if you want the lore. π
and that's the page!! brought to you by ./drivers/gpu/drm/amd/amdgpu π¦ β October 2026 edition, mwah π β¨π
π¦ 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