STRUCT VKMS_CONFIG_CONNECTOR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct vkms_config_connector(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual entry for struct vkms_config_connector β€” yes that's the manual name, we're in the kernel API docs section, section 9, no cap 🫢


✨ NAME ✨

struct vkms_config_connector β€”

and that's... literally it 😭 the original page gives zero description blurb here, so we're not making one up. The whole personality lives in the members down below πŸ‘‡


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the struct in all its glory, copied exactly, do not touch:

struct vkms_config_connector {
    struct list_head link;
    struct vkms_config *config;
    enum drm_connector_status status;
    struct xarray possible_encoders;
    struct vkms_connector *connector;
 };

πŸŽ€ Members πŸŽ€

the way each field has a whole job, we love a structured queen πŸ‘‘

  • link β€” the link that hooks this connector up to the other connectors inside vkms_config πŸ’«
  • config β€” the vkms_config that this connector belongs to, its home base, its main character context 🏠
  • status β€” the status of the connector (connected, disconnected, you know the vibe...) πŸŸ’πŸ”΄
  • possible_encoders β€” an array of encoders that can be used with this connector; like the connector's little black book of compatible encoders πŸ—‚οΈβœ¨
  • connector β€” ⚠️ internal usage only, bestie! this pointer should never be considered as valid. It can be used to store a temporary reference to a VKMS connector during device creation. This pointer is not managed by the configuration and must be managed by other means. so like... it's giving "temporary situationship", not "official relationship" πŸ’€ handle it yourself fr fr
lowkey important: that last one is not your average pointer. don't trust it, don't assume it's valid, and don't expect the config to clean up after it. that's on you πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

goes without saying but I'm saying it anyway: this is a Kernel file, specifically ./drivers/gpu/drm/vkms/vkms_config.h πŸ“

the structs first, because family:

  • struct vkms_config(9)
  • struct vkms_config_plane(9)
  • struct vkms_config_crtc(9)
  • struct vkms_config_encoder(9)

then all the for-each girls, iconic behaviour:

lifecycle + general config era:

planes, planes, planes:

crtc gang:

encoders, periodt:

and the connector besties, our actual neighbours πŸ’–:


that's the whole page, no notes, ate and left no crumbs 🌈✨

sign-off time πŸŽ€ this one lives under ./drivers/gpu/drm/vkms, dated October 2026, and it's part of the Kernel API Manual β€” go read the source, ily, bye πŸ’œπŸ¦‹

πŸ“¦ where this page comes from