vkms_config_...te_connector(9)
π vkms_config_create_connector(9) β like, the Kernel API Manual page bestie π
Okay so this is a page straight out of the Kernel API Manual, and it's about one little function that makes a whole new connector config. Yes bestie, connector, like the thing that plugs into stuff. It's giving "build-a-bear but for DRM". π§β¨
πΈ NAME πΈ
vkms_config_create_connector β add a new connector configuration. That's it, that's the job. No cap. π
β¨ SYNOPSIS β¨
struct vkms_config_connector * vkms_config_create_connector (struct
vkms_config *config );
Look at her. One function, one pointer in, one fancy struct pointer out. Iconic. π
π ARGUMENTS π
configβ the configuration you're adding the connector to. Like, the config is the main character and your new connector is joining the group chat. π«Ά
π₯ RETURN π₯
You get back the new connector configurationβ¦ or an error. π That's the vibe check β sometimes you slay, sometimes you get an error back.
β οΈ Real talk bestie: when you're done with the connector configuration, call vkms_config_destroy_connector to free it. Don't just ghost it, okay? That's a leak. Free your memory. π
π SEE ALSO π
So this page is in the kernel file ./drivers/gpu/drm/vkms/vkms_config.h and there is so much family here. Like, the whole extended friend group showed up. π
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_attach_crtc(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_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)
Yes, that's all of them. I counted. Go read them. Iykyk. π
Mwah π that's the whole page, bestie. This gem lives in ./drivers/gpu/drm/vkms, it's from the Kernel API Manual, and it's dated October 2026 β so, like, future core but still fr fr accurate. Periodt. βππ
π¦ 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