]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/color: move check of gamma_enable to specific func/platform
authorSwati Sharma <swati2.sharma@intel.com>
Wed, 9 Oct 2019 06:55:40 +0000 (12:25 +0530)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 9 Oct 2019 14:13:14 +0000 (17:13 +0300)
commitd50341274d013e80d80d33e03f4573a34f4d7277
tree3e8bc20989b3df0379a828f851553e1db101d72c
parent9b000b47cc18fa3b078ce080cbcf84f1a8a497ad
drm/i915/color: move check of gamma_enable to specific func/platform

Moved common code to check gamma_enable to specific funcs per platform
in bit_precision func. icl doesn't support that and chv has separate
enable knob for CGM LUT.

v2:
-Simplified chv_gamma_precision() [Ville]

Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191009065542.27415-3-swati2.sharma@intel.com
drivers/gpu/drm/i915/display/intel_color.c