host1x_bo_unpin(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ host1x_bo_unpin(9) ✨

okay so bestie, welcome to the Kernel API Manual 🫢 β€” this one's a little function with big "clean up after yourself" energy.


πŸ’… NAME

host1x_bo_unpin β€” release an established DMA mapping of a buffer object. literally the undo button for a pin πŸŽ€


🌸 SYNOPSIS

void host1x_bo_unpin (struct host1x_bo_mapping *mapping );

no return value, no drama. it's void, it just does the thing ✨


πŸ¦‹ ARGUMENTS

  • mapping β€” the mapping to release. that's it, that's the whole vibe. hand it over and let it go 🫢

πŸŽ€ DESCRIPTION

so what actually happens πŸ‘€ β€” it unmaps the given mapping, unless it's cached. cached ones get to stay cozy, no cap. (lowkey important detail, don't forget it πŸ’€)

then it decreases the refcount on the underlying buffer object. one less thing holding on, we love a clean exit πŸ’–

not me stressing the "unless it is cached" part β€” if your mapping is cached, bestie, it is NOT getting unmapped here. periodt.

πŸ”₯ SEE ALSO

kernel file ./drivers/gpu/host1x/bus.c β€” and the whole friend group:

(yes host1x_bo_pin(9) is right there β€” the pin/unpin duo, iconic pairing πŸ‘‘)


and that's the whole page, bestie 🌈 this lil gem lives in ./drivers/gpu/host1x, dropped October 2026, and it's filed under host1x_bo_unpin(9) β€” go unpin something responsibly πŸ’œβœ¨

πŸ“¦ where this page comes from