Re: [Intel-gfx] [PATCH 2/9] drm/i915: Fix gen3/4 vblank counter wraparound

2013-11-19 Thread Chris Wilson
On Mon, Nov 18, 2013 at 06:32:31PM -0800, Rodrigo Vivi wrote: > From: Ville Syrjälä > > When the hardware frame counter reads 0xff and we're already past > vblank start, we'd return 0x100 as the vblank counter value. Once > we'd cross into the next frame's active portion, the vblank count

[Intel-gfx] [PATCH 2/9] drm/i915: Fix gen3/4 vblank counter wraparound

2013-11-18 Thread Rodrigo Vivi
From: Ville Syrjälä When the hardware frame counter reads 0xff and we're already past vblank start, we'd return 0x100 as the vblank counter value. Once we'd cross into the next frame's active portion, the vblank counter would wrap to 0. So we're reporting two different vblank counter valu