]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
OMAPDSS: DSSCOMP: Add MFLAG support in DSSCOMP
authorSreenidhi Koti Ananda Rao <sreenidhi@ti.com>
Tue, 2 Apr 2013 15:05:25 +0000 (10:05 -0500)
committerPraneeth Bajjuri <praneeth@ti.com>
Fri, 12 Jul 2013 22:41:44 +0000 (17:41 -0500)
Descrition: This patch adds client support for dispc MFLAG feature.

Change-Id: I10d4784a1bbdd91d05fbf4b21b5780a0bd79b873
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
drivers/video/omap2/dsscomp/base.c
include/video/dsscomp.h

index 6ef1a061c3bd1839aa36c640ee3f85f77cca9ebc..d82314f0e8dbe0aed3d321e274ec5f11d54b50d0 100755 (executable)
@@ -211,6 +211,9 @@ int set_dss_ovl_info(struct dss2_ovl_info *oi)
        info.mirror = cfg->mirror;
        info.color_mode = cfg->color_mode;
 
+       /* mflag for the overlay */
+       info.mflag_en = cfg->mflag_en;
+
        /* crop to screen */
        crop.r = cfg->crop;
        win.r = cfg->win;
index 00210be5f5d555b7734c5fcd26575135f694c9f9..e4859a7d4aa54cef824c0206f059f8b2cb415e00 100644 (file)
@@ -378,6 +378,8 @@ struct dss2_ovl_cfg {
        __u8 enabled;   /* bool */
        __u8 zonly;     /* only set zorder and enabled bit */
        __u8 mgr_ix;    /* mgr index */
+
+       bool mflag_en; /* mflag for the overlay */
 } __aligned(4);
 
 enum omapdss_buffer_type {