[PATCH 10/11] drm: Use vblank timestamps to guesstimate how many vblanks were missed

2015-09-30 Thread Thierry Reding
On Mon, Sep 14, 2015 at 10:43:51PM +0300, ville.syrjala at linux.intel.com wrote: [...] > @@ -167,7 +238,7 @@ static void drm_update_vblank_count(struct drm_device > *dev, unsigned int pipe, > if (!rc) > t_vblank = (struct timeval) {0, 0}; > > - store_vblank(dev, pipe, d

[PATCH 10/11] drm: Use vblank timestamps to guesstimate how many vblanks were missed

2015-09-28 Thread Michel Dänzer
On 15.09.2015 04:43, ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > When lacking am accurate hardware frame counter, we can fall back to > using the vblank timestamps to guesstimagte how many vblanks have > elapsed since the last time the vblank counter was updated. > > Take

[PATCH 10/11] drm: Use vblank timestamps to guesstimate how many vblanks were missed

2015-09-14 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä When lacking am accurate hardware frame counter, we can fall back to using the vblank timestamps to guesstimagte how many vblanks have elapsed since the last time the vblank counter was updated. Take the oppostunity to unify the vblank_disable_and_save() and drm_handle_vbla