]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
tn8: Make backlight nonlinear
authorAly Hirani <ahirani@nvidia.com>
Tue, 3 Jun 2014 21:33:21 +0000 (14:33 -0700)
committerSimone Willett <swillett@nvidia.com>
Fri, 13 Jun 2014 02:34:20 +0000 (19:34 -0700)
commit7a3641d349f58c44ff3054b8d1622e469af07212
tree91a42b86955b59f28dfc7858fb6d4f7605be43be
parent545337b46c7997bcee0eafa21ecde04a4203221e
tn8: Make backlight nonlinear

As per the request, we would want to make the backlight nonlinear in
progression. Do this as a step in the kernel before applying SD.
The curve implemented is a simple piecewise linear function with
a slow rise from 0 to 166 and a linear function with a faster rise
from 166 to 255.

Bug 200008701

Change-Id: I9dfdf17c448165a1b5a770a0db7f4c9beded4439
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/418526
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
arch/arm/mach-tegra/panel-a-1200-1920-8-0.c