Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /**************************************************************************
0003  * Copyright (c) 2009-2011, Intel Corporation.
0004  * All Rights Reserved.
0005  *
0006  * Authors:
0007  *    Benjamin Defnet <benjamin.r.defnet@intel.com>
0008  *    Rajesh Poornachandran <rajesh.poornachandran@intel.com>
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 /* _PSB_IRQ_H_ */