]> git.baikalelectronics.ru Git - kernel.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)
commit5663d870d882c9c32dd66ab3f29191e94b6f92ff
tree49ae065fe81f3d43b9d7a6b4d5dc0b139a584699
parentab3b77ebabd3a0eaafabce3588c94b0946bfeb22
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