STRUCT RZG2L_DU_CRTC_STATE(9)
β¨ 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 typeenum rzg2l_du_output, and yes it's a bitmask, so it's giving "oneunsigned 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 understruct rzg2l_du_crtc_state(9)in the Kernel API Manual. periodt. π
π¦ 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