drm/i915: Don't try to enable cursor from setplane when crtc is disabled
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Aug 2014 16:39:52 +0000 (19:39 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Aug 2014 12:23:36 +0000 (14:23 +0200)
commita08a42ad441e113f87308e0844049cb881f1ac1d
tree607388b9e60fc87f1faebe6c9bfe95b1756377c7
parent70e32544aa4027b4c27226da32eb3866e7bbbcdc
drm/i915: Don't try to enable cursor from setplane when crtc is disabled

Make sure the cursor gets fully clipped when enabling it on a disabled
crtc via setplane. This will prevent the lower level code from
attempting to enable the cursor in hardware.

Cc: Paulo Zanoni <przanoni@gmail.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c