STRUCT RZG2L_DU_CRTC_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct rzg2l_du_crtc_state(9) ✨

okay so bestie, this is a page from the Kernel API Manual, section 9, and it's about one very specific little struct. no cap, it's tiny but it's important. let's get into it πŸ’…


🌸 NAME 🌸

struct rzg2l_du_crtc_state β€” the driver-specific CRTC state. that's it, that's the whole vibe. it's the state struct your driver gets to call its own 🫢


πŸŽ€ SYNOPSIS πŸŽ€

struct rzg2l_du_crtc_state {
    struct drm_crtc_state state;
    unsigned int outputs;
};

look at her. two members. minimal. iconic. πŸ‘‘


πŸ’– Members πŸ’–

  • state β€” the base DRM CRTC state. this is the inherited, standard-issue one, sitting right there at the top of the struct so the driver-specific stuff can hang out with it. lowkey the main character of the two πŸ¦‹
  • outputs β€” a bitmask of the outputs that this CRTC drives. the outputs are of type enum rzg2l_du_output, and yes it's a bitmask, so it's giving "one unsigned int, many flags" energy πŸ”₯

🌈 SEE ALSO 🌈

  • the kernel file ./drivers/gpu/drm/renesas/rz-du/rzg2l_du_crtc.h β€” that's where this header lives, go read it iykyk
  • struct rzg2l_du_crtc(9) β€” the sibling struct, definitely worth a vibe check too ✨

aaaand that's the whole page, bestie. short, sweet, no notes πŸ™ˆ

πŸ’œ cute lil sign-off: this beauty comes from ./drivers/gpu/drm/renesas/rz-du, dated October 2026, and she's filed under struct rzg2l_du_crtc_state(9) in the Kernel API Manual. periodt. πŸ’…
πŸ“¦ where this page comes from