drm/i915: Fix VLV frame counter registers
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 11 Oct 2013 19:24:41 +0000 (22:24 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 11 Oct 2013 21:34:07 +0000 (23:34 +0200)
commit25a2e2d0f35e3297c7c8c6daf12d35fca7a51e44
tree0861393bd9a8097ab1238533a49a3e63411b041e
parentd8228d0d51fcd6f14c5a96319539dce14508bf19
drm/i915: Fix VLV frame counter registers

Supposedly VLV uses the CTG+ style frame counter registers instead of
the old gen3/4 style. Add the magic offset to the correct registers.

We should already be taking the correct codepaths for
.get_vblank_counter() and .get_scanout_position().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h