Expand description
Direct Rendering Manager (DRM) vblank primitives.
The public API is intentionally narrow: open a card node, then block on
DRM_IOCTL_WAIT_VBLANK until the next vertical blank, reporting the
monotonic instant the wait returned. Android’s msm display stack zeroes
the ioctl reply timestamps (t_sec/t_usec), so callers must use a
monotonic clock taken at the moment the wait unblocks — this module does
exactly that and never exposes the (unreliable) reply fields.
Structs§
- DrmCard
- An open DRM card node (e.g.
/dev/dri/card0).