]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: dc: Add TEGRA_DC_EXT_SET_CMU_ALIGNED
authorDaniel Solomon <daniels@nvidia.com>
Mon, 28 Jul 2014 21:14:01 +0000 (14:14 -0700)
committerJon Mayo <jmayo@nvidia.com>
Sat, 8 Nov 2014 00:09:51 +0000 (16:09 -0800)
commit23b522c4189b06c34c077a2fe68eefd49892030d
treea213d82144848356fefc705305621888f72cf843
parentd063a671c034517dbc97ac4542b8a9a41a01359c
video: tegra: dc: Add TEGRA_DC_EXT_SET_CMU_ALIGNED

This ioctl is intended to be used for the purpose
of changing the panel gamma and saturation  while the
panel is on, without the visual artefacts that would
result from disabling CMU during the update, and while
minimizing risk of CPU/DC CMU access collisions.

The ioctl TEGRA_DC_EXT_SET_CMU_ALIGNED updates only
the entries in CMU CSC and LUT2 that have changed since
the last CMU update, keeps CMU enabled while doing
so, and aligns the update with the next FRAME_END_INT.

Bug 1535044

Change-Id: Ibe758f94eccfff72c85e299107b3053378127805
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/556485
(cherry picked from commit 8c8cfd08c0a4c7473bf13f7e1b3cc672b5dbb1fc)
Reviewed-on: http://git-master/r/594597
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
drivers/video/tegra/dc/dc.c
drivers/video/tegra/dc/dc_priv.h
drivers/video/tegra/dc/dc_priv_defs.h
drivers/video/tegra/dc/ext/dev.c
include/video/tegra_dc_ext.h