STRUCT RZG2L_DU_CRTC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct rzg2l_du_crtc(9) 🌸

okay bestie, welcome to the Kernel API Manual ✨ β€” today's main character is struct rzg2l_du_crtc, aka the CRTC, representing a DU superposition processor. yes that's the whole vibe. she's a superposition processor and she knows it πŸ’…


✨ NAME ✨

struct rzg2l_du_crtc β€” the CRTC, representing a DU superposition processor 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

no cap, here's the whole struct, copied with love and zero typos:

struct rzg2l_du_crtc {
    struct drm_crtc crtc;
    struct rzg2l_du_device *dev;
    bool initialized;
    bool vblank_enable;
    struct drm_pending_vblank_event *event;
    wait_queue_head_t flip_wait;
    struct rzg2l_du_vsp *vsp;
    unsigned int vsp_pipe;
    const char *const *sources;
    unsigned int sources_count;
    struct reset_control *rstc;
    struct {
      struct clk *aclk;
      struct clk *pclk;
      struct clk *dclk;
    } rzg2l_clocks;
 };

πŸ’– Members πŸ’–

time for the member-by-member vibe check, bestie β€” every single one, in order, no skipping 😀

  • crtc β€” the base DRM CRTC. the foundation, the blueprint, the it girl of the struct πŸ‘‘
  • dev β€” the DU device. literally her device. slay πŸ’…
  • initialized β€” whether the CRTC has been initialized and clocks enabled. true means she's up and glowing, false means she's still getting ready πŸ”₯
  • vblank_enable β€” whether vblank events are enabled on this CRTC. the on/off switch for the vblank situation ⭐
  • event β€” event to post when the pending page flip completes. the little announcement she drops when the flip is done, periodt πŸ“£
  • flip_wait β€” wait queue used to signal page flip completion. this is where everyone waits politely for the flip to finish 🧚
  • vsp β€” VSP feeding video to this CRTC. her personal video supplier, iykyk πŸ“
  • vsp_pipe β€” index of the VSP pipeline feeding video to this CRTC. which pipe, specifically. the exact one πŸ’œ
  • rstc β€” reset controller. the reset button, but make it a struct πŸŽ€
  • rzg2l_clocks β€” the bus, main and video clock. three clocks, one little anonymous struct, iconic 🌈
    • it's got aclk, pclk and dclk in there, all of type struct clk * β€” that's the bus, main and video clock respectively πŸ•°οΈ
tiny heads-up bestie: sources and sources_count do show up in the struct above, but this page doesn't say a single word about what they do πŸ™ˆ not me noticing, not me saying anything... they're just there, living rent free πŸ’€

🌺 SEE ALSO 🌺

  • Kernel file ./drivers/gpu/drm/renesas/rz-du/rzg2l_du_crtc.h πŸ“
  • struct rzg2l_du_crtc_state(9) β€” go read it, it's giving sequel energy πŸ’«

okay and finally, the cute little sign-off so nothing gets lost: this whole thing lives in ./drivers/gpu/drm/renesas/rz-du, it's the October 2026 edition, and it's all about struct rzg2l_du_crtc(9) 🫢 go forth and superposition, bestie. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from