Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284903
b: refs/heads/master
c: 6331709
h: refs/heads/master
i:
  284901: 830e1e3
  284899: cba86dc
  284895: b561464
v: v3
  • Loading branch information
Tomi Valkeinen committed Dec 2, 2011
1 parent 22341be commit 69804a7
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 5476e74a03f4be972708162050c8ac7fe150449f
refs/heads/master: 6331709bcafe578f63c837a8d726ce8ffdfe0895
16 changes: 4 additions & 12 deletions trunk/drivers/video/omap2/displays/panel-taal.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,6 @@ struct taal_data {
bool te_enabled;

atomic_t do_update;
struct {
u16 x;
u16 y;
u16 w;
u16 h;
} update_region;
int channel;

struct delayed_work te_timeout_work;
Expand Down Expand Up @@ -1440,16 +1434,14 @@ static int taal_update(struct omap_dss_device *dssdev,
goto err;
}

r = taal_set_update_window(td, x, y, w, h);
/* XXX no need to send this every frame, but dsi break if not done */
r = taal_set_update_window(td, 0, 0,
td->panel_config->timings.x_res,
td->panel_config->timings.y_res);
if (r)
goto err;

if (td->te_enabled && panel_data->use_ext_te) {
td->update_region.x = x;
td->update_region.y = y;
td->update_region.w = w;
td->update_region.h = h;
barrier();
schedule_delayed_work(&td->te_timeout_work,
msecs_to_jiffies(250));
atomic_set(&td->do_update, 1);
Expand Down

0 comments on commit 69804a7

Please sign in to comment.