video: tegra: dc: support global fbdev gamma table
authorDavid Schalig <dschalig@nvidia.com>
Tue, 25 Oct 2011 10:28:24 +0000 (19:28 +0900)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 08:21:13 +0000 (01:21 -0700)
commit176915f565d8b1618bdf7bbb87b5e9b918eaac31
tree8304721355f7e5f1df848c3673ca3bdf9b0b2ad5
parent09baede593e017fd3d19f6557a96e6daa4ae2e4f
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
drivers/video/tegra/dc/dc.c
drivers/video/tegra/dc/dc_priv.h
drivers/video/tegra/fb.c
include/video/tegra_dc_ext.h