]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: do not update cursor in crtc mode set
authorJani Nikula <jani.nikula@intel.com>
Tue, 17 Sep 2013 15:33:43 +0000 (18:33 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Sep 2013 07:59:10 +0000 (09:59 +0200)
commitcc173961a68034c1171a421f0dbed39edfb60880
tree49ae065fe81f3d43b9d7a6b4d5dc0b139a584699
parent571c608d06df2d50233263d233a32edab1842865
drm/i915: do not update cursor in crtc mode set

The cursor is disabled before crtc mode set in crtc disable (and we
assert this is the case), and enabled afterwards in crtc enable. Do not
update it in crtc mode set.

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: Add note about HSW hangs - vsyrjala

Cc: stable@vger.kernel.org
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c