]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
OMAPDSS: DISPC: add dispc_mgr_get_framedone_irq
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 18 Nov 2011 13:39:52 +0000 (15:39 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Dec 2011 06:54:45 +0000 (08:54 +0200)
commit7d1365c998a462d8ea3627e87526227556b63351
tree2e4f3e965d626b47c88a1774b447cf1522134687
parent75c949653fdf77a17753ffb8462a3c458c476271
OMAPDSS: DISPC: add dispc_mgr_get_framedone_irq

Add dispc_mgr_get_framedone_irq() which returns the irq number for
FRAMEDONE for the given channel.

Note that the function returns always 0 for DIGIT channel, even if OMAP4
does have FRAMEDONE_TV interrupt. The reason for this is that this
function is currently used only to track manual updates, and thus
FRAMEDONE_TV is not needed.

If there's need in the future to also get the FRAMEDONE_TV this needs
revisiting. However, as FRAMEDONE_TV doesn't exist on OMAP2/3, the use
of this function for that purpose needs some extra code to handle the
OMAP2/3 case.

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