amdgpu_bo_unpin(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_bo_unpin(9) πŸ’…

okay so bestie, we're in the Kernel API Manual and today's main character is amdgpu_bo_unpin. She's here to unpin an &amdgpu_bo buffer object, and honestly? iconic behavior. πŸŽ€


✨ NAME ✨

amdgpu_bo_unpin β€” unpin an &amdgpu_bo buffer object πŸ’–

🌸 SYNOPSIS 🌸

void amdgpu_bo_unpin (struct amdgpu_bo *bo );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • bo β€” the amdgpu_bo buffer object to be unpinned. That's the one getting her pin removed, periodt. πŸ’…

πŸ’– DESCRIPTION πŸ’–

So here's the tea: this function decreases the pin_count, and clears the flags if pin_count reaches 0. It also changes placement and pin size accordingly. That's the whole glow-up. ✨

πŸ”₯ RETURN πŸ”₯

0 for success or a negative error code on failure. Yes, that's literally what the page says β€” I'm just the messenger, bestie. 😭

🌈 SEE ALSO 🌈

Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c

The whole friend group, in order:


That's the page, bestie! Source/version: ./drivers/gpu/drm/amd/amdgpu; date: October 2026; page: amdgpu_bo_unpin(9). Slay and stay pinned β€” or don't πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from