psb_irq.h 1022 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /**************************************************************************
  3. * Copyright (c) 2009-2011, Intel Corporation.
  4. * All Rights Reserved.
  5. *
  6. * Authors:
  7. * Benjamin Defnet <[email protected]>
  8. * Rajesh Poornachandran <[email protected]>
  9. *
  10. **************************************************************************/
  11. #ifndef _PSB_IRQ_H_
  12. #define _PSB_IRQ_H_
  13. struct drm_crtc;
  14. struct drm_device;
  15. void gma_irq_preinstall(struct drm_device *dev);
  16. void gma_irq_postinstall(struct drm_device *dev);
  17. int gma_irq_install(struct drm_device *dev);
  18. void gma_irq_uninstall(struct drm_device *dev);
  19. int gma_crtc_enable_vblank(struct drm_crtc *crtc);
  20. void gma_crtc_disable_vblank(struct drm_crtc *crtc);
  21. u32 gma_crtc_get_vblank_counter(struct drm_crtc *crtc);
  22. void gma_enable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask);
  23. void gma_disable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask);
  24. #endif /* _PSB_IRQ_H_ */