Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284969
b: refs/heads/master
c: 04576d4
h: refs/heads/master
i:
  284967: b5ed132
v: v3
  • Loading branch information
Tomi Valkeinen committed Dec 2, 2011
1 parent 0700bb4 commit 7d54cb7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 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: 75ae118a0028810f93a746c25f4bb018fb044323
refs/heads/master: 04576d415e01aa08752bf3884db9862cfbba9115
17 changes: 14 additions & 3 deletions trunk/drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,19 @@ static void dss_apply_ovl_enable(struct omap_overlay *ovl, bool enable)
op->extra_info_dirty = true;
}

static void dss_apply_ovl_fifo_thresholds(struct omap_overlay *ovl,
u32 fifo_low, u32 fifo_high)
{
struct ovl_priv_data *op = get_ovl_priv(ovl);

if (op->fifo_low == fifo_low && op->fifo_high == fifo_high)
return;

op->fifo_low = fifo_low;
op->fifo_high = fifo_high;
op->extra_info_dirty = true;
}

static void dss_ovl_setup_fifo(struct omap_overlay *ovl)
{
struct ovl_priv_data *op = get_ovl_priv(ovl);
Expand Down Expand Up @@ -988,9 +1001,7 @@ static void dss_ovl_setup_fifo(struct omap_overlay *ovl)
BUG();
}

op->fifo_low = fifo_low;
op->fifo_high = fifo_high;
op->extra_info_dirty = true;
dss_apply_ovl_fifo_thresholds(ovl, fifo_low, fifo_high);
}

static void dss_mgr_setup_fifos(struct omap_overlay_manager *mgr)
Expand Down

0 comments on commit 7d54cb7

Please sign in to comment.