STRUCT DRM_VBLANK_CRTC_TIMER(9)
β¨ NAME β¨
struct drm_vblank_crtc_timer β the vblank timer for a CRTC π
bestie welcome to the Kernel API Manual, grab a boba, we're learning about vblank timers π§β¨
π SYNOPSIS π
okay so here's the whole vibe, no cap, copied exactly because hello, it's struct code:
struct drm_vblank_crtc_timer {
struct hrtimer timer;
spinlock_t interval_lock;
ktime_t interval;
struct drm_crtc *crtc;
};
like, that's the entire little guy. four members. icon behavior fr fr ππ
π¦ Members π¦
timerβ the vblank's high-resolution timer β°β¨ it's literally the main character here, hi-res and everythinginterval_lockβ this one protectsintervalπ like a bodyguard but for a time value, we love a protective queenintervalβ the duration between two vblanks π the gap, the pause, the little breather between refreshescrtcβ the timer's CRTC π₯οΈβ¨ every timer needs its own screen boo, that's this pointer
π SEE ALSO π
go read these next, iykyk:
- Kernel file
./include/drm/drm_vblank.h - struct
drm_pending_vblank_event(9) - struct
drm_vblank_crtc_config(9) - struct
drm_vblank_crtc(9)
and that's the whole page bestie, you ate that π«ΆπΈ
source: ./include/drm Β· dated October 2026 Β· mwah, go touch some registers ππ
π¦ 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