vkms_crtc_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ vkms_crtc_init(9) ✨

okay so this is a page from the Kernel API Manual, bestie, and it's literally all about vkms_crtc_init β€” the glow-up moment where a CRTC gets born into the VKMS world πŸ’… no cap, it's a constructor and it's iconic for it.


πŸŽ€ NAME πŸŽ€

vkms_crtc_init β€” Initialize a CRTC for VKMS

like… that's the whole vibe. it makes a CRTC. for VKMS. slay.


πŸ¦‹ SYNOPSIS πŸ¦‹

struct vkms_output * vkms_crtc_init (struct drm_device *dev , struct
drm_plane *primary , struct drm_plane *cursor );

so you call it, you hand it three things, and it gives you back a struct vkms_output * 🫢 that's the whole deal, fr fr.


🌸 ARGUMENTS 🌸

okay bestie let's go through what you're passing in, one by one, no skipping πŸ‘‘

  • dev β€” the DRM device that's associated with the VKMS buffer. it's giving "who do you belong to" energy and honestly? valid.
  • primary β€” the primary plane you're attaching to the CRTC. main character plane, obviously πŸ‘‘
  • cursor β€” the plane you're attaching to the CRTC. yes queen, the cursor gets to come too πŸ–±οΈβœ¨
lowkey important: primary is the primary plane, cursor is a plane β€” the wording is different in the original and I'm not about to lie to you about it πŸ’€

🌈 SEE ALSO 🌈

the group chat of related things πŸ’¬ all of these live in the kernel file ./drivers/gpu/drm/vkms/vkms_drv.h, and here's the full squad β€” not one of them is getting left on read:


and that's the whole page, bestie πŸ“ this lil' beauty comes to you from ./drivers/gpu/drm/vkms, dated October 2026 β€” so yeah, future vibes only πŸ§šβ€β™€οΈβœ¨ mwah, go init some CRTCs, ily πŸ’œ

πŸ“¦ where this page comes from