[Intel-gfx] [PATCH 0/2] drm/i915: Gen2 vblank stuff

Chris Wilson chris at chris-wilson.co.uk
Mon Oct 14 12:01:11 CEST 2013


On Fri, Oct 11, 2013 at 09:52:42PM +0300, ville.syrjala at linux.intel.com wrote:
> Continuing a bit with improving the vblank timestamp stuff, I decided that
> it's also time to fix gen2 properly.
> 
> All this time we've been pretending it has the same pixel+frame counter that
> gen3 and gen4 have, when in fact it doesn't. Luckily the same offset has
> nothing else on gen2, so it has just read out as 0 and everything more or
> less worked.
> 
> Sadly there doesn't seem to be any frame counter register on gen2. For the
> scanout position, DSL + additional tricks works equally well for gen2 as
> it does for ctg+.

Confirmed the absence of said registers, so
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list