]> git.baikalelectronics.ru Git - kernel.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)
commitf55d98a394fa874110e0ed97a4a5a0738f0862bf
tree3e8bc20989b3df0379a828f851553e1db101d72c
parent36f5a4b0dde569184d8b8c09e561a653efd7ed8c
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