]> asedeno.scripts.mit.edu Git - linux.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)
commitd428ca17ea3d307c5a7f77cf24586584bf1c2d74
tree4b265a885a094e634f9e2e8d244917eafe1a6f04
parent9ce9bdb00dfc7e5cac58c9dc59fe7f2669c0af6b
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: d2c19b06d6ea ("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