drm/i915: Always enable the cursor right after the primary plane
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 4 Jun 2013 10:49:00 +0000 (13:49 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Jun 2013 11:44:27 +0000 (13:44 +0200)
commit5c38d48cd8dfb3332c072a257bc2a6dab1e5dc3b
treea6673dd137d3fb70f50a1d5678da998af42ea566
parent63cbb0747622d923665294519e9a24bc9c654c19
drm/i915: Always enable the cursor right after the primary plane

Follow the same sequence when enabling the cursor plane during
modeset. No point in doing this stuff in different order on different
generations.

This should also avoid a needless wait for vblank for the g4x cursor
workaround when the cursor gets enabled anyway.

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