drm/komeda: Add drm_lut_to_fgamma_coeffs()
authorjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Tue, 12 Nov 2019 11:10:09 +0000 (11:10 +0000)
committerjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Thu, 14 Nov 2019 02:29:51 +0000 (10:29 +0800)
commitc2b13c650f8640f493849d2503da6fad637e00eb
tree0707cb68fca8f30086e7eb073835e9d95106053a
parent7ca7fcef13f494acd6d9c880ee7fb8134ed7d116
drm/komeda: Add drm_lut_to_fgamma_coeffs()

This function is used to convert drm color lut to komeda HW required curve
coeffs values.

Signed-off-by: james qian wang (Arm Technology China) <james.qian.wang@arm.com>
Reviewed-by: Mihail Atanassov <mihail.atanassov@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191112110927.20931-3-james.qian.wang@arm.com
drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c
drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.h