]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix legacy gamma mode for ICL
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 15 Mar 2019 19:54:44 +0000 (21:54 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Mar 2019 15:47:03 +0000 (17:47 +0200)
commit8e89dbcb7f6450c3aae3b949be1649fa7e0327db
treee8d09373bcbd2618d843664de6f7853382d0581a
parent3de84736523b798f201e274a95917b7804b18ac1
drm/i915: Fix legacy gamma mode for ICL

We must remember to actually enable the post CSC gamma if
we expect the legacy LUT to work. Seems to fix NV12 crc
tests on the SDR planes. Curiously we apparently managed to
get 100% match for the HDR planes even without chopping
off the low bits.

Cc: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190315195445.26527-1-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/intel_color.c