drm_bridge_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_bridge_put(9) β€” from the Kernel API Manual, bestie ✨

okay so picture this: you're deep in the DRM bridge saga, and you've got a reference you gotta let go of. That's this whole function. It's a Kernel API Manual girlie and she's here to help you not leak memory. πŸŽ€


✨ NAME ✨

drm_bridge_put β€” release a bridge reference, aka the polite way to say "we're done here" 🫢


🌸 SYNOPSIS 🌸

void drm_bridge_put (struct drm_bridge *bridge );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • bridge β€” your DRM bridge, bestie. And listen: if it's NULL or an ERR_PTR, this function literally does nothing. No crash, no drama, it just vibes and moves on. πŸ’€βœ¨

πŸ’– DESCRIPTION πŸ’–

So what's it actually doing? It decrements the bridge's reference count and, if that count drops all the way to zero, it frees the object. That's it. That's the whole gig. Clean, simple, iconic. πŸ‘‘

Lowkey important: if you also need to set the pointer to NULL afterwards, this is not the one. Go check out drm_bridge_clear_and_put instead, iykyk. πŸ’…

🌈 SEE ALSO 🌈

The whole friend group, fr fr:


k that's the page!! πŸ’œ this lil drop came from ./drivers/gpu/drm, dated October 2026 β€” mwah, go touch grass (or a bridge), ily πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from