drm_bridge_chain_mode_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_bridge_chain_mode_set β€” like, the whole encoder chain gets a mode

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one's all about telling every single bridge in an encoder chain what mode it's gonna be living in. no cap, it's giving "group chat announcement but for hardware" 🫢


✨ SYNOPSIS ✨

void drm_bridge_chain_mode_set (struct drm_bridge *first_bridge , const
struct drm_display_mode *mode , const struct drm_display_mode
*adjusted_mode );

πŸŽ€ ARGUMENTS πŸŽ€

  • first_bridge β€” the bridge control structure πŸ’– literally the starting point of the whole operation.
  • mode β€” the desired mode that's gonna get set for the encoder chain 🌸 like, the dream.
  • adjusted_mode β€” the updated mode that actually works for this encoder chain πŸ¦‹ (the realistic version of the dream, iykyk).

πŸ‘‘ DESCRIPTION πŸ‘‘

So what does it do? It calls the drm_bridge_funcs.mode_set op for all the bridges in the encoder chain β€” starting from the first bridge and going all the way to the last one. πŸ’…βœ¨

Like, every bridge, in order, no skipping. main character energy for the entire chain, fr fr.


⭐ NOTE ⭐

the bridge you pass in should be the one closest to the encoder β€” don't be out here handing it a random bridge from the middle of the chain, bestie πŸ˜­πŸ™ˆ


🌈 SEE ALSO 🌈

okay this list is long and honestly iconic, so buckle up πŸŽ€:

  • Kernel file ./drivers/gpu/drm/drm_bridge.c overview(9)
  • display driver integration(9)
  • special care dsi(9)
  • dsi bridge operations(9)
  • bridge chain format selection(9)
  • drm_bridge_enter(9)
  • drm_bridge_exit(9)
  • drm_bridge_unplug(9)
  • drm_bridge_get(9)
  • drm_bridge_put(9)
  • drm_bridge_clear_and_put(9)
  • drm_bridge_put_void(9)
  • drm_bridge_add(9)
  • devm_drm_bridge_add(9)
  • drm_bridge_remove(9)
  • drm_bridge_attach(9)
  • bridge operations(9)
  • drm_bridge_chain_mode_valid(9)
  • drm_atomic_bridge_chain_disable(9)
  • drm_atomic_bridge_chain_post_disable(9)
  • drm_atomic_bridge_chain_pre_enable(9)
  • drm_atomic_bridge_chain_enable(9)
  • drm_atomic_bridge_chain_check(9)
  • drm_bridge_detect(9)
  • drm_bridge_get_modes(9)
  • drm_bridge_edid_read(9)
  • drm_bridge_hpd_enable(9)
  • drm_bridge_hpd_disable(9)
  • drm_bridge_hpd_notify(9)
  • of_drm_find_and_get_bridge(9)
  • of_drm_find_bridge(9)
  • of_drm_get_bridge_by_endpoint(9)
  • devm_drm_put_bridge(9)

πŸ’œ lowkey a whole syllabus, but that's the bridge lore and we respect it.

and that's the page!! 🫢 source/version is ./drivers/gpu/drm, dated October 2026 β€” mwah, slay, no notes πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from