diff options
author | David Schalig <dschalig@nvidia.com> | 2011-10-25 19:28:24 +0900 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 01:21:13 -0700 |
commit | 176915f565d8b1618bdf7bbb87b5e9b918eaac31 (patch) | |
tree | 8304721355f7e5f1df848c3673ca3bdf9b0b2ad5 /include | |
parent | 09baede593e017fd3d19f6557a96e6daa4ae2e4f (diff) |
video: tegra: dc: support global fbdev gamma table
Add support to set a global gamma correction table via fbdev cmap
API. The 3 Tegra DC windows have their own local gamma tables, which
can either override or alter the global table.
Bug 868060
Change-Id: I0be1c5e4afa8fd8c010b772c7808c883c0848ab4
Reviewed-on: http://git-master/r/60201
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: R7e613b1c8ac469242172bd81db9dfba25176e0c3
Diffstat (limited to 'include')
-rw-r--r-- | include/video/tegra_dc_ext.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/video/tegra_dc_ext.h b/include/video/tegra_dc_ext.h index 6c1a4e3e59c6..380b026701d7 100644 --- a/include/video/tegra_dc_ext.h +++ b/include/video/tegra_dc_ext.h @@ -174,6 +174,8 @@ struct tegra_dc_ext_csc { * To convert 8-bit per channel RGB values to 16-bit, duplicate the 8 bits * in low and high byte, e.g. r=r|(r<<8) * + * To just update flags, set len to 0. + * * Current Tegra DC hardware supports 8-bit per channel to 8-bit per channel, * and each hardware window (overlay) uses its own lookup table. * @@ -188,7 +190,9 @@ struct tegra_dc_ext_lut { __u16 *b; /* array of 16-bit blue values, 0 to reset */ }; -/* tegra_dc_ext_lut.flags - override fb device palette. Default is multiply. */ +/* tegra_dc_ext_lut.flags - override global fb device lookup table. + * Default behaviour is double-lookup. + */ #define TEGRA_DC_EXT_LUT_FLAGS_FBOVERRIDE 0x01 #define TEGRA_DC_EXT_FLAGS_ENABLED 1 |