1 * Copyright 2000 by Richard A. Hecker, California, United States |
|
2 * Copyright 2002 by Red Hat Inc. |
|
3 * |
|
4 * Permission to use, copy, modify, distribute, and sell this software and its |
|
5 * documentation for any purpose is hereby granted without fee, provided that |
|
6 * the above copyright notice appear in all copies and that both that |
|
7 * copyright notice and this permission notice appear in supporting |
|
8 * documentation, and that the name of Alan Hourihane not be used in |
|
9 * advertising or publicity pertaining to distribution of the software without |
|
10 * specific, written prior permission. Alan Hourihane makes no representations |
|
11 * about the suitability of this software for any purpose. It is provided |
|
12 * "as is" without express or implied warranty. |
|
13 * |
|
14 * RICHARD HECKER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
|
15 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
|
16 * EVENT SHALL RICHARD HECKER BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
|
17 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, |
|
18 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
|
19 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
|
20 * PERFORMANCE OF THIS SOFTWARE. |
|
21 * |
|
22 * RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
|
23 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
|
24 * EVENT SHALL RICHARD HECKER BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
|
25 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, |
|
26 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
|
27 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
|
28 * PERFORMANCE OF THIS SOFTWARE. |
|
29 * |
|
30 * Author: Richard Hecker, [email protected] |
|
31 * Re-written for XFree86 v4.0 |
|
32 * Chunks re-written again for XFree86 v4.2 |
|
33 * Alan Cox <[email protected]> |
|
34 * Previous driver (pre-XFree86 v4.0) by |
|
35 * Annius V. Groenink ([email protected], [email protected]), |
|
36 * Dirk H. Hohndel ([email protected]), |
|
37 * Portions: the GGI project & confidential CYRIX databooks. |
|
38 |
|
39 this code is partly based on the MediaGX sources from the GGI project |
|
40 based on CYRIX example code (gxvideo.c) and included with CYRIX and |
|
41 GGI's permission under the XFree86 license. |
|
42 |
|
43 |
|
44 * Copyright 2000 by Richard A. Hecker, California, United States |
|
45 * |
|
46 * Permission to use, copy, modify, distribute, and sell this software and its |
|
47 * documentation for any purpose is hereby granted without fee, provided that |
|
48 * the above copyright notice appear in all copies and that both that |
|
49 * copyright notice and this permission notice appear in supporting |
|
50 * documentation, and that the name of Richard Hecker not be used in |
|
51 * advertising or publicity pertaining to distribution of the software without |
|
52 * specific, written prior permission. Richard Hecker makes no representations |
|
53 * about the suitability of this software for any purpose. It is provided |
|
54 * "as is" without express or implied warranty. |
|
55 * |
|
56 * RICHARD HECKER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
|
57 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
|
58 * EVENT SHALL RICHARD HECKER BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
|
59 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, |
|
60 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
|
61 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
|
62 * PERFORMANCE OF THIS SOFTWARE. |
|
63 * |
|
64 * Author: Richard Hecker, [email protected] |
|
65 * Re-written for XFree86 v4.0 |
|
66 * Previous driver (pre-XFree86 v4.0) by |
|
67 * Annius V. Groenink ([email protected], [email protected]), |
|
68 * Dirk H. Hohndel ([email protected]), |
|
69 * Portions: the GGI project & confidential CYRIX databooks. |
|
70 |
|
71 |
|
72 * Copyright 2000 by Richard A. Hecker, California, United States |
|
73 * |
|
74 * Permission to use, copy, modify, distribute, and sell this software and its |
|
75 * documentation for any purpose is hereby granted without fee, provided that |
|
76 * the above copyright notice appear in all copies and that both that |
|
77 * copyright notice and this permission notice appear in supporting |
|
78 * documentation, and that the name of Richard Hecker not be used in |
|
79 * advertising or publicity pertaining to distribution of the software without |
|
80 * specific, written prior permission. Richard Hecker makes no representations |
|
81 * about the suitability of this software for any purpose. It is provided |
|
82 * "as is" without express or implied warranty. |
|
83 * |
|
84 * RICHARD HECKER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
|
85 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
|
86 * EVENT SHALL RICHARD HECKER BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
|
87 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, |
|
88 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
|
89 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
|
90 * PERFORMANCE OF THIS SOFTWARE. |
|
91 * |
|
92 * Author: Richard Hecker, [email protected] |
|
93 * Re-written for XFree86 v4.0 |
|
94 * Previous driver (pre-XFree86 v4.0) by |
|
95 * Annius V. Groenink ([email protected], [email protected]), |
|
96 * Dirk H. Hohndel ([email protected]), |
|
97 * Portions: the GGI project & confidential CYRIX databooks. |
|
98 |
|
99 |
|
100 * Copyright 2000 by Richard A. Hecker, California, United States |
|
101 * Copyright 2002 by Red Hat Inc. |
|
102 * |
|
103 * Permission to use, copy, modify, distribute, and sell this software and its |
|
104 * documentation for any purpose is hereby granted without fee, provided that |
|
105 * the above copyright notice appear in all copies and that both that |
|
106 * copyright notice and this permission notice appear in supporting |
|
107 * documentation, and that the name of Richard Hecker not be used in |
|
108 * advertising or publicity pertaining to distribution of the software without |
|
109 * specific, written prior permission. Richard Hecker makes no representations |
|
110 * about the suitability of this software for any purpose. It is provided |
|
111 * "as is" without express or implied warranty. |
|
112 * |
|
113 * RICHARD HECKER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
|
114 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
|
115 * EVENT SHALL RICHARD HECKER BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
|
116 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, |
|
117 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
|
118 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
|
119 * PERFORMANCE OF THIS SOFTWARE. |
|
120 * |
|
121 * RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
|
122 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
|
123 * EVENT SHALL RICHARD HECKER BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
|
124 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, |
|
125 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
|
126 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
|
127 * PERFORMANCE OF THIS SOFTWARE. |
|
128 * |
|
129 * Author: Richard Hecker, [email protected] |
|
130 * Re-written for XFree86 v4.0 |
|
131 * |
|
132 * Chunks re-written again for XFree86 v4.2 |
|
133 * Alan Cox <[email protected]> |
|
134 * - Fixed cursor handling |
|
135 * - Rewrote parts of the broken mode switch code |
|
136 * - Added proper PCI detection |
|
137 * - Added ShadowFB support |
|
138 * - Added rotate support |
|
139 * - Fixed palette loading/restore |
|
140 * - Added "Nocompression" option |
|
141 * - Fixed line length loading |
|
142 * - Fixed panning logic |
|
143 * |
|
144 * Previous driver (pre-XFree86 v4.0) by |
|
145 * Annius V. Groenink ([email protected], [email protected]), |
|
146 * Dirk H. Hohndel ([email protected]), |
|
147 * Portions: the GGI project & confidential CYRIX databooks. |
|
148 * (note that most of the data books have been released by |
|
149 * NatSemi and are downloadable for free as pdf files) |
|
150 |
|
151 |
|
152 * Copyright 2000 by Richard A. Hecker, California, United States |
|
153 * Copyright 2002 by Red Hat Inc. |
|
154 * |
|
155 * Permission to use, copy, modify, distribute, and sell this software and its |
|
156 * documentation for any purpose is hereby granted without fee, provided that |
|
157 * the above copyright notice appear in all copies and that both that |
|
158 * copyright notice and this permission notice appear in supporting |
|
159 * documentation, and that the name of Richard Hecker not be used in |
|
160 * advertising or publicity pertaining to distribution of the software without |
|
161 * specific, written prior permission. Richard Hecker makes no representations |
|
162 * about the suitability of this software for any purpose. It is provided |
|
163 * "as is" without express or implied warranty. |
|
164 * |
|
165 * RICHARD HECKER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
|
166 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
|
167 * EVENT SHALL RICHARD HECKER BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
|
168 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, |
|
169 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
|
170 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
|
171 * PERFORMANCE OF THIS SOFTWARE. |
|
172 * |
|
173 * RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
|
174 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
|
175 * EVENT SHALL RICHARD HECKER BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
|
176 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, |
|
177 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
|
178 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
|
179 * PERFORMANCE OF THIS SOFTWARE. |
|
180 * |
|
181 * Author: Richard Hecker, [email protected] |
|
182 * Re-written for XFree86 v4.0 |
|
183 * |
|
184 * Chunks re-written again for XFree86 v4.2 |
|
185 * Alan Cox <[email protected]> |
|
186 * |
|
187 * Previous driver (pre-XFree86 v4.0) by |
|
188 * Annius V. Groenink ([email protected], [email protected]), |
|
189 * Dirk H. Hohndel ([email protected]), |
|
190 * Portions: the GGI project & confidential CYRIX databooks. |
|
191 |
|
192 |
|
193 Copyright (c) 1999, The XFree86 Project Inc. |
|
194 Written by Mark Vojkovich <[email protected]> |
|