vkms_config..._attach_crtc(9)
π vkms_config_plane_attach_crtc(9) β like, the whole glow-up
okay so bestie, welcome to the Kernel API Manual β¨ β yes, this is that vkms_config..._attach_crtc(9) page you clicked on, and honestly? it's a short one but it serves. Sit down, grab a strawberry drink π, and let's get into it.
πΈ NAME πΈ
vkms_config_plane_attach_crtc β literally just attach a plane to a CRTC π«Ά that's the whole vibe, no cap.
β¨ SYNOPSIS β¨
int vkms_config_plane_attach_crtc (struct vkms_config_plane *plane_cfg ,
struct vkms_config_crtc *crtc_cfg );
it returns an int, it takes two pointers, and it is not complicated β the way this signature is so clean? iconic π
π ARGUMENTS π
plane_cfgβ the plane you're attaching π she's the main character here, the one getting linked up.crtc_cfgβ the CRTC you're attachingplane_cfgto. think of it as the destination, the person being added on the group chat π
so basically you're setting up plane_cfg β crtc_cfg. matchmaker energy, fr fr π
ngl bestie, quick reminder: both of these are pointers to structs βstruct vkms_config_plane *andstruct vkms_config_crtc *β exactly like the synopsis says. don't be out here passing the wrong type, okay? π
π¦ SEE ALSO π¦
ooh okay this is the part where the page really pops off, because the whole friend group shows up π―ββοΈβ¨
the kernel file is ./drivers/gpu/drm/vkms/vkms_config.h β that's home base π
and then, in no particular order (okay, fine, in exactly this order):
struct vkms_config(9)struct vkms_config_plane(9)struct vkms_config_crtc(9)struct vkms_config_encoder(9)struct vkms_config_connector(9)vkms_config_for_each_plane(9)vkms_config_for_each_crtc(9)vkms_config_for_each_encoder(9)vkms_config_for_each_connector(9)vkms_config_plane_for_each_possible_crtc(9)vkms_config_encoder_for_each_possible_crtc(9)vkms_config_connector_for_each_possible_encoder(9)vkms_config_create(9)vkms_config_default_create(9)vkms_config_destroy(9)vkms_config_get_device_name(9)vkms_config_get_num_crtcs(9)vkms_config_is_valid(9)vkms_config_register_debugfs(9)vkms_config_create_plane(9)vkms_config_destroy_plane(9)vkms_config_plane_set_type(9)vkms_config_plane_get_default_pipeline(9)vkms_config_plane_set_default_pipeline(9)vkms_config_plane_detach_crtc(9)vkms_config_create_crtc(9)vkms_config_destroy_crtc(9)vkms_config_crtc_get_writeback(9)vkms_config_crtc_set_writeback(9)vkms_config_crtc_primary_plane(9)vkms_config_crtc_cursor_plane(9)vkms_config_create_encoder(9)vkms_config_destroy_encoder(9)vkms_config_encoder_attach_crtc(9)vkms_config_encoder_detach_crtc(9)vkms_config_create_connector(9)vkms_config_destroy_connector(9)vkms_config_connector_attach_encoder(9)vkms_config_connector_detach_encoder(9)vkms_config_connector_get_status(9)vkms_config_connector_set_status(9)
like, the whole vkms_config universe is right there β go read them all, iykyk ππ₯
and that's the page, bestie π she's short, she's sweet, and she does exactly one thing: attaches a plane to a CRTC. periodt. π§
this β¨ iconic β¨ little page lives in./drivers/gpu/drm/vkmsand it's dated October 2026, filed under the manual namevkms_config..._attach_crtc(9)β mwah, sending you off with a kiss and amanpage that slays πππΈ
π¦ 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