STRUCT VKMS_CONFIGFS_DEVICE(9)
π struct vkms_configfs_device(9) π
okay so bestie, welcome to the Kernel API Manual, section 9 β this is the tea on struct vkms_configfs_device, and it's literally the configfs glow-up of a VKMS device. no cap. π«Ά
β¨ NAME β¨
struct vkms_configfs_device β the configfs representation of a VKMS device. it's giving "my whole personality is this struct" and honestly? iconic. π
πΈ SYNOPSIS πΈ
struct vkms_configfs_device {
struct config_group group;
struct config_group planes_group;
struct config_group crtcs_group;
struct config_group encoders_group;
struct config_group connectors_group;
struct mutex lock;
struct vkms_config *config;
bool enabled;
};
π¦ Members π¦
every single one is here, bestie, we do NOT skip members in this house π
groupβ the top level configuration group that represents a VKMS device. it gets initialized when a new directory is created under/config/vkms/. main character energy fr fr β¨planes_groupβ default subgroup ofgroupat/config/vkms/planes. slay. π©οΈcrtcs_groupβ default subgroup ofgroupat/config/vkms/crtcs. we love a well-organized subgroup. πencoders_groupβ default subgroup ofgroupat/config/vkms/encoders. yes bestie, that path exactly, don't @ me. πconnectors_groupβ default subgroup ofgroupat/config/vkms/connectors. plug it in, plug it in. πlockβ the lock used to project concurrent access to the configuration attributes. (yes, "project" β that's the word in the original, and it's lowkey serving bodyguard duty for your config. π‘οΈ)configβ protected bylock. this is the configuration of the VKMS device. πenabledβ protected bylock. the device is created or destroyed when this option changes. so like... flip it, and the whole device is born or yeeted π that's a lot of power for onebool, ngl.
π₯ SEE ALSO π₯
Kernel file ./drivers/gpu/drm/vkms/vkms_configfs.c β go read it, it's the source of truth bestie π
the whole friend group:
struct vkms_configfs_plane(9)π©οΈstruct vkms_configfs_crtc(9)π₯οΈstruct vkms_configfs_encoder(9)ποΈstruct vkms_configfs_connector(9)π
and that's the whole vibe check, bestie β no cap, every member accounted for, periodt. π
this has been struct vkms_configfs_device(9) from the Kernel API Manual, brought to you by the lovely humans at ./drivers/gpu/drm/vkms, dated October 2026. mwah, go forth and configure your VKMS device responsibly β¨π
π
π¦ 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