提交 595470a7 编写于 作者: S Sergey Kibrik 提交者: Tomi Valkeinen

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.
Signed-off-by: NSergey Kibrik <sergiikibrik@ti.com>
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 b0e449ce
...@@ -360,8 +360,7 @@ static void dispc_error_worker(struct work_struct *work) ...@@ -360,8 +360,7 @@ static void dispc_error_worker(struct work_struct *work)
if (bit & errors) { if (bit & errors) {
DSSERR("FIFO UNDERFLOW on %s, disabling the overlay\n", DSSERR("FIFO UNDERFLOW on %s, disabling the overlay\n",
ovl->name); ovl->name);
dispc_ovl_enable(ovl->id, false); ovl->disable(ovl);
dispc_mgr_go(ovl->manager->id);
msleep(50); msleep(50);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册