Skip to content

Commit

Permalink
OMAPDSS: fix registering the vsync isr in apply
Browse files Browse the repository at this point in the history
When we enable an output we don't check if we need to register the vsync
isr. This causes us to miss vsync interrupts until somebody changes the
configuration of an overlay or an overlay manager.

Add the registration to dss_mgr_enable to fix the problem.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Tomi Valkeinen committed Oct 18, 2012
1 parent 78e7f25 commit d7b6b6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,9 @@ int dss_mgr_enable(struct omap_overlay_manager *mgr)
if (!mgr_manual_update(mgr))
mp->updating = true;

if (!dss_data.irq_enabled && need_isr())
dss_register_vsync_isr();

spin_unlock_irqrestore(&data_lock, flags);

if (!mgr_manual_update(mgr))
Expand Down

0 comments on commit d7b6b6b

Please sign in to comment.