Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
psb_irq.h
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright (c) 2009-2011, Intel Corporation.
3  * All Rights Reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU General Public License,
7  * version 2, as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  * You should have received a copy of the GNU General Public License along with
15  * this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
17  *
18  * Authors:
19  * Benjamin Defnet <[email protected]>
20  * Rajesh Poornachandran <[email protected]>
21  *
22  **************************************************************************/
23 
24 #ifndef _SYSIRQ_H_
25 #define _SYSIRQ_H_
26 
27 #include <drm/drmP.h>
28 
29 bool sysirq_init(struct drm_device *dev);
30 void sysirq_uninit(struct drm_device *dev);
31 
32 void psb_irq_preinstall(struct drm_device *dev);
34 void psb_irq_uninstall(struct drm_device *dev);
36 
39 void psb_irq_turn_on_dpst(struct drm_device *dev);
41 int psb_enable_vblank(struct drm_device *dev, int pipe);
42 void psb_disable_vblank(struct drm_device *dev, int pipe);
44 
45 int mdfld_enable_te(struct drm_device *dev, int pipe);
46 void mdfld_disable_te(struct drm_device *dev, int pipe);
47 #endif /* _SYSIRQ_H_ */