amdgpu_vm_bo_invalidate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_vm_bo_invalidate(9) β€” Kernel API Manual, bestie edition

okay so this is a page from the Kernel API Manual and it's about one tiny lil function that does one tiny lil thing: marking a buffer object as invalid. That's it. That's the whole vibe. Let's get into it πŸŽ€


✨ NAME ✨

amdgpu_vm_bo_invalidate β€” mark the bo as invalid πŸ’…


🌸 SYNOPSIS 🌸

void amdgpu_vm_bo_invalidate (struct amdgpu_bo *bo , bool evicted );

look at her. two args. no return value. she's a void, she gives nothing back, she simply does 😌


πŸ¦‹ ARGUMENTS πŸ¦‹

  • bo β€” the amdgpu buffer object in question, the main character of this whole situation πŸ‘‘
  • evicted β€” is the BO evicted? that's it, that's the question, it's a bool, it's answering yes-or-no 🫢

🧚 DESCRIPTION 🧚

Mark bo as invalid.

...and honestly? that's the entire description. no cap. it's giving "short and sweet, knows what she wants" energy. the function marks the bo as invalid, periodt ✨


πŸ”₯ SEE ALSO πŸ”₯

bestie there are so many cross-references here, grab a snack πŸ“ First up, the kernel file this whole thing lives in:

  • ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c β€” the actual file, iykyk

and then the whole friend group πŸ’œ:

like I said. entire friend group. ate πŸ’€


ngl this page is short but she's part of a huge VM subsystem, so if you're poking around here you're probably deep in amdgpu_vm.c already. good luck bestie, hydrate πŸ’–

and that's the whole page! this one came out of ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 β€” so yes, she's from the future, and yes, she's still just marking BOs as invalid 🌈⭐ mwah πŸ’‹

πŸ“¦ where this page comes from