Skip to contentSkip to conversation

OMAPDSS: gracefully disable overlay at error

PATCH RESEND New Sergey Kibrik 1 participant 1 message Apr 25, 2013 1 message not in the archive Framebuffer layer

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH RESEND 1/1 OMAPDSS: gracefully disable overlay at error

Disable overlay via ovl->disable() interface, which will properly set flags in cache and GO bits for managers. This allows overlay user to re-enable it on next frame, thus recovering from FIFO underflows.

---
 drivers/video/omap2/dss/dispc-compat.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/video/omap2/dss/dispc-compat.c +1 -2
index 928884c..83779c2 100644
@@ -360,8 +360,7 @@ static void dispc_error_worker(struct work_struct *work)
 		if (bit & errors) {
 			DSSERR("FIFO UNDERFLOW on %s, disabling the overlay\n",
 					ovl->name);
-			dispc_ovl_enable(ovl->id, false);
-			dispc_mgr_go(ovl->manager->id);
+			ovl->disable(ovl);
 			msleep(50);
 		}
 	}
Signature · 1 line
1.7.9.5