diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-10-17 03:38:52 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-10-18 06:11:13 -0400 |
commit | cb699200af1626a4c718018f28b7737bf56496e5 (patch) | |
tree | c4ff8102409f1f1ac8ea0412fb1464f8868dcfc8 /drivers/video | |
parent | 653985112c35b48670e645fb76815e185dd89d81 (diff) |
OMAPDSS: DISPC: add dispc_mgr_get_sync_lost_irq()
Add function that returns the sync lost irq mask for the given channel.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/omap2/dss/dispc.c | 5 | ||||
-rw-r--r-- | drivers/video/omap2/dss/dss.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c index bfa0d1d184ca..c50270e0afb4 100644 --- a/drivers/video/omap2/dss/dispc.c +++ b/drivers/video/omap2/dss/dispc.c | |||
@@ -542,6 +542,11 @@ u32 dispc_mgr_get_framedone_irq(enum omap_channel channel) | |||
542 | return mgr_desc[channel].framedone_irq; | 542 | return mgr_desc[channel].framedone_irq; |
543 | } | 543 | } |
544 | 544 | ||
545 | u32 dispc_mgr_get_sync_lost_irq(enum omap_channel channel) | ||
546 | { | ||
547 | return mgr_desc[channel].sync_lost_irq; | ||
548 | } | ||
549 | |||
545 | u32 dispc_wb_get_framedone_irq(void) | 550 | u32 dispc_wb_get_framedone_irq(void) |
546 | { | 551 | { |
547 | return DISPC_IRQ_FRAMEDONEWB; | 552 | return DISPC_IRQ_FRAMEDONEWB; |
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index 19d56636f5c5..bf9b7a4c5065 100644 --- a/drivers/video/omap2/dss/dss.h +++ b/drivers/video/omap2/dss/dss.h | |||
@@ -434,6 +434,7 @@ void dispc_ovl_set_channel_out(enum omap_plane plane, | |||
434 | 434 | ||
435 | u32 dispc_mgr_get_vsync_irq(enum omap_channel channel); | 435 | u32 dispc_mgr_get_vsync_irq(enum omap_channel channel); |
436 | u32 dispc_mgr_get_framedone_irq(enum omap_channel channel); | 436 | u32 dispc_mgr_get_framedone_irq(enum omap_channel channel); |
437 | u32 dispc_mgr_get_sync_lost_irq(enum omap_channel channel); | ||
437 | bool dispc_mgr_go_busy(enum omap_channel channel); | 438 | bool dispc_mgr_go_busy(enum omap_channel channel); |
438 | void dispc_mgr_go(enum omap_channel channel); | 439 | void dispc_mgr_go(enum omap_channel channel); |
439 | bool dispc_mgr_is_enabled(enum omap_channel channel); | 440 | bool dispc_mgr_is_enabled(enum omap_channel channel); |