drm/i915: Only set CURSOR_PIPE_CSC_ENABLE when cursor is enabled
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 12 Sep 2014 17:53:33 +0000 (20:53 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Sep 2014 12:43:12 +0000 (14:43 +0200)
commit47bf17a7d1676f5f0e5c8d45f0fd0c5050add78f
treec2c96f0cc6034221d8b46f48e924591438153004
parent99d1f3878baa86d5ce9e275ae9568fd903616f54
drm/i915: Only set CURSOR_PIPE_CSC_ENABLE when cursor is enabled

It seems cleaner if we keep CURCNTR at 0 when the cursor is disabled,
so don't set the CURSOR_PIPE_CSC_ENABLE bit unless the cursor is
enabled.

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