Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284904
b: refs/heads/master
c: 1cb0017
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed Dec 2, 2011
1 parent 69804a7 commit 9ea43e5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 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: 6331709bcafe578f63c837a8d726ce8ffdfe0895
refs/heads/master: 1cb0017813e82c740ef7b60bdaa0aa74eaab6a76
2 changes: 1 addition & 1 deletion trunk/drivers/video/omap2/dss/dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -4097,7 +4097,7 @@ static void dsi_update_screen_dispc(struct omap_dss_device *dssdev,
msecs_to_jiffies(250));
BUG_ON(r == 0);

dss_start_update(dssdev);
dss_mgr_start_update(dssdev->manager);

if (dsi->te_enabled) {
/* disable LP_RX_TO, so that we can receive TE. Time to wait
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/omap2/dss/dss.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ void default_get_overlay_fifo_thresholds(enum omap_plane plane,
int dss_init_overlay_managers(struct platform_device *pdev);
void dss_uninit_overlay_managers(struct platform_device *pdev);
int dss_mgr_wait_for_go_ovl(struct omap_overlay *ovl);
void dss_start_update(struct omap_dss_device *dssdev);
void dss_mgr_start_update(struct omap_overlay_manager *mgr);

/* overlay */
void dss_init_overlays(struct platform_device *pdev);
Expand Down
7 changes: 2 additions & 5 deletions trunk/drivers/video/omap2/dss/manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -896,17 +896,14 @@ static int configure_dispc(void)
return r;
}

void dss_start_update(struct omap_dss_device *dssdev)
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();
struct omap_overlay_manager *mgr;
int i;

mgr = dssdev->manager;

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

mc->do_manual_update = true;
Expand All @@ -929,7 +926,7 @@ void dss_start_update(struct omap_dss_device *dssdev)
mc->shadow_dirty = false;
}

dssdev->manager->enable(dssdev->manager);
mgr->enable(mgr);
}

static void dss_apply_irq_handler(void *data, u32 mask)
Expand Down

0 comments on commit 9ea43e5

Please sign in to comment.