From: Cho KyongHo Date: Mon, 16 Oct 2017 06:58:53 +0000 (+0900) Subject: [COMMON] g2d: add support for custom tone mapping LUT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=203b4cb49eb6b401893d1b6160380d3a4faa1856;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] g2d: add support for custom tone mapping LUT The look-up table for tone mapping can be overwritten by the superuser through the module parameter of hdr_tunables module intorduced by "video: hdr: add tunable parameters for HDR" commit. Once tone mapping LUT has been written to the parameter and becomes valid, it is immediately applied to every tasks executed by G2D. All tone mapping coefficients are overwritten with the values in the paramter. Change-Id: I871bfe6d9ab4740ad8519b09f0a5b1bce257d1c3 Signed-off-by: Cho KyongHo --- diff --git a/drivers/gpu/exynos/g2d/g2d_command.c b/drivers/gpu/exynos/g2d/g2d_command.c index b03018e28886..3fc110201a05 100644 --- a/drivers/gpu/exynos/g2d/g2d_command.c +++ b/drivers/gpu/exynos/g2d/g2d_command.c @@ -17,6 +17,8 @@ #include #include +#include