STRUCT RCAR_DU_CRTC(9)
π struct rcar_du_crtc(9) π
okay bestie, welcome to the Kernel API Manual entry for struct rcar_du_crtc β and yes, we're doing this, because this little icon is literally the CRTC, representing a DU superposition processor. main character energy fr fr β¨
β¨ NAME β¨
struct rcar_du_crtc β the CRTC, representing a DU superposition processor π
π¦ SYNOPSIS π¦
struct rcar_du_crtc {
struct drm_crtc crtc;
struct rcar_du_device *dev;
struct clk *clock;
struct clk *extclock;
unsigned int mmio_offset;
unsigned int index;
bool initialized;
u32 dsysr;
bool vblank_enable;
struct drm_pending_vblank_event *event;
wait_queue_head_t flip_wait;
spinlock_t vblank_lock;
wait_queue_head_t vblank_wait;
unsigned int vblank_count;
struct rcar_du_group *group;
struct rcar_du_cmm *cmm;
struct rcar_du_vsp *vsp;
unsigned int vsp_pipe;
const char *const *sources;
unsigned int sources_count;
struct drm_writeback_connector writeback;
};
like, look at her. a whole struct. a whole vibe. π
πΈ Members πΈ
okay so here's the member-by-member tour, no skipping, we're doing all of them π«Ά
crtcβ the base DRM CRTC. the foundation, the moment, the blueprint πdevβ the DU device. her home base πclockβ the CRTC functional clock β°extclockβ external pixel dot clock (optional). she's optional but iconic β¨mmio_offsetβ offset of the CRTC registers in the DU MMIO block πindexβ CRTC hardware index π’initializedβ whether the CRTC has been initialized and clocks enabled. the "have you eaten yet" of booleans πdsysrβ cached value of the DSYSR register. cached, like receipts π§Ύvblank_enableβ whether vblank events are enabled on this CRTC πeventβ event to post when the pending page flip completes πflip_waitβ wait queue used to signal page flip completion β³vblank_lockβ protectsvblank_waitandvblank_countπvblank_waitβ wait queue used to signal vertical blanking π¦vblank_countβ number of vertical blanking interrupts to wait for π’groupβ CRTC group this CRTC belongs to π―cmmβ CMM associated with this CRTC π«vspβ VSP feeding video to this CRTC π₯vsp_pipeβ index of the VSP pipeline feeding video to this CRTC π§writebackβ the writeback connector π
ngl bestie, that's a lot of members, but every single one of them is doing her job so we respect her fr fr π
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.hβ go read the header, it's giving source of truth π struct rcar_du_crtc_state(9)β her sister struct, equally slay π
and that's the whole page, periodt. this was pulled from ./drivers/gpu/drm/renesas/rcar-du, dated October 2026, under the struct rcar_du_crtc(9) title β so if you cite it, cite it right, iykyk πππ
π¦ 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