]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commitf2f5f771c5fc0fa252cde3d0d0452dcc785cc17a
treec1cda56aef83009dbb461a4edc1fcf6f541c5c67
parentcc173961a68034c1171a421f0dbed39edfb60880
drm/i915: Don't enable the cursor on a disable pipe

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>
drivers/gpu/drm/i915/intel_display.c