[Intel-gfx] [PATCH 3/9] drm: Don't clear vblank timestamps when vblank interrupt is disabled

2014-05-26 Thread Daniel Vetter
On Mon, May 26, 2014 at 02:46:26PM +0300, ville.syrjala at linux.intel.com wrote: > From: Ville Syrj?l? > > Clearing the timestamps causes us to send zeroed timestamps to userspace > if they get sent out in response to the drm_vblank_off(). It's better > to send the very latest timestamp and cou

[PATCH 3/9] drm: Don't clear vblank timestamps when vblank interrupt is disabled

2014-05-26 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Clearing the timestamps causes us to send zeroed timestamps to userspace if they get sent out in response to the drm_vblank_off(). It's better to send the very latest timestamp and count instead. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_irq.c | 11 --- 1