STRUCT VKMS_DEVICE(9)
π struct vkms_device(9) β the kernel API manual, bestie edition π
okay so you clicked into struct vkms_device and you're like "what IS this" β don't worry, it's just the little home base for a VKMS device. Description of a VKMS device, that's the whole vibe. iykyk π¦
β¨ SYNOPSIS β¨
here's the shape of it, exactly as it lives, no cap:
struct vkms_device {
struct drm_device drm;
struct faux_device *faux_dev;
const struct vkms_config *config;
};
three members, all main characters. π
πΈ Members πΈ
configβ the Configuration used in this VKMS device π
π¦ Description π¦
so like, breaking it down member by member because that's what we do here:
drmβ the Base device in DRM πfaux_devβ the Associated faux device π₯outputβ the Configuration and sub-components of the VKMS device β¨
not me pointing out that output shows up here in the Description but isn't in the Members list above β that's just how the page is, so i'm keeping it fr fr π«Ά
π SEE ALSO π
go read these next, they're all linked up π:
- Kernel file
./drivers/gpu/drm/vkms/vkms_drv.h 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)vkms_create(9)vkms_destroy(9)vkms_crtc_init(9)vkms_output_init(9)vkms_plane_init(9)
it's giving "one big friend group" honestly π
and that's the whole page, bestie β slay, you read all of it β¨
source/version: ./drivers/gpu/drm/vkms Β· dated October 2026 Β· still struct vkms_device(9) at the end, never change π
kisses, go init a plane π§π
π¦ 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