STRUCT KOMEDA_PLANE_STATE(9)
π struct komeda_plane_state(9) β Kernel API Manual, bestie edition π
okay so this is a page from the Kernel API Manual, literally all about struct komeda_plane_state, and tbh it's short but it's iconic. let's get into it π«Ά
β¨ NAME β¨
struct komeda_plane_state β yes, that's the whole name, no subtitle, the manpage just leaves it there like a mystery. ngl, mysterious main character energy π₯
πΈ SYNOPSIS πΈ
here's the struct, bestie, copied exactly because we do not mess with code:
struct komeda_plane_state {
struct drm_plane_state base;
struct list_head zlist_node;
u8 layer_split : 1;
};
π Members π
girl there are three members and each one is serving a purpose:
baseβ adrm_plane_state. it's the foundation, the blueprint, the base of the whole situation πzlist_nodeβ the zorder list node. it's how this plane keeps its place in the zorder list, iykyk πlayer_splitβ an on/offlayer_split. the actual field is au8 layer_split : 1bitfield, so it's literally a one-bit vibe check π¦
π Description π
okay so the description is where it gets good. the plane_state can be split into two data flows β left and right π β and then it's handled by two layers: komeda_plane.layer and komeda_plane.layer.right. that's it, that's the whole flex. two layers, one plane state, periodt πβ¨
π SEE ALSO π
go read these too, no cap, they're all connected:
- Kernel file
./drivers/gpu/drm/arm/display/komeda/komeda_kms.hβ that's where the struct lives π§ struct komeda_plane(9)struct komeda_wb_connector(9)struct komeda_crtc(9)struct komeda_crtc_state(9)
heads up bestie: that struct in the SYNOPSIS has that little extra space before the closing brace β that's exactly how it's printed here, so keep it cute and keep it as-is π
okay and the cute sign-off: this page comes from ./drivers/gpu/drm/arm/display/... and the date on it is October 2026, and it's literally titled struct komeda_plane_state(9) all over again at the bottom π go read the kernel source, slay π
π¦ 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