Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284920
b: refs/heads/master
c: 6e53ca9
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed Dec 2, 2011
1 parent 920f228 commit cb2f6f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: 04f6643a8657bd080344d2928dde917e0b1b3800
refs/heads/master: 6e53ca9dda65dd300ce150822832ba6e169643c7
10 changes: 2 additions & 8 deletions trunk/drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ void dss_mgr_start_update(struct omap_overlay_manager *mgr)
struct manager_cache_data *mc;
struct overlay_cache_data *oc;
const int num_ovls = dss_feat_get_num_ovls();
const int num_mgrs = dss_feat_get_num_mgrs();
int i;

mc = &dss_cache.manager_cache[mgr->id];
Expand All @@ -416,13 +415,8 @@ void dss_mgr_start_update(struct omap_overlay_manager *mgr)
oc->shadow_dirty = false;
}

for (i = 0; i < num_mgrs; ++i) {
mc = &dss_cache.manager_cache[i];
if (mgr->id != i)
continue;

mc->shadow_dirty = false;
}
mc = &dss_cache.manager_cache[mgr->id];
mc->shadow_dirty = false;

dispc_mgr_enable(mgr->id, true);
}
Expand Down

0 comments on commit cb2f6f5

Please sign in to comment.