__drm_atomi...e_state_init(9)
πΈ __drm_atomic_helper_bridge_state_init (9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual, section 9, and this page is literally all about __drm_atomic_helper_bridge_state_init π like yes, the name is a mouthful, we've all been there.
β¨ NAME β¨
__drm_atomic_helper_bridge_state_init β Initialize a bridge state to its default π¦
β¨ SYNOPSIS β¨
void __drm_atomic_helper_bridge_state_init (struct drm_bridge_state
*state , struct drm_bridge *bridge );
β¨ ARGUMENTS β¨
stateβ the bridge state you're about to initialize, bestie π«Άbridgeβ the bridge this state refers to, no cap π«
β¨ DESCRIPTION β¨
so first things first: state is assumed to be zeroed. like, it's giving "you already did your skincare, now we add the serum" β it has to be clean before this function touches it π
This function initializes the bridge state to default values. it's meant to be called by the bridge drm_bridge_funcs.atomic_create_state hook, specifically for bridges that subclass the bridge state π that's the whole vibe, iykyk.
β¨ SEE ALSO β¨
like, go read these too, they're all part of the same friend group π
- Kernel file
./drivers/gpu/drm/drm_atomic_state_helper.c atomic state reset and initialization(9)__drm_atomic_helper_crtc_state_init(9)__drm_atomic_helper_crtc_reset(9)drm_atomic_helper_crtc_reset(9)drm_atomic_helper_crtc_create_state(9)__drm_atomic_helper_crtc_duplicate_state(9)drm_atomic_helper_crtc_duplicate_state(9)__drm_atomic_helper_crtc_destroy_state(9)drm_atomic_helper_crtc_destroy_state(9)__drm_atomic_helper_plane_state_init(9)__drm_atomic_helper_plane_reset(9)drm_atomic_helper_plane_reset(9)drm_atomic_helper_plane_create_state(9)__drm_atomic_helper_plane_duplicate_state(9)drm_atomic_helper_plane_duplicate_state(9)__drm_atomic_helper_plane_destroy_state(9)drm_atomic_helper_plane_destroy_state(9)__drm_atomic_helper_connector_state_init(9)__drm_atomic_helper_connector_reset(9)drm_atomic_helper_connector_reset(9)drm_atomic_helper_connector_create_state(9)drm_atomic_helper_connector_tv_margins_reset(9)drm_atomic_helper_connector_tv_reset(9)drm_atomic_helper_connector_tv_check(9)__drm_atomic_helper_connector_duplicate_state(9)drm_atomic_helper_connector_duplicate_state(9)__drm_atomic_helper_connector_destroy_state(9)drm_atomic_helper_connector_destroy_state(9)__drm_atomic_helper_private_obj_create_state(9)__drm_atomic_helper_private_obj_duplicate_state(9)__drm_atomic_helper_bridge_duplicate_state(9)drm_atomic_helper_bridge_duplicate_state(9)drm_atomic_helper_bridge_destroy_state(9)drm_atomic_helper_bridge_create_state(9)
that's the whole page, babe β and yeah, it lives in ./drivers/gpu/drm, dated October 2026, same as always β¨ mwah, go init something pretty π
π¦ 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