]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Skip the linear degamma LUT load on ICL+
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 27 Mar 2019 15:50:45 +0000 (17:50 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 28 Mar 2019 19:29:53 +0000 (21:29 +0200)
commit26a7ed138b20b829b197732349318c8cbfd8c1a1
tree1c7da4486bd10431ff31e41b90e33a5b8c43ecbd
parent0e7c18142389580f08f7afe168200b7040e0b97a
drm/i915: Skip the linear degamma LUT load on ICL+

Don't load the linear degamma LUT on ICL. The hardware no longer
has any silly linkages between the CSC enable and degamma LUT
enable so the degamma LUT is only needed when it's actually
enabled.

Also add comments to explain the situation on GLK.

v2: Drop useless parens around 1<<16
v3: Add missing const

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190327155045.28446-11-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_color.c