drm_bridge_c..._last_bridge(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_bridge_c..._last_bridge(9) β€” the Kernel API Manual moment

okay so bestie, welcome to drm_bridge_c..._last_bridge(9), straight out of the Kernel API Manual. this one's a little one-shot helper and it's honestly so useful β€” it's giving "grab the end of the line" energy πŸŽ€


✨ NAME ✨

drm_bridge_chain_get_last_bridge β€” Get the last bridge in the chain 🌈


πŸ¦‹ SYNOPSIS πŸ¦‹

struct drm_bridge * drm_bridge_chain_get_last_bridge (struct drm_encoder
*encoder );

πŸŽ€ ARGUMENTS πŸŽ€

  • encoder β€” the encoder object. that's the one you're handing in, no cap πŸ’–

🌸 DESCRIPTION 🌸

heads up, this is the important bit: the refcount of the returned bridge is incremented ✨. so like, it's yours now, you're responsible for it. when you're done with it, call drm_bridge_put β€” do not just wander off and leave it hanging, that's so not slay of you 🫢


⭐ RETURN ⭐

  • it gives you the last bridge in the chain πŸ”₯
  • or NULL if the encoder has no bridge attached to it. literally nothing there, empty, a void, iykyk πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/drm/drm_bridge.h β€” and bestie, the whole friend group:


fr fr, don't forget the drm_bridge_put. main character energy includes cleaning up after yourself πŸ’œ

okay that's the page!! this cutie lives in ./include/drm, dated October 2026, and it's filed under the name drm_bridge_c..._last_bridge(9) in the Kernel API Manual β€” mwah, stan, bye πŸ§šπŸ’–

πŸ“¦ where this page comes from