STRUCT DRM_VBLANK_CRTC_TIMER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 everything
  • interval_lock β€” this one protects interval πŸ”’ like a bodyguard but for a time value, we love a protective queen
  • interval β€” the duration between two vblanks πŸŽ€ the gap, the pause, the little breather between refreshes
  • crtc β€” 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