[PATCH 2/4] drm: Only update final vblank count when precise ts is available

2014-09-11 Thread Matt Roper
On Wed, Sep 10, 2014 at 05:36:09PM +0200, Daniel Vetter wrote: > Drivers without a hardware vblank counter simply can't account for the > vblanks that happened while the vblank interrupt was off. To check > this grab a vblank timestamp and if the result is dubious follow the > normal save-and-disab

[PATCH 2/4] drm: Only update final vblank count when precise ts is available

2014-09-10 Thread Daniel Vetter
Drivers without a hardware vblank counter simply can't account for the vblanks that happened while the vblank interrupt was off. To check this grab a vblank timestamp and if the result is dubious follow the normal save-and-disable logic. Drivers should prevent this by setting vblank_disable_allowe