Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284962
b: refs/heads/master
c: 9f80895
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed Dec 2, 2011
1 parent b121224 commit ffa6a32
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 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: cc372d84e231ea9f574ef5de9a7ab39dee5a021d
refs/heads/master: 9f808956d3cd07c8dc69e213931b19bad56344fb
24 changes: 23 additions & 1 deletion trunk/drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,16 +358,38 @@ static bool need_isr(void)
if (mp->info_dirty)
return true;

/* to set GO bit */
if (mp->shadow_info_dirty)
return true;

list_for_each_entry(ovl, &mgr->overlays, list) {
struct ovl_priv_data *op;

op = get_ovl_priv(ovl);

/*
* NOTE: we check extra_info flags even for
* disabled overlays, as extra_infos need to be
* always written.
*/

/* to write new values to registers */
if (op->extra_info_dirty)
return true;

/* to set GO bit */
if (op->shadow_extra_info_dirty)
return true;

if (!op->enabled)
continue;

/* to write new values to registers */
if (op->info_dirty || op->extra_info_dirty)
if (op->info_dirty)
return true;

/* to set GO bit */
if (op->shadow_info_dirty)
return true;
}
}
Expand Down

0 comments on commit ffa6a32

Please sign in to comment.