vkms_config_default_create(9)
π vkms_config_default_create(9)
okay so first things first, quick vibe check on what we're even looking at: this is a page from the Kernel API Manual, and it's about vkms_config_default_create. Yes it's kernel DRM stuff. No it's not scary. Sit with me. π«Ά
β¨ NAME β¨
vkms_config_default_create β Create the configuration for the default device
πΈ SYNOPSIS πΈ
struct vkms_config * vkms_config_default_create (bool enable_cursor ,
bool enable_writeback , bool enable_overlay , bool enable_plane_pipeline
);
likeβ¦ look at that signature. four little bools and a whole struct vkms_config * comes out. main character energy fr fr. π
π ARGUMENTS π
enable_cursorβ Create or not a cursor plane. that's it, that's the whole thing: cursor plane, yes or no. π±οΈenable_writebackβ Create or not a writeback connector. you either get one or you don't. β¨enable_overlayβ Create or not overlay planes. overlay planes: on or off, babes. πenable_plane_pipelineβ-- undescribed --
bestie I need you to know I am NOT gatekeeping here β the original page literally says -- undescribed -- for this one. so the argument exists, it's in the signature, and the manual justβ¦ didn't describe it. not me being lazy, that's just what the page says. π
π¦ RETURN π¦
Returns the default vkms_config β or, you know, an error, because life happens. π
When you're done with it, call vkms_config_destroy to free the returned configuration. like please actually free it. don't just leave it there. π
π§ SEE ALSO π§
All the siblings and cousins of this function, gathered for you, because the family is large and honestly iconic for it:
Kernel file ./drivers/gpu/drm/vkms/vkms_config.h 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_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 that's the whole page, you ate that up. π
this lil beauty lives in ./drivers/gpu/drm/vkms and the docs are stamped October 2026 β so go forth, make your default vkms config, and remember to vkms_config_destroy it. mwah. πβ¨
π¦ 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