vkms_config_crtc_get_plane(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vkms_config_crtc_get_plane β€” the kernel API manual, bestie edition πŸŽ€

okay so this is a page from the Kernel API Manual, and today's main character is vkms_config_crtc_get_plane(9). she's a little lookup function and honestly? she ate. let's get into it ✨


🌸 NAME 🌸

vkms_config_crtc_get_plane β€” returns the first attached plane to a CRTC that has the specific type πŸ’–

like, you give her a CRTC and a vibe (the type), and she hands you back the first plane matching that vibe. that's it. that's the whole job. iconic.


πŸ¦‹ SYNOPSIS πŸ¦‹

struct vkms_config_plane * vkms_config_crtc_get_plane (const struct
vkms_config *config , struct vkms_config_crtc *crtc_cfg , enum
drm_plane_type type );

three arguments, all listed out, no notes. copy her exactly, don't be weird about it 🫢


✨ ARGUMENTS ✨

  • config β€” the configuration that's holding the CRTC and the plane. she's the container, the whole situation, the group chat if you will πŸ’…
  • crtc_cfg β€” only find planes attached to this CRTC. like, stay in your lane, look only here, no wandering πŸŽ€
  • type β€” the plane type to search for. this is the vibe check. the plane has to match it or she's not interested ⭐

πŸ”₯ RETURN πŸ”₯

The first plane found attached to crtc_cfg with the type type. πŸ’–

no cap β€” she returns the first one she finds, so if you were expecting a whole list, bestie, that's not this function. she's giving "first match wins" energy and we respect her for it πŸ‘‘

🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/vkms/vkms_config.c β€” go read the source, iykyk, the lore is all in there 🧚


okay that's the whole page, you're so welcome πŸ’œ this one came out of ./drivers/gpu/drm/vkms, dated October 2026, and it's literally the vkms_config_crtc_get_plane(9) manual page β€” periodt. go forth and find your planes, bestie, and remember: first match, matching type, only attached to that CRTC. slay πŸŒŸπŸ‘‘πŸ’…

πŸ“¦ where this page comes from