vmw_du_crtc_duplicate_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is the vmw_du_crtc_duplicate_state(9) page from the Kernel API Manual β€” and the name is literally doing the most: vmw_du_crtc_duplicate_state means duplicate crtc state. πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

here's the signature, copied exactly because we do not play with code:

struct drm_crtc_state * vmw_du_crtc_duplicate_state (struct drm_crtc
*crtc );

πŸ’… ARGUMENTS πŸ’…

  • crtc β€” a DRM crtc. that's the whole argument, periodt. it's the crtc whose state is getting duplicated. ✨

🌸 DESCRIPTION 🌸

okay so vmw_du_crtc_duplicate_state allocates and returns a copy of the crtc state for the specified crtc. and it's not just one little corner of the state β€” it's both the common state and the vmw-specific state. Together. In one copy. Iconic. πŸ’…


πŸ¦‹ RETURN πŸ¦‹

you get back the newly allocated crtc state. that's the main character right there, and it slays. πŸ‘‘

if it fails, you get NULL. 😭 not a vibe, but that's the failure case, ngl.


πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/gpu/drm/vmwgfx/vmwgfx_kms.c β€” that's the source spot, iykyk. 🫢

and here's the whole SEE ALSO squad, no cap:


source/version: ./drivers/gpu/drm/vmwgfx Β· date: October 2026 Β· page: vmw_du_crtc_duplicate_state(9) β€” byeee, go duplicate that state responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from