drm_bridge_chain_mode_set(9)
π 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.coverview(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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms