[PATCH] drm: Don't zero vblank timestamps from the irq handler

2015-10-01 Thread Daniel Vetter
On Thu, Oct 01, 2015 at 09:27:20AM +0200, Thierry Reding wrote: > On Wed, Sep 30, 2015 at 07:21:34PM +0300, ville.syrjala at linux.intel.com > wrote: > > From: Ville Syrjälä > > > > If we couldn't get a high precisions vblank timestamp, we currently > > store a zeroed timestamp instead and ass

[PATCH] drm: Don't zero vblank timestamps from the irq handler

2015-10-01 Thread Thierry Reding
On Wed, Sep 30, 2015 at 07:21:34PM +0300, ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > If we couldn't get a high precisions vblank timestamp, we currently > store a zeroed timestamp instead and assume the next vblank irq to > get us something better. This makes sense when

[PATCH] drm: Don't zero vblank timestamps from the irq handler

2015-09-30 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä If we couldn't get a high precisions vblank timestamp, we currently store a zeroed timestamp instead and assume the next vblank irq to get us something better. This makes sense when trying to update the timestamp from eg. vblank enable. But if we do this from the vblank irq