]> 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)
commit3867d2d5627b9c1798a52dd88acb3100aed535ba
tree1c7da4486bd10431ff31e41b90e33a5b8c43ecbd
parent401e719f2b9d731c6f7cf8f0b047ccca191a14df
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