vkms_destroy(9)
π
vkms_destroy β like, the kernel API manual page for vkms_destroy(9)
okay bestie, so this is a page from the Kernel API Manual (section 9), and it's about one very specific little function. it's short, it's sweet, and it's literally gonna take you thirty seconds. let's go π
β¨ NAME β¨
vkms_destroy β the function that destroys a device. yes, that's really it. dramatic, but accurate π
πΈ SYNOPSIS πΈ
void vkms_destroy (struct vkms_config *config );
no return value, no surprises. it takes one pointer and it does one job π«Ά
π¦ ARGUMENTS π¦
configβ the config from which the device was created. not some random config, okay? this one. the one it came from. iykyk π
π₯ DESCRIPTION π₯
so here's the vibe check: the device gets completely removed. gone. not in a scary way, in a "we're done here" way β¨
but β and this is the important part, no cap β the config is not freed. it survives. it's still yours. the manpage is very clear that it can be reused, or destroyed separately with vkms_config_destroy. so don't you dare assume this function nuked your config, because it did not π
ok so quick recap bestie: device = destroyed. config = alive and unbothered. do with that what you will π
π SEE ALSO π
all the sibling functions and structs, in the order the page gives them, and yes we're listing every single one because that's the whole point π
kernel file ./drivers/gpu/drm/vkms/vkms_drv.h, plus:
struct vkms_frame_info(9)struct pixel_argb_u16(9)pixel_write_t(9)enum pixel_read_direction(9)pixel_read_line_t(9)struct conversion_matrix(9)struct vkms_plane_state(9)struct vkms_crtc_state(9)struct vkms_output(9)struct vkms_device(9)vkms_create(9)vkms_crtc_init(9)vkms_output_init(9)vkms_plane_init(9)
and that's the whole page, bestie, you ate that π this one lives at ./drivers/gpu/drm/vkms and the version/date on it is October 2026 β so like, future energy fr fr π bye bye π§
π¦ 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