amdgpu_dma_buf_pin(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– amdgpu_dma_buf_pin(9) πŸ’–

okay so bestie, we're in the Kernel API Manual today and this one is literally the pin implementation for &dma_buf_ops.pin. yes THAT pin. sit down, hydrate, let's go 🫢


✨ NAME ✨

amdgpu_dma_buf_pin β€” the &dma_buf_ops.pin implementation. that's it, that's the whole identity, and honestly? iconic. πŸ‘‘


🌸 SYNOPSIS 🌸

int amdgpu_dma_buf_pin (struct dma_buf_attachment *attach );

like, it takes one thing and it returns an int, we love a simple signature no cap πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • attach β€” the attachment to pin down. that's your girl right there, the one getting pinned πŸ¦‹

πŸ’« DESCRIPTION πŸ’«

okay so here's the tea: this pins the BO that's backing the DMA-buf so it can't move any more. no more sliding around, no more relocating, she is STAYING PUT. periodt. πŸ”₯

like the whole vibe is "freeze, bestie" and the BO just has to accept it ✨


πŸ‘‘ SEE ALSO πŸ‘‘

like the whole friend group showed up, we love a full roster πŸ’œ


and that's the page!! mwah πŸ’‹ this little beauty lives under ./drivers/gpu/drm/amd/amdgpu and the version/date on it is October 2026 β€” so go forth, pin ur BOs, stay slay, and remember: she can't move any more. bye bestie πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from