drm/i915/icl: Don't set pipe CSC/Gamma in PLANE_COLOR_CTL
authorJames Ausmus <james.ausmus@intel.com>
Wed, 28 Mar 2018 21:57:56 +0000 (14:57 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 27 Apr 2018 20:40:09 +0000 (13:40 -0700)
commit077ef1f09c2528b81366ae9a2a969ea35c475027
treea0ca5d72dcf7611c42c586b7148cc8e88d4bc650
parentf6d3e06f074721ad3a231df745d85b60428c1f03
drm/i915/icl: Don't set pipe CSC/Gamma in PLANE_COLOR_CTL

These fields have been deprecated and moved in ICL+. Stop setting the
bits.

They have moved to GAMMA_MODE and CSC_MODE, respectively. This patch
is just to stop incorrectly setting bits in PLANE_COLOR_CTL while
we're waiting for the new replacement functionality to be done.

v2: Drop useless comment, and change !(GEN >= 11) to (GEN < 11). (Ville)

v3: No changes

v4 (from Paulo): Rebase.

Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: James Ausmus <james.ausmus@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180328215803.13835-2-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c