STRUCT VKMS_PLANE_STATE(9)
β¨ struct vkms_plane_state(9) β¨
okay bestie, welcome to the struct vkms_plane_state(9) page β it lives in the Kernel API Manual and it's literally the driver-specific plane state, no cap. π
π NAME π
struct vkms_plane_state β Driver specific plane state π¦
πΈ SYNOPSIS πΈ
struct vkms_plane_state {
struct drm_shadow_plane_state base;
struct vkms_frame_info *frame_info;
pixel_read_line_t pixel_read_line;
struct conversion_matrix conversion_matrix;
};
π Members π
baseβ the base plane state, it's giving foundation, it's giving roots πframe_infoβ all the data you need for composing computation β¨pixel_read_lineβ a function that reads a pixel line in this plane. lowkey important: whoever creates astruct vkms_plane_statemust make sure this pointer is valid β like fr fr, don't leave it vibing in the void πconversion_matrixβ the matrix used for yuv formats to convert to rgb π (yes bestie, the math is mathing)
π«Ά SEE ALSO π«Ά
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_crtc_state(9), struct vkms_output(9), struct vkms_device(9), vkms_create(9), vkms_destroy(9), vkms_crtc_init(9), vkms_output_init(9), vkms_plane_init(9)
and that's the whole vibe, go slay your planes π
this page came straight out of ./drivers/gpu/drm/vkms, and it's dated October 2026 β iconic, timeless, periodt. πβ¨
π¦ 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