summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dispc.c
diff options
context:
space:
mode:
authorMythri P K <mythripk@ti.com>2011-03-11 18:02:49 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-03-16 11:45:49 +0530
commitd3862610c95564a586951d5be291b9b0200d39fe (patch)
tree402764e967fa0897cbec9754c8b419856848fa9a /drivers/video/omap2/dss/dispc.c
parent7ed024aa280cb38c8aa5c188d2d2c98f5daede10 (diff)
downloadtalos-op-linux-d3862610c95564a586951d5be291b9b0200d39fe.tar.gz
talos-op-linux-d3862610c95564a586951d5be291b9b0200d39fe.zip
OMAP4: DSS2: HDMI: Dispc gamma enable set/reset function for TV.
Adding function to reset/set gamma table bit for TV interface, currently only support for disabled is added. Signed-off-by: Mythri P K <mythripk@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dispc.c')
-rw-r--r--drivers/video/omap2/dss/dispc.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c
index b8c576a0bc02..7804779c9da1 100644
--- a/drivers/video/omap2/dss/dispc.c
+++ b/drivers/video/omap2/dss/dispc.c
@@ -1008,6 +1008,20 @@ void dispc_set_burst_size(enum omap_plane plane,
enable_clocks(0);
}
+void dispc_enable_gamma_table(bool enable)
+{
+ /*
+ * This is partially implemented to support only disabling of
+ * the gamma table.
+ */
+ if (enable) {
+ DSSWARN("Gamma table enabling for TV not yet supported");
+ return;
+ }
+
+ REG_FLD_MOD(DISPC_CONFIG, enable, 9, 9);
+}
+
static void _dispc_set_vid_color_conv(enum omap_plane plane, bool enable)
{
u32 val;
OpenPOWER on IntegriCloud