Name
drm_atomic_helper_wait_for_vblanks —
wait for vblank on crtcs
Synopsis
void drm_atomic_helper_wait_for_vblanks ( | struct drm_device * dev, |
| struct drm_atomic_state * old_state) ; |
Arguments
dev
DRM device
old_state
atomic state object with old state structures
Description
Helper to, after atomic commit, wait for vblanks on all effected
crtcs (ie. before cleaning up old framebuffers using
drm_atomic_helper_cleanup_planes
). It will only wait on crtcs where the
framebuffers have actually changed to optimize for the legacy cursor and
plane update use-case.