Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344595
b: refs/heads/master
c: 3a979f8
h: refs/heads/master
i:
  344593: f334273
  344591: 4b88823
v: v3
  • Loading branch information
Tomi Valkeinen committed Oct 29, 2012
1 parent 6dca8ff commit 01e7507
Show file tree
Hide file tree
Showing 4 changed files with 8 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: 392faa0e1a8de2529183b62409f90997a2c80d3f
refs/heads/master: 3a979f8ad2014f6bff862b01d21ce151aa47968a
6 changes: 3 additions & 3 deletions trunk/drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ void dss_mgr_start_update(struct omap_overlay_manager *mgr)
if (!dss_data.irq_enabled && need_isr())
dss_register_vsync_isr();

dispc_mgr_enable(mgr->id);
dispc_mgr_enable_sync(mgr->id);

mgr_clear_shadow_dirty(mgr);

Expand Down Expand Up @@ -1027,7 +1027,7 @@ int dss_mgr_enable(struct omap_overlay_manager *mgr)
spin_unlock_irqrestore(&data_lock, flags);

if (!mgr_manual_update(mgr))
dispc_mgr_enable(mgr->id);
dispc_mgr_enable_sync(mgr->id);

out:
mutex_unlock(&apply_lock);
Expand All @@ -1052,7 +1052,7 @@ void dss_mgr_disable(struct omap_overlay_manager *mgr)
goto out;

if (!mgr_manual_update(mgr))
dispc_mgr_disable(mgr->id);
dispc_mgr_disable_sync(mgr->id);

spin_lock_irqsave(&data_lock, flags);

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/video/omap2/dss/dispc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2755,7 +2755,7 @@ static void dispc_mgr_disable_digit_out(void)
DSSERR("failed to unregister %x isr\n", irq_mask);
}

void dispc_mgr_enable(enum omap_channel channel)
void dispc_mgr_enable_sync(enum omap_channel channel)
{
if (dss_mgr_is_lcd(channel))
dispc_mgr_enable_lcd_out(channel);
Expand All @@ -2765,7 +2765,7 @@ void dispc_mgr_enable(enum omap_channel channel)
WARN_ON(1);
}

void dispc_mgr_disable(enum omap_channel channel)
void dispc_mgr_disable_sync(enum omap_channel channel)
{
if (dss_mgr_is_lcd(channel))
dispc_mgr_disable_lcd_out(channel);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/video/omap2/dss/dss.h
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@ u32 dispc_mgr_get_sync_lost_irq(enum omap_channel channel);
bool dispc_mgr_go_busy(enum omap_channel channel);
void dispc_mgr_go(enum omap_channel channel);
bool dispc_mgr_is_enabled(enum omap_channel channel);
void dispc_mgr_enable(enum omap_channel channel);
void dispc_mgr_disable(enum omap_channel channel);
void dispc_mgr_enable_sync(enum omap_channel channel);
void dispc_mgr_disable_sync(enum omap_channel channel);
bool dispc_mgr_is_channel_enabled(enum omap_channel channel);
void dispc_mgr_set_lcd_config(enum omap_channel channel,
const struct dss_lcd_mgr_config *config);
Expand Down

0 comments on commit 01e7507

Please sign in to comment.