vkms_config_destroy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– vkms_config_destroy(9) πŸ’–

okay so real talk β€” this is a page from the Kernel API Manual (yes, the kernel has manuals, and yes they're lowkey iconic). grab a strawberry πŸ“ and let's get into it, bestie.


✨ NAME ✨

vkms_config_destroy β€” frees a VKMS configuration. that's it. that's the whole job. it's giving cleanup crew main character energy πŸ§ΉπŸ’…


🌸 SYNOPSIS 🌸

void vkms_config_destroy (struct vkms_config *config );

returns nothing (void), takes one pointer, no cap. simple. elegant. we love to see it 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • config β€” the vkms_config you want to free. hand it over and it gets yeeted into the void πŸ’€βœ¨ literally just the thing being destroyed.
no return value means there's nothing to check afterwards β€” the call is the whole story, so don't go looking for a status code that doesn't exist πŸ™ˆ

πŸŽ€ SEE ALSO πŸŽ€

okay this is the part where the group chat blows up, because the whole VKMS family shows up πŸ˜­πŸ‘‘

first up, the header file and the struct itself:

  • Kernel file ./drivers/gpu/drm/vkms/vkms_config.h and struct vkms_config(9) ⭐

then the struct squad:

  • struct vkms_config_plane(9)
  • struct vkms_config_crtc(9)
  • struct vkms_config_encoder(9)
  • struct vkms_config_connector(9)

the for-each besties (loop girlies, we stan):

the create/destroy/inspect crowd:

planes, planes, planes πŸ›©οΈ:

crtc behaviour 🌈:

encoders πŸ”₯:

connectors, the final boss πŸ’œ:

that's literally all of them, fr fr β€” nothing skipped, nothing merged, iykyk 😌


and that's the page, bestie!! πŸŽ€ this little gem lives down in ./drivers/gpu/drm/vkms, straight from the October 2026 drop β€” so go forth and free your configs responsibly. mwah πŸ’‹βœ¨πŸŒΈ

πŸ“¦ where this page comes from