]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
OMAPDSS: DSSCOMP: enable alpha blending at suspend
authorSergiy Kibrik <sergiy.kibrik@globallogic.com>
Wed, 3 Apr 2013 20:19:23 +0000 (15:19 -0500)
committerPraneeth Bajjuri <praneeth@ti.com>
Fri, 12 Jul 2013 22:41:45 +0000 (17:41 -0500)
set_dss_mgr_info() refuses to accept configurations without
alpha blending enabled, thus in the very last composition
queued in suspend handler we have to explicitly enable it.

Change-Id: Ic663e9d7166e7386998cda3233791482adead0bd
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
drivers/video/omap2/dsscomp/gralloc.c

index 3999aa1fc2e0c931b2c9b3a1418e1ba8e396eef5..f3e41a71063df33842d979f302f79463ea529244 100755 (executable)
@@ -526,6 +526,7 @@ static void dsscomp_early_suspend(struct early_suspend *h)
                if (dssdev && dssdev->state == OMAP_DSS_DISPLAY_ACTIVE) {
                        d.num_mgrs++;
                        d.mgrs[mgr_ix].ix = mgr_ix;
+                       d.mgrs[mgr_ix].alpha_blending = true;
                }
        }