vkms_config_crtc_get_plane(9)
π 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
- 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