drm_atomic_get_bridge_state(9)
๐ drm_atomic_get_bridge_state(9) ๐
okay so this is the Kernel API Manual, bestie, and we're folding that manual name right in near the top because we're not doing boring repeated headers today. This page is all about drm_atomic_get_bridge_state, and it's lowkey iconic. ๐
โจ
๐ธ NAME ๐ธ
drm_atomic_get_bridge_state โ get bridge state. that's the whole name bit, short and slay. ๐
๐ SYNOPSIS ๐
struct drm_bridge_state * drm_atomic_get_bridge_state (struct
drm_atomic_commit *state , struct drm_bridge *bridge );
๐ซถ ARGUMENTS ๐ซถ
stateโ global atomic state object. ๐ซbridgeโ bridge to get state object for. ๐
๐ฎ DESCRIPTION ๐ฎ
okay so here's the tea: this function returns the bridge state for the given bridge, and it will allocate that state if needed. It also grabs the relevant bridge lock to make sure that the state is consistent. lock behavior is giving responsible main character energy, fr fr. ๐โจ
๐ RETURN ๐
Either the allocated state or the error code encoded into the pointer. When the error is EDEADLK, then the w/w mutex code has detected a deadlock and the entire atomic sequence must be restarted. no cap, that's a whole restart moment ๐ญ๐ฅ
๐ SEE ALSO ๐
okay bestie, the reference list is long and gorgeous, so here's every single one:
- Kernel file
./drivers/gpu/drm/drm_atomic.c state lifetime(9)drm_crtc_commit_wait(9)drm_atomic_commit_default_release(9)drm_atomic_commit_init(9)drm_atomic_commit_alloc(9)drm_atomic_commit_default_clear(9)drm_atomic_commit_clear(9)__drm_atomic_commit_free(9)drm_atomic_get_crtc_state(9)drm_atomic_get_plane_state(9)drm_atomic_get_colorop_state(9)drm_atomic_get_old_colorop_state(9)drm_atomic_get_new_colorop_state(9)drm_atomic_plane_check(9)handling driver private state(9)drm_atomic_private_obj_init(9)drm_atomic_private_obj_fini(9)drm_atomic_get_private_obj_state(9)drm_atomic_get_old_private_obj_state(9)drm_atomic_get_new_private_obj_state(9)drm_atomic_get_old_connector_for_encoder(9)drm_atomic_get_new_connector_for_encoder(9)drm_atomic_get_connector_for_encoder(9)drm_atomic_get_old_crtc_for_encoder(9)drm_atomic_get_new_crtc_for_encoder(9)drm_atomic_get_connector_state(9)drm_atomic_get_old_bridge_state(9)drm_atomic_get_new_bridge_state(9)drm_atomic_add_encoder_bridges(9)drm_atomic_add_affected_connectors(9)drm_atomic_add_affected_planes(9)drm_atomic_add_affected_colorops(9)drm_atomic_check_only(9)drm_atomic_commit(9)drm_atomic_nonblocking_commit(9)drm_atomic_print_new_state(9)drm_state_dump(9)
and that's the page! source/version vibes: ./drivers/gpu/drm; date: October 2026; footer name: drm_atomic_get_bridge_state(9). bye bestie, mwah ๐๐ซถ๐
๐ฆ 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