radeon_vm_bo_add(9)
π radeon_vm_bo_add(9) β from the Kernel API Manual β¨
okay bestie so this one is radeon_vm_bo_add, and yes it's a section 9 kernel API page, we love a driver-internals moment π
π NAME π
radeon_vm_bo_add β add a bo to a specific vm π«
π¦ SYNOPSIS π¦
struct radeon_bo_va * radeon_vm_bo_add (struct radeon_device *rdev ,
struct radeon_vm *vm , struct radeon_bo *bo );
like, that's the whole signature, no cap β¨
πΈ ARGUMENTS πΈ
rdevβ aradeon_devicepointer π«Άvmβ the vm you're asking forboβ a radeon buffer object π
π DESCRIPTION π
so what it does: it adds the bo into the requested vm (cayman+ π yes, cayman and up, that's the vibe). It literally adds the bo to the list of bos associated with the vm, and hands you back the newly added bo_va, or NULL if it failed π.
β οΈ okay this is the important part bestie β the object has to be reserved! like, reserved-reserved. don't come at this function with an unreserved object, i'm begging π
π₯ SEE ALSO π₯
the kernel file lives at ./drivers/gpu/drm/radeon/radeon_vm.c β that's the main character right there π
and here's the whole friend group, all of them, not skipping a single one π§:
radeon_vm_num_pdes(9)radeon_vm_directory_size(9)radeon_vm_manager_init(9)radeon_vm_manager_fini(9)radeon_vm_get_bos(9)radeon_vm_grab_id(9)radeon_vm_flush(9)radeon_vm_fence(9)radeon_vm_bo_find(9)radeon_vm_set_pages(9)radeon_vm_clear_bo(9)radeon_vm_bo_set_addr(9)radeon_vm_map_gart(9)radeon_vm_page_flags(9)radeon_vm_update_page_directory(9)radeon_vm_frag_ptes(9)radeon_vm_update_ptes(9)radeon_vm_fence_pts(9)radeon_vm_bo_update(9)radeon_vm_clear_freed(9)radeon_vm_clear_invalids(9)radeon_vm_bo_rmv(9)radeon_vm_bo_invalidate(9)radeon_vm_init(9)radeon_vm_fini(9)
mwah π that's the page! brought to you by the fine people over at ./drivers/gpu/drm/radeon, dated October 2026 β go read the source bestie, it's giving iconic πβ
π¦ 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