omap_irq.h 801 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * omap_irq.h -- OMAP DRM IRQ Handling
  4. *
  5. * Copyright (C) 2011 Texas Instruments
  6. * Author: Rob Clark <[email protected]>
  7. */
  8. #ifndef __OMAPDRM_IRQ_H__
  9. #define __OMAPDRM_IRQ_H__
  10. #include <linux/types.h>
  11. struct drm_crtc;
  12. struct drm_device;
  13. struct omap_irq_wait;
  14. int omap_irq_enable_vblank(struct drm_crtc *crtc);
  15. int omap_irq_enable_framedone(struct drm_crtc *crtc, bool enable);
  16. void omap_irq_disable_vblank(struct drm_crtc *crtc);
  17. void omap_drm_irq_uninstall(struct drm_device *dev);
  18. int omap_drm_irq_install(struct drm_device *dev);
  19. struct omap_irq_wait *omap_irq_wait_init(struct drm_device *dev,
  20. u32 irqmask, int count);
  21. int omap_irq_wait(struct drm_device *dev, struct omap_irq_wait *wait,
  22. unsigned long timeout);
  23. #endif /* __OMAPDRM_IRQ_H__ */