OMAPDSS: manage framedone irq with mgr ops
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 10 Oct 2012 10:59:07 +0000 (13:59 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 7 Dec 2012 15:05:55 +0000 (17:05 +0200)
commit1550202d4a7593655a2aca99e39a58751073c92a
tree21c11abba54b61aca5f527ff0b40efb4dc76a38d
parent74b65ec24560ab0df0e7b789fa91cde4a442f169
OMAPDSS: manage framedone irq with mgr ops

Some of the output drivers need to handle FRAMEDONE interrupt from
DISPC. This creates a direct dependency to dispc code, and we need to
avoid this to make the compat code to work.

Instead of the output drivers registering for dispc interrupts, we
create new mgr-ops that are used to register a framedone handler. The
code implementing the mgr-ops is responsible for calling the handler
when DISPC FRAMEDONE interrupt happens. The compat layer is improved
accordingly to do the call to the framedone handler.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/apply.c
drivers/video/omap2/dss/dsi.c
drivers/video/omap2/dss/dss.h
drivers/video/omap2/dss/output.c
drivers/video/omap2/dss/rfbi.c