drm_bridge_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_bridge_remove(9)

okay so this is a page from the Kernel API Manual β€” yes bestie, the kernel has its own manual pages, we love a documented kernel 🫢 β€” and today's main character is drm_bridge_remove, which unregisters a bridge. Short page, iconic energy, let's go ✨


🌸 SYNOPSIS 🌸

void drm_bridge_remove (struct drm_bridge *bridge );

that's it. that's the whole function signature. void return, one argument, no drama πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • bridge β€” the bridge control structure. like, the actual struct we're about to yeet off the registry. she's the one getting removed, no cap.

✨ DESCRIPTION ✨

okay so what actually happens here πŸ‘€ β€” drm_bridge_remove takes the given bridge and removes it from the global list of registered bridges. the way that means nobody's gonna find it anymore: users looking it up via of_drm_find_and_get_bridge will come up empty, literally. she's off the grid. πŸ™ˆ

but wait, she doesn't just vanish into the void β€” nope, the function also adds her to the lingering bridge list, which is exactly what it sounds like. it keeps track of the bridge until its allocated memory is eventually freed. so she's lingering, bestie. still on the books, just not on the guest list. πŸ¦‹

lowkey important: remove from registry β‰  freed. the lingering list is the whole point β€” memory cleanup comes later, not here. don't be out here assuming drm_bridge_remove frees anything πŸ’€

🌈 SEE ALSO 🌈

a whole friend group, fr fr β€” go say hi:


and that's the page, bestie πŸŽ€ this lil drop of kernel lore lives in ./drivers/gpu/drm, it's part of the Kernel API Manual, and it's dated October 2026 β€” so she's from the future, which honestly tracks πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from