drm_crtc_arm_vblank_event — arm vblank event after pageflip
void drm_crtc_arm_vblank_event ( | struct drm_crtc * crtc, |
struct drm_pending_vblank_event * e) ; |
A lot of drivers need to generate vblank events for the very next vblank interrupt. For example when the page flip interrupt happens when the page flip gets armed, but not when it actually executes within the next vblank period. This helper function implements exactly the required vblank arming behaviour.
Caller must hold event lock. Caller must also hold a vblank reference for
the event e
, which will be dropped when the next vblank arrives.
This is the native KMS version of drm_arm_vblank_event
.