]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix ICL output CSC programming
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 25 Apr 2019 19:24:19 +0000 (22:24 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 26 Apr 2019 15:14:52 +0000 (18:14 +0300)
commit3b8beb6fa686a5f52083dd2f456b99bb2c036578
tree4b265a885a094e634f9e2e8d244917eafe1a6f04
parent1f2a7ac875db3a4c5342cfa9c89850db9879cfd0
drm/i915: Fix ICL output CSC programming

When I refactored the code into its own function I accidentally
misplaced the <<16 shifts for some of the registers causing us
to lose the blue channel entirely.

We should really find a way to test this...

Cc: Uma Shankar <uma.shankar@intel.com>
Fixes: 0921049b1054 ("drm/i915: Clean up ilk/icl pipe/output CSC programming")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190425192419.24931-1-ville.syrjala@linux.intel.com
Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
drivers/gpu/drm/i915/intel_color.c