1*59718dbfSLee Jones /* radeon_kms.h -- Private header for radeon driver -*- linux-c -*-
2*59718dbfSLee Jones  *
3*59718dbfSLee Jones  * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
4*59718dbfSLee Jones  * Copyright 2000 VA Linux Systems, Inc., Fremont, California.
5*59718dbfSLee Jones  * All rights reserved.
6*59718dbfSLee Jones  *
7*59718dbfSLee Jones  * Permission is hereby granted, free of charge, to any person obtaining a
8*59718dbfSLee Jones  * copy of this software and associated documentation files (the "Software"),
9*59718dbfSLee Jones  * to deal in the Software without restriction, including without limitation
10*59718dbfSLee Jones  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11*59718dbfSLee Jones  * and/or sell copies of the Software, and to permit persons to whom the
12*59718dbfSLee Jones  * Software is furnished to do so, subject to the following conditions:
13*59718dbfSLee Jones  *
14*59718dbfSLee Jones  * The above copyright notice and this permission notice (including the next
15*59718dbfSLee Jones  * paragraph) shall be included in all copies or substantial portions of the
16*59718dbfSLee Jones  * Software.
17*59718dbfSLee Jones  *
18*59718dbfSLee Jones  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19*59718dbfSLee Jones  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20*59718dbfSLee Jones  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
21*59718dbfSLee Jones  * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
22*59718dbfSLee Jones  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
23*59718dbfSLee Jones  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
24*59718dbfSLee Jones  * DEALINGS IN THE SOFTWARE.
25*59718dbfSLee Jones  *
26*59718dbfSLee Jones  */
27*59718dbfSLee Jones 
28*59718dbfSLee Jones #ifndef __RADEON_KMS_H__
29*59718dbfSLee Jones #define __RADEON_KMS_H__
30*59718dbfSLee Jones 
31*59718dbfSLee Jones u32 radeon_get_vblank_counter_kms(struct drm_crtc *crtc);
32*59718dbfSLee Jones int radeon_enable_vblank_kms(struct drm_crtc *crtc);
33*59718dbfSLee Jones void radeon_disable_vblank_kms(struct drm_crtc *crtc);
34*59718dbfSLee Jones 
35*59718dbfSLee Jones #endif				/* __RADEON_KMS_H__ */
36