__drm_atomi...e_state_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 __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 πŸ’–


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