]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Extract glk_color_check()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 27 Mar 2019 15:50:41 +0000 (17:50 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 28 Mar 2019 19:29:53 +0000 (21:29 +0200)
commitfbeb4f36221358f01c9608b959b8d542e7becae6
treef4d1f9c7cef2e787ef3fbc96c83438845471d4a7
parent1b386cf84931a75676d3d14c4868929c0296d6c1
drm/i915: Extract glk_color_check()

Unlike the earlier platforms GLK has dedicated degamma and gamma
LUTs. And quite curiously the degamma LUT is actually controlled
via the PLANE_COLOR_CTL CSC enable bit. Hence we must compute
gamma_enable and csc_enable differently to pre-GLK platforms.

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-7-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_color.c