amdgpu_vm_bo_move(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_vm_bo_move β€” handle BO move

okay so bestie, welcome to section 9 of the Kernel API Manual, page amdgpu_vm_bo_move(9). yeah it's a kernel function, yeah it's DRM/AMDGPU, but honestly? it's giving one-job-one-vibe and we respect it 🫢


✨ NAME ✨

amdgpu_vm_bo_move β€” handle BO move</p> πŸ¦‹ that's it, that's the whole personality. a BO moves, and this function handles it. no cap.


🌸 SYNOPSIS 🌸

void amdgpu_vm_bo_move (struct amdgpu_bo *bo , struct ttm_resource
*new_mem , bool evicted );

returns void btw β€” it's not gonna hand you a result back, it just does the thing and dips πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • bo β€” amdgpu buffer object. the main character of this whole operation, the BO in question πŸ‘‘
  • new_mem β€” the new placement of the BO move. where it's headed, its new little home 🏠
  • evicted β€” is the BO evicted. a bool, so like… yes or no, girl, pick one πŸ’€

πŸ’– DESCRIPTION πŸ’–

So what does it actually do? Two things, and it does them both, periodt:

  • Update the memory stats for the new placement πŸ“Š
  • and mark bo as invalid πŸ™ˆ

that's literally the whole description, and honestly? iconic. no fluff, no side quests, just stats + invalidate ✨


πŸ”₯ SEE ALSO πŸ”₯

the friend group πŸ’œ first up, the kernel file herself:

like I said. the whole friend group. a group chat with 70+ members and every single one is a real one πŸ’€πŸ’–


ngl if you're reading a section 9 kernel page for fun, you're lowkey built different and I'm obsessed 🧚✨

and that's the page, bestie! this lil gem lives over in ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and the whole thing is filed under amdgpu_vm_bo_move(9) β€” mwah, go touch some VRAM, ily πŸŽ€πŸ’œ

πŸ“¦ where this page comes from