amdgpu_vm_bo_base_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_vm_bo_base_init β€” the Kernel API Manual, but make it make sense

okay so bestie, this is a page from the Kernel API Manual, section 9, and the star of the show is amdgpu_vm_bo_base_init. No cap, it's a small function but it does a very real job, so let's get into it 🫢


✨ NAME ✨

amdgpu_vm_bo_base_init β€” Adds bo to the list of bos associated with the vm πŸŽ€


🌸 SYNOPSIS 🌸

void amdgpu_vm_bo_base_init (struct amdgpu_vm_bo_base *base , struct
amdgpu_vm *vm , struct amdgpu_bo *bo );

Literally just three pointers and a dream, iykyk πŸ’œ


πŸ¦‹ ARGUMENTS πŸ¦‹

  • base β€” the base structure for tracking BO usage in a VM. She's the record-keeper, the main character of the bookkeeping πŸ’…
  • vm β€” the vm to which bo is to be added. Like, the whole address-space situation the bo is moving into 🏠
  • bo β€” an amdgpu buffer object. The bo in question. The icon itself πŸŽ€

πŸ‘‘ DESCRIPTION πŸ‘‘

So what does it actually do? It initializes a bo_va_base structure and adds it to the appropriate lists. That's the whole vibe β€” set the thing up, then slot it into the right list(s) so the VM knows this bo exists. Periodt. ✨


🌈 SEE ALSO 🌈

This is the part where the manpage goes absolutely feral with cross-references, and honestly? Respect. Every single one, in order, no skips πŸ”₯

Like I said β€” every single one. Obsessed with the thoroughness ngl 🌟


okay and the cute little sign-off bestie: this page came out of ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's amdgpu_vm_bo_base_init(9) all the way through. go read the source, slay πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from