STRUCT VKMS_CONFIG(9)
π struct vkms_config(9) β like, the whole vibe guide π
okay so bestie, welcome to the Kernel API Manual entry for struct vkms_config β literally the general configuration for the VKMS driver, and it's giving main character energy fr fr π
β¨ NAME β¨
struct vkms_config β the general configuration for the VKMS driver. that's it, that's the whole name section, slay π
πΈ SYNOPSIS πΈ
here's the struct in all its glory, bestie β copy it exactly, no cap:
struct vkms_config {
const char *dev_name;
struct list_head planes;
struct list_head crtcs;
struct list_head encoders;
struct list_head connectors;
struct vkms_device *dev;
};
π¦ Members π¦
okay so every single field, one by one, let's go π«Ά
dev_nameβ the name of the device. iconic little string, does exactly what it says πplanesβ the list of planes configured for the device β¨crtcsβ the list of CRTCs configured for the device, yes bestie, CRTCs, you know the vibe πencodersβ the list of encoders configured for the device π₯connectorsβ the list of connectors configured for the device πdevβ used to store the current VKMS device. only set when the device is instantiated π (like, don't go reading it before then, okay? it's not ready yet π)
β SEE ALSO β
Kernel file ./drivers/gpu/drm/vkms/vkms_config.h struct β and like, the entire extended friend group of functions, all of them, no skipping π:
vkms_config_plane(9)vkms_config_crtc(9)vkms_config_encoder(9)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_attach_encoder(9)vkms_config_connector_detach_encoder(9)vkms_config_connector_get_status(9)vkms_config_connector_set_status(9)
π okay bye bestie, this page came to you from ./drivers/gpu/drm/vkms, dated October 2026 β go forth and configure, iykyk π
β¨
π¦ 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