drm/i915: Use frame counter for intel_wait_for_vblank() on CTG
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 6 Nov 2013 15:56:28 +0000 (13:56 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Nov 2013 16:44:11 +0000 (17:44 +0100)
commit57e22f4add51b0f42b76a6960c4a4daa71e8f832
treecafa0205bce21fc6509f19fb5b86f0d6a4500033
parentedc08d0a40f7ddab6bf7249e59ecf692d36c7192
drm/i915: Use frame counter for intel_wait_for_vblank() on CTG

Use the same wait_for_vblank code for CTG that we use for ILK+.

Also fix the name of the frame counter register while at it.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c