intel_plane_duplicate_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… intel_plane_duplicate_state(9) β€” the Kernel API Manual, but make it cute

okay so bestie, welcome to the intel_plane_duplicate_state page from the Kernel API Manual ✨ this one's short and sweet and honestly kind of a serve β€” it's the little helper that makes a copy of your plane state so you can go mess with the new one without touching the original. self-care, but for structs πŸ’–


🌸 NAME 🌸

intel_plane_duplicate_state β€” duplicate plane state. that's it, that's the whole vibe. duplicate plane state. copy it. twin it. make it a matching set πŸŽ€


✨ SYNOPSIS ✨

struct drm_plane_state * intel_plane_duplicate_state (struct drm_plane
*plane );

like, you hand it a plane, it hands you back a sparkly new struct drm_plane_state *. iconic behavior tbh πŸ‘‘


🫢 ARGUMENTS 🫢

  • plane β€” the drm plane. that's your girl right there, the one whose state we're about to clone πŸ’…

🌈 DESCRIPTION 🌈

so what actually happens? intel_plane_duplicate_state allocates and returns a copy of the plane state for the plane you specified β€” and not just the common part, the Intel-specific part too. both of them. together. matching. it's giving "you and your bestie wearing the same outfit but make it a struct" πŸ’–βœ¨

no cap, that's the entire description. short king of a manpage πŸ‘‘


πŸ¦‹ RETURN πŸ¦‹

the newly allocated plane state, all fresh and ready to be yours 🌸

or NULL on failure 😭 which, yeah, sad, but at least you know.

πŸ”₯ SEE ALSO πŸ”₯

the whole little friend group fr fr 🫢 go say hi to all of them.


and that's the page!! πŸŽ€ this queen comes to you from ./drivers/gpu/drm/i915/display, version-dated October 2026, and she answers to the name intel_plane_duplicate_state(9). mwah πŸ’‹πŸ’œ

πŸ“¦ where this page comes from