Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284918
b: refs/heads/master
c: 18135ea
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed Dec 2, 2011
1 parent 855885e commit 642220b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: be729178f0e0f31ab14b42b3fe5d6b4463fbeb3a
refs/heads/master: 18135eadac6f0fd1bf61b7af24f14e7174155e6d
27 changes: 15 additions & 12 deletions trunk/drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,23 +629,26 @@ int omap_dss_mgr_apply(struct omap_overlay_manager *mgr)
}

r = 0;
if (!dss_cache.irq_enabled) {
u32 mask;
if (!mgr_manual_update(mgr)) {
if (!dss_cache.irq_enabled) {
u32 mask;

mask = DISPC_IRQ_VSYNC | DISPC_IRQ_EVSYNC_ODD |
DISPC_IRQ_EVSYNC_EVEN;
if (dss_has_feature(FEAT_MGR_LCD2))
mask |= DISPC_IRQ_VSYNC2;
mask = DISPC_IRQ_VSYNC | DISPC_IRQ_EVSYNC_ODD |
DISPC_IRQ_EVSYNC_EVEN;
if (dss_has_feature(FEAT_MGR_LCD2))
mask |= DISPC_IRQ_VSYNC2;

r = omap_dispc_register_isr(dss_apply_irq_handler, NULL, mask);
r = omap_dispc_register_isr(dss_apply_irq_handler,
NULL, mask);

if (r)
DSSERR("failed to register apply isr\n");
if (r)
DSSERR("failed to register apply isr\n");

dss_cache.irq_enabled = true;
}
dss_cache.irq_enabled = true;
}

configure_dispc();
configure_dispc();
}

spin_unlock_irqrestore(&dss_cache.lock, flags);

Expand Down

0 comments on commit 642220b

Please sign in to comment.