1 /* * $XFree86: xc/programs/Xserver/hw/xfree86/drivers/sis/sis_common.h,v 1.1 2003/08/29 08:52:12 twini Exp $ */
3 * Common header definitions for SiS 2D/3D/DRM suite
5 * Copyright (C) 2003 Eric Anholt
7 * Permission to use, copy, modify, distribute, and sell this software and its
8 * documentation for any purpose is hereby granted without fee, provided that
9 * the above copyright notice appear in all copies and that both that
10 * copyright notice and this permission notice appear in supporting
11 * documentation, and that the name of the copyright holder not be used in
12 * advertising or publicity pertaining to distribution of the software without
13 * specific, written prior permission. The copyright holder makes no representations
14 * about the suitability of this software for any purpose. It is provided
15 * "as is" without express or implied warranty.
17 * THE COPYRIGHT HOLDER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
18 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
19 * EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY SPECIAL, INDIRECT OR
20 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
21 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
22 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23 * PERFORMANCE OF THIS SOFTWARE.
26 * Eric Anholt <anholt@FreeBSD.org>
30 #ifndef _SIS_COMMON_H_
31 #define _SIS_COMMON_H_
33 #define DRM_SIS_FB_ALLOC 0x04
34 #define DRM_SIS_FB_FREE 0x05
35 #define DRM_SIS_FLIP 0x08
36 #define DRM_SIS_FLIP_INIT 0x09
37 #define DRM_SIS_FLIP_FINAL 0x10
38 #define DRM_SIS_AGP_INIT 0x13
39 #define DRM_SIS_AGP_ALLOC 0x14
40 #define DRM_SIS_AGP_FREE 0x15
41 #define DRM_SIS_FB_INIT 0x16
51 unsigned long offset
, size
;
55 unsigned long offset
, size
;
59 unsigned int left
, right
;
62 #endif /* _SIS_COMMON_H_ */