STRUCT VKMS_PLANE_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 a struct vkms_plane_state must 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