vkms_config_create_crtc(9)
π vkms_config_create_crtc(9) π
okay so bestie, welcome to the Kernel API Manual β this little page is all about vkms_config_create_crtc from the vkms_config_create_crtc(9) chapter, and it's honestly giving "small but crucial" energy. let's get into it π«Ά
β¨ NAME β¨
vkms_config_create_crtc β add a new CRTC configuration π
πΈ SYNOPSIS πΈ
struct vkms_config_crtc * vkms_config_create_crtc (struct vkms_config
*config );
like, that's the whole vibe. one function, one pointer in, one pointer out β¨
π ARGUMENTS π
configβ the configuration you're adding the CRTC to. that's it, that's the whole argument, she's low maintenance π
π¦ RETURN π¦
it hands you back the brand-new CRTC configuration, or an error if things go sideways π and listen β when you're done with it, call vkms_config_destroy_crtc to free that returned CRTC configuration. no leaving her hanging, that's not the vibe fr fr π«Ά
ok important bestie note: vkms_config_destroy_crtc is the cleanup queen. don't ghost your CRTC config, she deserves better π
π SEE ALSO π
like the whole friend group π«Ά β go say hi to:
- 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_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_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)
and that's the page!! πβ¨
cute little sign-off time: this one lives in ./drivers/gpu/drm/vkms, dated October 2026, and it's filed under vkms_config_create_crtc(9) in the Kernel API Manual. mwah, go build some CRTCs bestie ππ₯
π¦ 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