STRUCT DRM_PENDING_VBLANK_EVENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

struct drm_pending_vblank_event β€” pending vblank event tracking. that's the whole vibe, bestie: this is the Kernel API Manual page for struct drm_...vblank_event(9), and it is literally all about tracking pending vblank events βœ¨πŸ’….

✨ SYNOPSIS ✨

okay so here's the struct in all its glory β€” copy it exactly, no editing, no cap:

struct drm_pending_vblank_event {
    struct drm_pending_event base;
    unsigned int pipe;
    u64 sequence;
    union {
      struct drm_event base;
      struct drm_event_vblank vbl;
      struct drm_event_crtc_sequence seq;
    } event;
 };

🫢 Members 🫢

  • base β€” the base structure for tracking pending DRM events. it's the foundation of the whole situation, fr fr.
  • pipe β€” the drm_crtc_index of the drm_crtc this event is for. like, which CRTC is the main character here 🎯.
  • sequence β€” the frame event should be triggered at. mark the moment, bestie ⏱️.
  • event β€” the actual event that will be sent to userspace. this is the payload that goes out into the world πŸ’Œ.
    • event.base β€” the DRM event base class. the blueprint, the origin story.
    • event.vbl β€” the event payload for vblank events, requested through either the MODE_PAGE_FLIP or MODE_ATOMIC IOCTL. also generated by the legacy WAIT_VBLANK IOCTL, but new userspace should use MODE_QUEUE_SEQUENCE and event.seq instead. periodt.
    • event.seq β€” the event payload for the MODE_QUEUEU_SEQUENCE IOCTL. iykyk πŸ’€.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./include/drm/drm_vblank.h β€” bestie, the related structs are giving:

  • struct drm_vblank_crtc_config(9)
  • struct drm_vblank_crtc_timer(9)
  • struct drm_vblank_crtc(9)

that's all of them, no cap 🫢.


source/version: ./include/drm Β· date: October 2026 Β· page: struct drm_...vblank_event(9) β€” mwah πŸ’‹πŸ‘‘βœ¨

πŸ“¦ where this page comes from