radeon_vm_bo_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” a radeon_device pointer 🫢
  • vm β€” the vm you're asking for
  • bo β€” 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 🧚:


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