drm/i915: add asserts for cursor disabled
authorJani Nikula <jani.nikula@intel.com>
Fri, 13 Sep 2013 08:03:08 +0000 (11:03 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Sep 2013 12:58:09 +0000 (14:58 +0200)
commit93ce0ba6985245ba806f0846a9ce42ca7a3184f2
treeba419202f9996cfa04ea25e4960e907fc18284bd
parent33618ea5e0e2ccd00331fa169145894b9c5dcffe
drm/i915: add asserts for cursor disabled

The cursor is supposed to be disabled during crtc mode set (disabled by
ctrc disable). Assert this is the case.

v2: move cursor disabled assert next to plane asserts (Ville)

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c