]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
OMAPDSS: DSSCOMP: register early callback at suspend
authorSergiy Kibrik <sergiy.kibrik@globallogic.com>
Wed, 3 Apr 2013 20:21:41 +0000 (15:21 -0500)
committerPraneeth Bajjuri <praneeth@ti.com>
Fri, 12 Jul 2013 22:41:45 +0000 (17:41 -0500)
Zero composition queued at suspend doesn't need to
wait to be released, as there's actually nothing to display.

Releasing composition after it's programmed is enough, also
in case of manually updated displays composition callback
never gets called, so queue is stuck and dsscomp can't
properly resume.

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

index f3e41a71063df33842d979f302f79463ea529244..385e53f8c6205e6f36fac14e54b224e92758f962 100755 (executable)
@@ -532,7 +532,7 @@ static void dsscomp_early_suspend(struct early_suspend *h)
 
        /* use gralloc queue as we need to blank all screens */
        blank_complete = false;
-       dsscomp_gralloc_queue(&d, NULL, false, dsscomp_early_suspend_cb, NULL);
+       dsscomp_gralloc_queue(&d, NULL, true, dsscomp_early_suspend_cb, NULL);
 
        /* wait until composition is displayed */
        err = wait_event_timeout(early_suspend_wq, blank_complete,