STRUCT RCAR_DU_PLANE_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 a const struct rcar_du_format_info *, so pointer to const, we're being polite πŸ”₯
  • hwindex β€” the 0-based hardware plane index. and heads up: -1 means unused. so if you see a -1 in there, that plane is lowkey just vibing, doing nothing πŸ’€
  • colorkey β€” the value of the plane colorkey property 🎨
ngl the struct also has a source field of type enum rcar_du_plane_source up 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