]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
tegra: dc: ext: Add TEGRA_DC_EXT_FLIP4 support
authorArun Swain <arswain@nvidia.com>
Wed, 23 Sep 2015 21:17:01 +0000 (14:17 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 23 Oct 2015 01:51:09 +0000 (18:51 -0700)
commit5edbbaf52bb1024c3325110f56e74ffaf1c23a96
tree4b3bf6b7795d2fcc1df207a439a3b8171da15659
parent68468b5830ec900024e56d0f3cc4b593e3f0e952
tegra: dc: ext: Add TEGRA_DC_EXT_FLIP4 support

Add FLIP4 support for the follwing reasons:
1. Cuurent FLIP3 doesn't have enough space in
order to pass head-specific info.
2. In order to pass HDR metadata we need at least
26 bytes and the current FLIP3 doesn't support
that.

The new FLIP4 has
1. A pointer to a array of 32 bytes of data to
pass head-specific info.
2. A nr_elements variabel that indicates the no.
of elements in the above array.

A new "tegra_dc_ext_flip_user_data" is defined
that has 6 bytes of tag info and 26 bytes of
payload data.

Bug 200122117

Change-Id: I4831b89ec25f877a948406feb4589824e82e3f3e
Reviewed-on: http://git-master/r/803991
(cherry picked from commit 83f6cd1eaebf1384c95a48069807407fb7beccf2)
Signed-off-by: Arun Swain <arswain@nvidia.com>
Reviewed-on: http://git-master/r/821188
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/video/tegra/dc/ext/dev.c
include/video/tegra_dc_ext.h