Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284963
b: refs/heads/master
c: 5b21417
h: refs/heads/master
i:
  284961: b121224
  284959: 3c8f34b
v: v3
  • Loading branch information
Tomi Valkeinen committed Dec 2, 2011
1 parent ffa6a32 commit 25ebff4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 9f808956d3cd07c8dc69e213931b19bad56344fb
refs/heads/master: 5b2141719aa8a14ebd242c60b4ce6a580276f7cd
7 changes: 5 additions & 2 deletions trunk/drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -824,22 +824,25 @@ static void dss_apply_irq_handler(void *data, u32 mask)
for (i = 0; i < num_mgrs; i++) {
struct omap_overlay_manager *mgr;
struct mgr_priv_data *mp;
bool was_updating;

mgr = omap_dss_get_overlay_manager(i);
mp = get_mgr_priv(mgr);

if (!mp->enabled)
continue;

was_updating = mp->updating;
mp->updating = dispc_mgr_is_enabled(i);

if (!mgr_manual_update(mgr)) {
bool was_busy = mp->busy;
mp->busy = dispc_mgr_go_busy(i);

if (!mp->busy)
if (was_busy && !mp->busy)
mgr_clear_shadow_dirty(mgr);
} else {
if (!mp->updating)
if (was_updating && !mp->updating)
mgr_clear_shadow_dirty(mgr);
}
}
Expand Down

0 comments on commit 25ebff4

Please sign in to comment.