drm/i915: Don't enable the cursor on a disable pipe
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 17 Sep 2013 15:33:44 +0000 (18:33 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Sep 2013 08:00:30 +0000 (10:00 +0200)
On HSW enabling a plane on a disabled pipe may hang the entire system.
And there's no good reason for doing it ever, so just don't.

v2: Move the crtc active checks to intel_crtc_cursor_{set,move} to
    avoid confusing people during modeset

Cc: stable@vger.kernel.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found