vkms_create(9)
β¨ vkms_create(9) β¨
okay so bestie, welcome to the Kernel API Manual page for vkms_create β it's giving "tiny function, huge destiny" and honestly? iconic π
πΈ NAME πΈ
vkms_create β literally creates a device from a configuration, no cap π
π¦ SYNOPSIS π¦
int vkms_create (struct vkms_config *config );
π ARGUMENTS π
configβ the config you use to configure the new device β¨ like, it's the blueprint, the mood board, the whole personality of the device you're about to bring into existence π«Ά
π DESCRIPTION π
so here's the tea: a pointer to the created vkms_device gets stored in config. that's it, that's the whole vibe π your config walks in as a config and leaves holding a brand-new vkms_device pointer. main character energy fr fr π
β RETURN β
0 on success, or an error π that's the whole deal β zero means slay, anything else means something went sideways ngl.
π₯ SEE ALSO π₯
like, go read these next, they're all part of the same friend group π:
- Kernel file
./drivers/gpu/drm/vkms/vkms_drv.handstruct 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_destroy(9)vkms_crtc_init(9)vkms_output_init(9)vkms_plane_init(9)
π«Ά reminder bestie: this page lives under ./drivers/gpu/drm/vkms, dated October 2026 β that's the source, the version, and the date all in one cute little sign-off. now go forth and create some devices π
β¨πΈ
π¦ 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