]> git.karo-electronics.de Git - karo-tx-linux.git/commit
OMAPDSS: DISPC: Add IRQ enable/status helpers
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 10 Oct 2012 12:13:14 +0000 (15:13 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 29 Oct 2012 10:44:40 +0000 (12:44 +0200)
commit4e0397cfa78913f3da08c0aa8076b6b0a3b262a0
tree55c14525add2092a84b2ee77fce2a8d563ad6293
parent04bd8ac14e6c0d4f75be0950c14f9791ffdc76d7
OMAPDSS: DISPC: Add IRQ enable/status helpers

DISPC irqs need to be handled from the compat layer and also in the
future by the omapdrm. To make this possible, this patchs adds a set of
helper functions, so that the irqs can be managed without direct
register reads/writes.

The following functions are added, and all the current direct reg
reads/writes are changed to use these.

u32 dispc_read_irqstatus(void);
void dispc_clear_irqstatus(u32 mask);
u32 dispc_read_irqenable(void);
void dispc_write_irqenable(u32 mask);

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