0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef _PSB_IRQ_H_
0013 #define _PSB_IRQ_H_
0014
0015 struct drm_crtc;
0016 struct drm_device;
0017
0018 void gma_irq_preinstall(struct drm_device *dev);
0019 void gma_irq_postinstall(struct drm_device *dev);
0020 int gma_irq_install(struct drm_device *dev);
0021 void gma_irq_uninstall(struct drm_device *dev);
0022
0023 int gma_crtc_enable_vblank(struct drm_crtc *crtc);
0024 void gma_crtc_disable_vblank(struct drm_crtc *crtc);
0025 u32 gma_crtc_get_vblank_counter(struct drm_crtc *crtc);
0026 void gma_enable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask);
0027 void gma_disable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask);
0028
0029 #endif