vmw_du_plane...licate_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_du_plane_duplicate_state(9) β€” like, the Kernel API Manual, bestie ✨

okay so real talk, this page lives in the Kernel API Manual and its whole name is vmw_du_plane_duplicate_state(9). say it with me now 🫢


🌸 NAME 🌸

vmw_du_plane_duplicate_state β€” duplicate plane state πŸŽ€


✨ SYNOPSIS ✨

struct drm_plane_state * vmw_du_plane_duplicate_state (struct drm_plane
*plane );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • plane β€” the drm plane. that's her. that's the main character πŸ’…

πŸ’– DESCRIPTION πŸ’–

So basically this function allocates a copy of the plane state for the plane you handed it β€” and not just the common bits, the vmw-specific bits too, both of them, together, slay πŸ”₯ Then it returns that copy to you. It's giving "dupe it and give it back," and honestly? iconic.


⭐ RETURN ⭐

You get the newly allocated plane state back πŸ’« β€” or NULL on failure 😭 (yeah, she can flop, that's just how it is).


🌈 SEE ALSO 🌈

Also the kernel file lives right here: ./drivers/gpu/drm/vmwgfx/vmwgfx_kms.c


okay that's the whole page, no notes πŸ’€ and before you go β€” this little gem comes from ./drivers/gpu/drm/vmwgfx and it's dated October 2026, so jot that down bestie πŸ—“οΈπŸ’œ mwah, bye! πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from