drm/i915: Fix gen2 scanout position readout
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 11 Oct 2013 18:52:43 +0000 (21:52 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 14 Oct 2013 15:20:39 +0000 (17:20 +0200)
Gen2 doesn't have the pixelcount register that gen3 and gen4 have.
Instead we must use the scanline counter like we do for ctg+.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found