vkms_config_destroy_encoder(9)
π vkms_config_destroy_encoder β ok bestie, let's clean up an encoder
hey so you're looking at vkms_config_destroy_encoder(9) β that's the Kernel API Manual territory, section 9, kernel-doc vibes only, no userland shenanigans here. β¨ And the name literally spills the tea: this one removes and frees an encoder configuration. Like, remove it from the config AND free the thing. Both. Together. Iconic behavior honestly. π
β¨ SYNOPSIS β¨
void vkms_config_destroy_encoder (struct vkms_config *config , struct
vkms_config_encoder *encoder_cfg );
Returns nothing (void), takes two structs, does the deed. Fr fr that's it. π«Ά
πΈ ARGUMENTS πΈ
configβ the configuration you're removing the encoder from. Like, this is the friend group the encoder is leaving. πencoder_cfgβ the encoder configuration that's getting destroyed. It's the one getting uninvited. π
π¦ SEE ALSO π¦
Ok this is the long part, grab a snack. π All of these live in the kernel file ./drivers/gpu/drm/vkms/vkms_config.h, and they're all (9) man pages:
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_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_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)
lowkey the whole vkms_config family is a unit β create it, attach it, detach it, destroy it, check if it's valid. read the neighbors, iykyk. π₯
ok that's the whole thing, no crumbs left behind. π this page came from the ./drivers/gpu/drm/vkms source, version date October 2026 β go off, and remember: destroy responsibly, 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