STRUCT RCAR_DU_PLANE_STATE(9)
β¨ struct rcar_du_plane_state(9) β¨
okay so bestie, this is a page from the Kernel API Manual and it's literally all about struct rcar_du_plane_state β the driver-specific plane state. that's it, that's the vibe. it's giving "small struct, big responsibilities" π
πΈ NAME πΈ
struct rcar_du_plane_state β driver-specific plane state π
like, the state that belongs to this driver specifically, not the generic DRM one. iykyk.
β¨ SYNOPSIS β¨
here's the whole struct, copied exactly, no cap:
struct rcar_du_plane_state {
struct drm_plane_state state;
const struct rcar_du_format_info *format;
int hwindex;
enum rcar_du_plane_source source;
unsigned int colorkey;
};
look at her. iconic. five fields, zero notes. π¦
π Members π
okay so let's go through the members one by one, bestie, no skipping:
stateβ the base DRM plane state. that's the generic one it's built on top of π«Άformatβ info about the pixel format the plane is using. it's aconst struct rcar_du_format_info *, so pointer to const, we're being polite π₯hwindexβ the 0-based hardware plane index. and heads up:-1means unused. so if you see a-1in there, that plane is lowkey just vibing, doing nothing πcolorkeyβ the value of the plane colorkey property π¨
ngl the struct also has asourcefield of typeenum rcar_du_plane_sourceup in the synopsis, but this page doesn't describe it, so i'm not gonna make anything up about it. that's a mystery for another manpage π§
π SEE ALSO π
go look at the kernel file, bestie, that's where the real tea is:
./drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.h
and that's the whole page!! short and sweet, main character energy honestly π
sign-off time: this one comes from ./drivers/gpu/drm/renesas/rcar-du and it's dated October 2026 β so yeah, mark your calendars, bestie ποΈπ
π¦ 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