drm/i915: Fix GCMAX color register programming
authorUma Shankar <uma.shankar@intel.com>
Fri, 29 Mar 2019 14:29:15 +0000 (19:59 +0530)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 29 Mar 2019 18:27:42 +0000 (20:27 +0200)
commit61eae851c92b0b5b089a3f5da92219500dc99d59
treedc32f89f74edde8ea742805f2c640a9235fc1667
parente15be4298f3570366d40dbec06e5b0d6e0626eb4
drm/i915: Fix GCMAX color register programming

GC MAX register is used to program values from 1.0 to
less than 3.0. A different register was used instead of
the intended one. Fixed the same.

Currently limiting it to 1.0 due to ABI limitations.

v2: Updated the 1.0 programming and aligned as per GLK, based
on Ville's feedback.

Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1553869756-4546-2-git-send-email-uma.shankar@intel.com
drivers/gpu/drm/i915/intel_color.c