STRUCT DRM_BRIDGE_STATE(9)
π STRUCT DRM_BRIDGE_STATE(9) β like, the whole vibe
okay so bestie, welcome to the struct drm_bridge_state(9) page from the Kernel API Manual β¨ this is the atomic bridge state object and honestly? it's giving quiet-but-essential. let me walk you through it π«Ά
β¨ NAME β¨
struct drm_bridge_state β the Atomic bridge state object. that's it, that's the whole name. iconic behaviour, no notes π
π¦ SYNOPSIS π¦
so here's the actual shape of her, and yes you have to copy it exactly, no freestyling:
struct drm_bridge_state {
struct drm_private_state base;
struct drm_bridge *bridge;
struct drm_bus_cfg input_bus_cfg;
struct drm_bus_cfg output_bus_cfg;
};
literally four members. small struct, big main character energy π
π Members π
okay bestie, member by member, let's go:
baseβ she inherits fromdrm_private_state. that's her ancestry, her bloodline, her base class. respect it πbridgeβ this isthe bridge this state refers to. like, the actual bridge that this state is about. not a metaphor. a real pointer to it πinput_bus_cfgβ the input bus configuration. what's coming in, y'know? π«output_bus_cfgβ the output bus configuration. what's going out. balance. harmony. the full circle moment π
π SEE ALSO π
bestie the cross-reference list here is long and i'm obsessed with it. no skips, no cuts, every single one:
Kernel file ./include/drm/drm_atomic.h
struct drm_crtc_commit(9)struct drm_private_state_funcs(9)struct drm_private_obj(9)drm_for_each_privobj(9)struct drm_private_state(9)struct drm_atomic_commit(9)drm_crtc_commit_get(9)drm_crtc_commit_put(9)drm_atomic_commit_get(9)drm_atomic_commit_put(9)drm_atomic_get_old_crtc_state(9)drm_atomic_get_new_crtc_state(9)drm_atomic_get_old_plane_state(9)drm_atomic_get_new_plane_state(9)drm_atomic_get_old_connector_state(9)drm_atomic_get_new_connector_state(9)__drm_atomic_get_current_plane_state(9)for_each_oldnew_connector_in_state(9)for_each_old_connector_in_state(9)for_each_new_connector_in_state(9)for_each_oldnew_crtc_in_state(9)for_each_old_crtc_in_state(9)for_each_new_crtc_in_state(9)for_each_oldnew_colorop_in_state(9)for_each_new_colorop_in_state(9)for_each_oldnew_plane_in_state(9)for_each_oldnew_plane_in_state_reverse(9)for_each_new_plane_in_state_reverse(9)for_each_old_plane_in_state(9)for_each_new_plane_in_state(9)for_each_oldnew_private_obj_in_state(9)for_each_old_private_obj_in_state(9)for_each_new_private_obj_in_state(9)drm_atomic_crtc_needs_modeset(9)drm_atomic_crtc_effectively_active(9)struct drm_bus_cfg(9)
like, the way she links to everyone?? social butterfly fr fr π¦β¨
π sign-off π
this lil page lives in ./include/drm and the version stamp says October 2026 β so yeah, she's dated, she's sourced, she's a whole moment. go read the struct, hydrate, and slay π
ππ
π¦ 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