drm/i915/display: Add gamma precision function for CHV
authorSwati Sharma <swati2.sharma@intel.com>
Mon, 9 Sep 2019 12:01:41 +0000 (17:31 +0530)
committerJani Nikula <jani.nikula@intel.com>
Tue, 10 Sep 2019 10:23:26 +0000 (13:23 +0300)
commitb0a7c754140bee6a1124b5bfad17205149942fd7
tree4b2ebeafab9ccb9ecb3d99c12bebc387a1dc2985
parentfa9a09f15065650d97e3b1336d11e4ad9672b759
drm/i915/display: Add gamma precision function for CHV

intel_color_get_gamma_bit_precision() is extended for
cherryview by adding chv_gamma_precision(), i965 will use existing
i9xx_gamma_precision() func only.

Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1568030503-26747-2-git-send-email-swati2.sharma@intel.com
drivers/gpu/drm/i915/display/intel_color.c