drm_atomic_h...licate_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_atomic_helper_bridge_duplicate_state(9) ✨

okay bestie, so this is a page from the Kernel API Manual and it's literally all about one lil helper: drm_atomic_helper_bridge_duplicate_state. it's giving "small function, big responsibilities" and honestly? iconic. πŸŽ€


πŸ’– NAME πŸ’–

drm_atomic_helper_bridge_duplicate_state β€” Duplicate a bridge state object πŸ¦‹


🌸 SYNOPSIS 🌸

struct drm_bridge_state * drm_atomic_helper_bridge_duplicate_state
(struct drm_bridge *bridge );

like, that's the whole vibe. one function, one pointer in, one shiny state pointer out. slay. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • bridge β€” the bridge object. that's it. that's the whole argument. she's low maintenance, we love her πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

so what does she actually do? bestie, she allocates a brand new bridge state and initializes it with the current bridge state values. no cap β€” fresh object, copied values, done. 🫢

this helper is meant to be used as a bridge drm_bridge_funcs.atomic_duplicate_state hook, specifically for bridges that don't subclass the bridge state. so if your bridge is out here living a simple un-subclassed life, this is the hook for you. periodt. πŸ‘‘


⭐ SEE ALSO ⭐

okay this list is LONG, grab a snack πŸ“. everything below is your reading list, fr fr:


and that's the whole page, bestie πŸ’œ β€” brought to you from ./drivers/gpu/drm, dated October 2026, filed under drm_atomic_h...licate_state(9). go forth and duplicate those states responsibly πŸŒˆπŸ‘‘πŸ’…

πŸ“¦ where this page comes from