aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/omap2/dss/manager.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/manager.c b/drivers/video/omap2/dss/manager.c
index deb0c67..11d5183 100644
--- a/drivers/video/omap2/dss/manager.c
+++ b/drivers/video/omap2/dss/manager.c
@@ -1279,6 +1279,13 @@ static int configure_dispc(void)
case OMAP_WB_LCD1:
case OMAP_WB_LCD2:
case OMAP_WB_TV:
+ if (wbc->mode == OMAP_WB_MEM2MEM_MODE) {
+ mc = &dss_cache.manager_cache[
+ wbc->source - OMAP_WB_LCD1];
+ if (!mc->shadow_dirty)
+ break;
+ }
+
dispc_enable_plane(OMAP_DSS_WB, 1);
/* WB GO bit has to be used only in case of
* capture mode and not in memory mode