0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef __OMAPDRM_IRQ_H__
0010 #define __OMAPDRM_IRQ_H__
0011
0012 #include <linux/types.h>
0013
0014 struct drm_crtc;
0015 struct drm_device;
0016 struct omap_irq_wait;
0017
0018 int omap_irq_enable_vblank(struct drm_crtc *crtc);
0019 int omap_irq_enable_framedone(struct drm_crtc *crtc, bool enable);
0020 void omap_irq_disable_vblank(struct drm_crtc *crtc);
0021 void omap_drm_irq_uninstall(struct drm_device *dev);
0022 int omap_drm_irq_install(struct drm_device *dev);
0023
0024 struct omap_irq_wait *omap_irq_wait_init(struct drm_device *dev,
0025 u32 irqmask, int count);
0026 int omap_irq_wait(struct drm_device *dev, struct omap_irq_wait *wait,
0027 unsigned long timeout);
0028
0029 #endif