]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerJani Nikula <jani.nikula@intel.com>
Mon, 18 Aug 2014 07:42:42 +0000 (10:42 +0300)
commit0ebf1e1ad3a9528786355823c37b4d5d9f20fa0e
tree384448730f8336d16861512ed6641074018eb58b
parent8728f01dd57c0e51b56bc656fee79568f680cb55
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>
Cc: stable@vger.kernel.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_display.c