Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / omapdrm / omap_irq.h
blob35e9586c4a51153bb35a91e72a3d89093b61fd07
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * omap_irq.h -- OMAP DRM IRQ Handling
5 * Copyright (C) 2011 Texas Instruments
6 * Author: Rob Clark <rob@ti.com>
7 */
9 #ifndef __OMAPDRM_IRQ_H__
10 #define __OMAPDRM_IRQ_H__
12 #include <linux/types.h>
14 struct drm_crtc;
15 struct drm_device;
16 struct omap_irq_wait;
18 int omap_irq_enable_vblank(struct drm_crtc *crtc);
19 int omap_irq_enable_framedone(struct drm_crtc *crtc, bool enable);
20 void omap_irq_disable_vblank(struct drm_crtc *crtc);
21 void omap_drm_irq_uninstall(struct drm_device *dev);
22 int omap_drm_irq_install(struct drm_device *dev);
24 struct omap_irq_wait *omap_irq_wait_init(struct drm_device *dev,
25 u32 irqmask, int count);
26 int omap_irq_wait(struct drm_device *dev, struct omap_irq_wait *wait,
27 unsigned long timeout);
29 #endif /* __OMAPDRM_IRQ_H__ */