vkms_config_...tach_encoder(9)
π vkms_config_connector_attach_encoder (Kernel API Manual, bestie edition)
okay so literally welcome to the group chat, this one's from the Kernel API Manual and it's all about that vkms_config_connector_attach_encoder life β¨
πΈ NAME πΈ
vkms_config_connector_attach_encoder β attach a connector to an encoder π«Ά like, you're literally introducing them, matchmaker style
β¨ SYNOPSIS β¨
int vkms_config_connector_attach_encoder (struct vkms_config_connector
*connector_cfg , struct vkms_config_encoder *encoder_cfg );
she's giving int, she takes two pointer args, no cap π
π ARGUMENTS π
connector_cfgβ the connector you're attaching, aka the one being set up with somebody π this is the connector's main character momentencoder_cfgβ the encoder you're attachingconnector_cfgto. yes bestie, this is the one she's getting attached to π
lowkey it's just two pointers and a dream, but keep them straight or it's giving undefined chaos π₯
π¦ SEE ALSO π¦
everything else in the vkms_config cinematic universe, fr fr. the kernel file lives at ./drivers/gpu/drm/vkms/vkms_config.h and here's the whole friend group π
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_create_connector(9)vkms_config_destroy_connector(9)vkms_config_connector_detach_encoder(9)vkms_config_connector_get_status(9)vkms_config_connector_set_status(9)
π okay that's the whole thing, go forth and attach ur connectors responsibly. this masterpiece dropped from ./drivers/gpu/drm/vkms back in October 2026 under the vkms_config_...tach_encoder(9) banner β mwah, iconic, 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