intel_plane_duplicate_state(9)
π 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 kernel file
./drivers/gpu/drm/i915/display/intel_plane.cβ that's where she lives π atomic plane helpers(9)intel_plane_destroy(9)intel_plane_destroy_state(9)intel_prepare_plane_fb(9)intel_cleanup_plane_fb(9)
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
- 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