__drm_atomic...licate_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __drm_atomic_helper_crtc_duplicate_state β€” NAME 🌸

okay bestie, so this is __drm_atomic_helper_crtc_duplicate_state, straight out of the Kernel API Manual, and it does exactly one iconic thing: it copies atomic CRTC state. that's the whole vibe. πŸ’–


✨ SYNOPSIS ✨

void __drm_atomic_helper_crtc_duplicate_state (struct drm_crtc *crtc ,
struct drm_crtc_state *state );

like, two args, void return, no drama. πŸŽ€


🫢 ARGUMENTS 🫢

  • crtc β€” the CRTC object in question. your main character. πŸ‘‘
  • state β€” the atomic CRTC state. the one getting the copy-paste treatment. ✨

🌈 DESCRIPTION 🌈

so here's the tea: this function copies atomic state from a CRTC's current state and resets the inferred values. that's it, that's the whole job. πŸ’…

and why do we care? because it's useful for drivers that subclass the CRTC state β€” iykyk. if you're subclassing, this helper is literally your bestie. fr fr. πŸ¦‹

ngl, "resets inferred values" is doing a lot of heavy lifting in that sentence β€” just know it's part of the copy, bestie. don't skip it. πŸ’€

πŸ’œ SEE ALSO πŸ’œ

okay this list is long but we do not gatekeep here, so here's every single one of them, in order. no cap. 🌸


and that's the whole page, bestie β€” no crumbs left behind. 🧚

sign-off time: this one lives in ./drivers/gpu/drm, dated October 2026, and it's all about __drm_atomic...licate_state(9). slay, go duplicate some state. πŸ”₯πŸ‘‘

πŸ“¦ where this page comes from