1beef1b22Smrgcommit 6bb016cbec5d23de1ee531d149f987fb95a85674
2beef1b22SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3beef1b22SmrgDate:   Wed Sep 27 17:57:10 2023 -0700
4beef1b22Smrg
5beef1b22Smrg    xf86-video-siliconmotion 1.7.10
6beef1b22Smrg    
7beef1b22Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8beef1b22Smrg
9beef1b22Smrgcommit 6f3c8acd0723542a62aa4b2d62a910123604bdad
10beef1b22SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11beef1b22SmrgDate:   Tue Sep 26 18:20:52 2023 -0700
12beef1b22Smrg
13beef1b22Smrg    gitlab CI: ensure libtool is installed in build container
14beef1b22Smrg    
15beef1b22Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
16beef1b22Smrg
17beef1b22Smrgcommit 1eace804079236bd8f1c5fe1afdda111a38607f0
18beef1b22SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
19beef1b22SmrgDate:   Sat Feb 25 09:14:16 2023 -0800
20beef1b22Smrg
21beef1b22Smrg    Remove "All rights reserved" from Oracle copyright notices
22beef1b22Smrg    
23beef1b22Smrg    Oracle no longer includes this term in our copyright & license notices.
24beef1b22Smrg    
25beef1b22Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
26beef1b22Smrg
27beef1b22Smrgcommit f3e48a4a0435ae17cff0b570d208a222fcd7fc58
28beef1b22SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
29beef1b22SmrgDate:   Thu Dec 15 09:20:41 2022 -0800
30beef1b22Smrg
31beef1b22Smrg    Replace malloc()+memset() with calloc()
32beef1b22Smrg    
33beef1b22Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
34beef1b22Smrg
35beef1b22Smrgcommit 343b595d28a2808f08c99faabbde2d999e43b5e7
36beef1b22SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
37beef1b22SmrgDate:   Thu Dec 15 09:13:22 2022 -0800
38beef1b22Smrg
39beef1b22Smrg    Replace malloc()+snprintf() with Xasprintf()
40beef1b22Smrg    
41beef1b22Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
42beef1b22Smrg
43beef1b22Smrgcommit 8cddfb1205dd000e5071c237fbbda84656149242
44beef1b22SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
45beef1b22SmrgDate:   Thu Dec 8 18:03:11 2022 -0800
46beef1b22Smrg
47beef1b22Smrg    Quiet -Wempty-body warning
48beef1b22Smrg    
49beef1b22Smrg    smi_video.c: In function ‘SetAttrSAA7111’:
50beef1b22Smrg    smi_video.c:802:33: warning: suggest braces around empty body
51beef1b22Smrg      in an ‘if’ statement [-Wempty-body]
52beef1b22Smrg          if ((j&7) == 7) DEBUG("\n");
53beef1b22Smrg                                     ^
54beef1b22Smrg    
55beef1b22Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
56beef1b22Smrg
57beef1b22Smrgcommit 7c145c65e2feaf6ea63fdfba67bf7c0cd44b2fbe
58beef1b22SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
59beef1b22SmrgDate:   Thu Dec 8 17:58:02 2022 -0800
60beef1b22Smrg
61beef1b22Smrg    constify some char * declarations
62beef1b22Smrg    
63beef1b22Smrg    Clears 6 of 17 -Wdiscarded-qualifiers warnings from gcc
64beef1b22Smrg    
65beef1b22Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
66beef1b22Smrg
67beef1b22Smrgcommit 92f5cf6fcbec4bb9f59e4828d6eb38174aadb2a0
68beef1b22SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
69beef1b22SmrgDate:   Thu Jul 28 17:30:21 2022 -0700
70beef1b22Smrg
71beef1b22Smrg    gitlab CI: stop requiring Signed-off-by in commits
72beef1b22Smrg    
73beef1b22Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
74beef1b22Smrg
75beef1b22Smrgcommit ff3dbb3ee82958f441d6106eaf61d97335689e27
76beef1b22SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
77beef1b22SmrgDate:   Fri Jan 28 15:00:06 2022 -0800
78beef1b22Smrg
79beef1b22Smrg    gitlab CI: add a basic build test
80beef1b22Smrg    
81beef1b22Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
82beef1b22Smrg
83beef1b22Smrgcommit 3e608e2332e99477aa219027c518d5e09af4e5b6
84beef1b22SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
85beef1b22SmrgDate:   Fri Jan 28 14:57:43 2022 -0800
86beef1b22Smrg
87beef1b22Smrg    Fix spelling/wording issues
88beef1b22Smrg    
89beef1b22Smrg    Found by using:
90beef1b22Smrg        codespell --builtin clear,rare,usage,informal,code,names
91beef1b22Smrg    
92beef1b22Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
93beef1b22Smrg
94beef1b22Smrgcommit 725459b05f6a641db34c58cffdae0646cc9450cb
95beef1b22SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
96beef1b22SmrgDate:   Fri Jan 28 14:30:03 2022 -0800
97beef1b22Smrg
98beef1b22Smrg    Build xz tarballs instead of bzip2
99beef1b22Smrg    
100beef1b22Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
101beef1b22Smrg
102beef1b22Smrgcommit 8e7eea6e1c6fc1e3a3c9d01b517a2a9ad1a11dac
103beef1b22SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
104beef1b22SmrgDate:   Fri Dec 7 19:08:46 2018 -0800
105beef1b22Smrg
106beef1b22Smrg    Update configure.ac bug URL for gitlab migration
107beef1b22Smrg    
108beef1b22Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
109beef1b22Smrg
110beef1b22Smrgcommit 1449cbc907092a17336bfc596d27fbbac256788c
111beef1b22SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
112beef1b22SmrgDate:   Sun Nov 18 16:17:10 2018 -0800
113beef1b22Smrg
114beef1b22Smrg    Update README for gitlab migration
115beef1b22Smrg    
116beef1b22Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
117beef1b22Smrg
118beef1b22Smrgcommit 1f94cd4f4b9a4455cc184af4e460d6d1a7fe354b
119beef1b22SmrgAuthor: Mihail Konev <k.mvc@ya.ru>
120beef1b22SmrgDate:   Thu Jan 26 14:00:22 2017 +1000
121beef1b22Smrg
122beef1b22Smrg    autogen: add default patch prefix
123beef1b22Smrg    
124beef1b22Smrg    Signed-off-by: Mihail Konev <k.mvc@ya.ru>
125beef1b22Smrg
126beef1b22Smrgcommit 8bdddcca77a01560552a87d99f58c246f4f76ceb
127beef1b22SmrgAuthor: Emil Velikov <emil.l.velikov@gmail.com>
128beef1b22SmrgDate:   Mon Mar 9 12:00:52 2015 +0000
129beef1b22Smrg
130beef1b22Smrg    autogen.sh: use quoted string variables
131beef1b22Smrg    
132beef1b22Smrg    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
133beef1b22Smrg    fall-outs, when they contain space.
134beef1b22Smrg    
135beef1b22Smrg    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
136beef1b22Smrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
137beef1b22Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
138beef1b22Smrg
139beef1b22Smrgcommit edb34b0b2e544240d69cf0ece6359ab075f7bcc3
140beef1b22SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
141beef1b22SmrgDate:   Tue Jan 24 10:32:07 2017 +1000
142beef1b22Smrg
143beef1b22Smrg    autogen.sh: use exec instead of waiting for configure to finish
144beef1b22Smrg    
145beef1b22Smrg    Syncs the invocation of configure with the one from the server.
146beef1b22Smrg    
147beef1b22Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
148beef1b22Smrg    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
149beef1b22Smrg
150beef1b22Smrgcommit 0cb46dfb3a39a0f8a79d3a85536e02ce30269e44
151beef1b22SmrgAuthor: Colin Walters <walters@verbum.org>
152beef1b22SmrgDate:   Wed Jan 4 17:37:06 2012 -0500
153beef1b22Smrg
154beef1b22Smrg    autogen.sh: Implement GNOME Build API
155beef1b22Smrg    
156beef1b22Smrg    http://people.gnome.org/~walters/docs/build-api.txt
157beef1b22Smrg    
158beef1b22Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
159beef1b22Smrg
160beef1b22Smrgcommit 59df21072192434e24d5eb39bd49cc5c100f2a65
161beef1b22SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
162beef1b22SmrgDate:   Thu Jan 26 11:18:06 2017 +1000
163beef1b22Smrg
164beef1b22Smrg    configure: Drop AM_MAINTAINER_MODE
165beef1b22Smrg    
166beef1b22Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
167beef1b22Smrg
168f395c03eSmrgcommit d269962724b57e21142c9e1c6631a45a46d87b47
169f395c03eSmrgAuthor: Matt Turner <mattst88@gmail.com>
170f395c03eSmrgDate:   Tue Jan 17 14:44:51 2017 -0800
171f395c03eSmrg
172f395c03eSmrg    xf86-video-siliconmotion 1.7.9
173f395c03eSmrg    
174f395c03eSmrg    Signed-off-by: Matt Turner <mattst88@gmail.com>
175f395c03eSmrg
176f395c03eSmrgcommit e67f3949648c20e16ac756ae28ea4a2b4a1d0f4c
177f395c03eSmrgAuthor: Adam Jackson <ajax@redhat.com>
178f395c03eSmrgDate:   Tue Jul 19 10:03:56 2016 -0400
179f395c03eSmrg
180f395c03eSmrg    Adapt Block/WakeupHandler signature for ABI 23
181f395c03eSmrg    
182f395c03eSmrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
183f395c03eSmrg
184f395c03eSmrgcommit 647e5a93d9387e3bc8d2c8569e3a5f996acfb169
185f395c03eSmrgAuthor: Thomas Klausner <wiz@NetBSD.org>
186f395c03eSmrgDate:   Mon Sep 14 18:36:32 2015 +0200
187f395c03eSmrg
188f395c03eSmrg    Use X11/Xarch.h for endian detection.
189f395c03eSmrg    
190f395c03eSmrg    Reviewed-by: Connor Behan <connor.behan@gmail.com>
191f395c03eSmrg
192f395c03eSmrgcommit a4e406c20ab0590214f779c2319ac7b92594a606
193f395c03eSmrgAuthor: Connor Behan <connor.behan@gmail.com>
194f395c03eSmrgDate:   Sun Aug 23 11:46:37 2015 -0400
195f395c03eSmrg
196f395c03eSmrg    Check for drawables before compositing
197f395c03eSmrg    
198f395c03eSmrg    This should prevent a crash when something like Cairo tries to composite
199f395c03eSmrg    a solid picture.
200f395c03eSmrg    
201f395c03eSmrg    Signed-off-by: Connor Behan <connor.behan@gmail.com>
202f395c03eSmrg
203df9ffc95Smrgcommit 70d3d3a384651e5d22840a0de8644eb8b10c5775
204df9ffc95SmrgAuthor: Julien Cristau <jcristau@debian.org>
205df9ffc95SmrgDate:   Sat May 9 16:56:51 2015 +0200
206df9ffc95Smrg
207df9ffc95Smrg    Bump to 1.7.8
208df9ffc95Smrg    
209df9ffc95Smrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
210df9ffc95Smrg
211df9ffc95Smrgcommit b22c590a546b2ea5f256e7654c4a6b165b320e80
212df9ffc95SmrgAuthor: Julien Cristau <jcristau@debian.org>
213df9ffc95SmrgDate:   Fri May 8 13:40:46 2015 +0200
214df9ffc95Smrg
215df9ffc95Smrg    Fix a couple const-ness warnings
216df9ffc95Smrg    
217df9ffc95Smrg    smi_accel.c: In function 'SMI_GEReset':
218df9ffc95Smrg    smi_accel.c:51:1: warning: passing argument 4 of 'SMI_GEReset' discards 'const' qualifier from pointer target type
219df9ffc95Smrg      WaitIdle();
220df9ffc95Smrg     ^
221df9ffc95Smrg    smi_accel.c:38:1: note: expected 'char *' but argument is of type 'const char *'
222df9ffc95Smrg     SMI_GEReset(ScrnInfoPtr pScrn, int from_timeout, int line, char *file)
223df9ffc95Smrg     ^
224df9ffc95Smrg    [...]
225df9ffc95Smrg    smi_driver.c: In function 'SMI_DetectPanelSize':
226df9ffc95Smrg    smi_driver.c:1011:12: warning: assignment discards 'const' qualifier from pointer target type
227df9ffc95Smrg         if ((s = xf86GetOptValString(pSmi->Options, OPTION_PANEL_SIZE)) != NULL) {
228df9ffc95Smrg                ^
229df9ffc95Smrg    
230df9ffc95Smrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
231df9ffc95Smrg
232df9ffc95Smrgcommit ca1c4c19d688d215b52f4e7e2a634c0cbcfff3c1
233df9ffc95SmrgAuthor: Julien Cristau <jcristau@debian.org>
234df9ffc95SmrgDate:   Fri May 8 13:41:01 2015 +0200
235df9ffc95Smrg
236df9ffc95Smrg    Fix SwitchMode and AdjustFrame hooks
237df9ffc95Smrg    
238df9ffc95Smrg    smi_driver.c: In function 'SMI_Probe':
239df9ffc95Smrg    smi_driver.c:360:24: warning: assignment from incompatible pointer type
240df9ffc95Smrg       pScrn->SwitchMode    = SMI_SwitchMode;
241df9ffc95Smrg                            ^
242df9ffc95Smrg    smi_driver.c:361:24: warning: assignment from incompatible pointer type
243df9ffc95Smrg       pScrn->AdjustFrame   = SMI_AdjustFrame;
244df9ffc95Smrg                            ^
245df9ffc95Smrg    
246df9ffc95Smrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
247df9ffc95Smrg
248df9ffc95Smrgcommit d06454e89384957fa2b77ff35b35108dc657a510
249df9ffc95SmrgAuthor: Julien Cristau <jcristau@debian.org>
250df9ffc95SmrgDate:   Fri May 8 13:27:56 2015 +0200
251df9ffc95Smrg
252df9ffc95Smrg    Fix BlockHandler declaration
253df9ffc95Smrg    
254df9ffc95Smrg    smi_video.c: In function 'SMI_SetupVideo':
255df9ffc95Smrg    smi_video.c:940:24: warning: assignment from incompatible pointer type
256df9ffc95Smrg         pSmi->BlockHandler = pScreen->BlockHandler;
257df9ffc95Smrg                            ^
258df9ffc95Smrg    
259df9ffc95Smrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
260df9ffc95Smrg
261df9ffc95Smrgcommit 6073828547bdff86d147ab54accb12bc4230d6aa
262df9ffc95SmrgAuthor: Julien Cristau <jcristau@debian.org>
263df9ffc95SmrgDate:   Fri May 8 13:26:00 2015 +0200
264df9ffc95Smrg
265df9ffc95Smrg    Fix shadow compiler warning
266df9ffc95Smrg    
267df9ffc95Smrg    smi_video.c: In function 'SetAttrSAA7111':
268df9ffc95Smrg    smi_video.c:795:6: warning: declaration of 'i' shadows a parameter [-Wshadow]
269df9ffc95Smrg      int i;
270df9ffc95Smrg          ^
271df9ffc95Smrg    smi_video.c:723:39: warning: shadowed declaration is here [-Wshadow]
272df9ffc95Smrg     SetAttrSAA7111(ScrnInfoPtr pScrn, int i, int value)
273df9ffc95Smrg                                           ^
274df9ffc95Smrg    
275df9ffc95Smrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
276df9ffc95Smrg
277df9ffc95Smrgcommit c31d7f853d7469085f96f1e37923c260884c611c
278df9ffc95SmrgAuthor: Adam Jackson <ajax@redhat.com>
279df9ffc95SmrgDate:   Tue Sep 30 10:34:07 2014 -0400
280df9ffc95Smrg
281df9ffc95Smrg    Remove dependency on xf86PciInfo.h
282df9ffc95Smrg    
283df9ffc95Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
284df9ffc95Smrg
285df9ffc95Smrgcommit 08d459d2b548ce89264f45c7018f1cda9f08d795
286df9ffc95SmrgAuthor: Adam Jackson <ajax@redhat.com>
287df9ffc95SmrgDate:   Tue Sep 30 10:31:52 2014 -0400
288df9ffc95Smrg
289df9ffc95Smrg    Fix a typo
290df9ffc95Smrg    
291df9ffc95Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
292df9ffc95Smrg
293df9ffc95Smrgcommit b0b287209cfba5c64c7584b1a82ed2a2f1eab7e6
294df9ffc95SmrgAuthor: Adam Jackson <ajax@redhat.com>
295df9ffc95SmrgDate:   Tue Sep 30 10:28:48 2014 -0400
296df9ffc95Smrg
297df9ffc95Smrg    Fix build against xserver 1.17
298df9ffc95Smrg    
299df9ffc95Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
300df9ffc95Smrg
301df9ffc95Smrgcommit 9b563415326e02f0b89f716c29b2fc22f393fb96
302df9ffc95SmrgAuthor: Adam Jackson <ajax@redhat.com>
303df9ffc95SmrgDate:   Wed May 21 14:01:02 2014 -0400
304df9ffc95Smrg
305df9ffc95Smrg    Use own thunk function instead of vgaHW*Weak
306df9ffc95Smrg    
307df9ffc95Smrg    I plan to remove the Weak functions from a future server.
308df9ffc95Smrg    
309df9ffc95Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
310df9ffc95Smrg
311df9ffc95Smrgcommit f19d7e463c30f1364e82e8c9f87b8a8407d53680
312df9ffc95SmrgAuthor: Adam Jackson <ajax@redhat.com>
313df9ffc95SmrgDate:   Wed Jan 9 22:59:39 2013 -0500
314df9ffc95Smrg
315df9ffc95Smrg    Remove miInitializeBackingStore()
316df9ffc95Smrg    
317df9ffc95Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
318df9ffc95Smrg
319b12e5c03Smrgcommit 2beb25bd41508ab5e2af39c696485fcb5f0ca7d6
320b12e5c03SmrgAuthor: Dave Airlie <airlied@redhat.com>
321b12e5c03SmrgDate:   Tue Jul 17 16:05:09 2012 +1000
322b12e5c03Smrg
323b12e5c03Smrg    xf86-video-siliconmotion: bump to version 1.7.7
324b12e5c03Smrg    
325b12e5c03Smrg    Signed-off-by: Dave Airlie <airlied@redhat.com>
326b12e5c03Smrg
327b12e5c03Smrgcommit 4b4b8e9c047bd34c516ca8ab2b15fd1c541d05d5
328b12e5c03SmrgAuthor: Dave Airlie <airlied@redhat.com>
329b12e5c03SmrgDate:   Tue Jul 17 14:53:30 2012 +1000
330b12e5c03Smrg
331b12e5c03Smrg    smi: convert to new X server screen conversion apis.
332b12e5c03Smrg    
333b12e5c03Smrg    Signed-off-by: Dave Airlie <airlied@redhat.com>
334b12e5c03Smrg
335b12e5c03Smrgcommit 1aad7b44e3e141bd8d3e589b7cd410e791050bd0
336b12e5c03SmrgAuthor: Dave Airlie <airlied@redhat.com>
337b12e5c03SmrgDate:   Tue Jul 17 02:01:07 2012 +0100
338b12e5c03Smrg
339b12e5c03Smrg    smi: port to compat-api for new server.
340b12e5c03Smrg    
341b12e5c03Smrg    Signed-off-by: Dave Airlie <airlied@redhat.com>
342b12e5c03Smrg
343b12e5c03Smrgcommit 891ea02395079b1480faf701156185ad01405e6d
344b12e5c03SmrgAuthor: Dave Airlie <airlied@redhat.com>
345b12e5c03SmrgDate:   Tue Jul 17 01:52:45 2012 +0100
346b12e5c03Smrg
347b12e5c03Smrg    smi: fix build against XAA-less server
348b12e5c03Smrg
349b12e5c03Smrgcommit e4660be7c12de53cac57c0b7d4e792a071b4fcfc
350b12e5c03SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
351b12e5c03SmrgDate:   Fri Mar 23 19:49:14 2012 -0700
352b12e5c03Smrg
353b12e5c03Smrg    xf86-video-siliconmotion 1.7.6
354b12e5c03Smrg    
355b12e5c03Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
356b12e5c03Smrg
357b12e5c03Smrgcommit 63afc35a662bc2dc460f6ff6fab65a8462aa5e76
358b12e5c03SmrgAuthor: Matt Turner <mattst88@gmail.com>
359b12e5c03SmrgDate:   Thu Feb 9 17:14:25 2012 -0500
360b12e5c03Smrg
361b12e5c03Smrg    Add &component=Driver/siliconmotion to Bugzilla link
362b12e5c03Smrg    
363b12e5c03Smrg    Signed-off-by: Matt Turner <mattst88@gmail.com>
364b12e5c03Smrg
365b12e5c03Smrgcommit 12695ed1edd8c590252e76d530bcecaa0036e109
366b12e5c03SmrgAuthor: Matt Turner <mattst88@gmail.com>
367b12e5c03SmrgDate:   Thu Feb 9 16:21:59 2012 -0500
368b12e5c03Smrg
369b12e5c03Smrg    Don't check for randrproto or renderproto
370b12e5c03Smrg    
371b12e5c03Smrg    The driver supports neither randr or render.
372b12e5c03Smrg    
373b12e5c03Smrg    Signed-off-by: Matt Turner <mattst88@gmail.com>
374b12e5c03Smrg
375b12e5c03Smrgcommit 0e7e9cd639196cb42b0a79b2671f6bacc558035f
376b12e5c03SmrgAuthor: Adam Jackson <ajax@redhat.com>
377b12e5c03SmrgDate:   Mon Dec 19 17:26:34 2011 -0500
378b12e5c03Smrg
379b12e5c03Smrg    Fix for new vgaHW ABI
380b12e5c03Smrg    
381b12e5c03Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
382b12e5c03Smrg
383b12e5c03Smrgcommit 208a703776d6dfbd01babbe2f220a7198dea4f5c
384b12e5c03SmrgAuthor: Adam Jackson <ajax@redhat.com>
385b12e5c03SmrgDate:   Mon Dec 19 17:25:39 2011 -0500
386b12e5c03Smrg
387b12e5c03Smrg    Make failure to XAA non-fatal
388b12e5c03Smrg    
389b12e5c03Smrg    No shadowfb support in this driver yet.
390b12e5c03Smrg    
391b12e5c03Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
392b12e5c03Smrg
393b12e5c03Smrgcommit 7d9c1a49b87df15cdb78c529db554ea82c77033f
394b12e5c03SmrgAuthor: Adam Jackson <ajax@redhat.com>
395b12e5c03SmrgDate:   Thu Nov 17 15:53:51 2011 -0500
396b12e5c03Smrg
397b12e5c03Smrg    Check ABI major not encoded ABI
398b12e5c03Smrg    
399b12e5c03Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
400b12e5c03Smrg
401b12e5c03Smrgcommit 037b839c84ad6dcbe9aade420cf0d3bf06f23119
402b12e5c03SmrgAuthor: Adam Jackson <ajax@redhat.com>
403b12e5c03SmrgDate:   Wed Nov 16 15:03:25 2011 -0500
404b12e5c03Smrg
405b12e5c03Smrg    Adapt to missing PIOOffset in videoabi 12
406b12e5c03Smrg    
407b12e5c03Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
408b12e5c03Smrg
4097b58d2e0Smrgcommit 087226bf4e442b83985078f5df481eb91f4f65ed
4107b58d2e0SmrgAuthor: Julien Cristau <jcristau@debian.org>
4117b58d2e0SmrgDate:   Sun Feb 27 17:12:58 2011 +0100
4127b58d2e0Smrg
4137b58d2e0Smrg    Bump to 1.7.5
4147b58d2e0Smrg
4157b58d2e0Smrgcommit b20cfa3d4f531b612a28ea88e5f5a6b1df183ea0
4167b58d2e0SmrgAuthor: Julien Cristau <jcristau@debian.org>
4177b58d2e0SmrgDate:   Sun Feb 27 15:49:12 2011 +0100
4187b58d2e0Smrg
4197b58d2e0Smrg    Replace calls to xalloc/xcalloc/xfree with malloc/calloc/free
4207b58d2e0Smrg    
4217b58d2e0Smrg    Also don't check for NULL before calling free().
4227b58d2e0Smrg    
4237b58d2e0Smrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
4247b58d2e0Smrg
4257b58d2e0Smrgcommit 312540ac447acaf80db7e341aa75f90f3e821438
4267b58d2e0SmrgAuthor: Julien Cristau <jcristau@debian.org>
4277b58d2e0SmrgDate:   Sun Feb 27 15:52:33 2011 +0100
4287b58d2e0Smrg
4297b58d2e0Smrg    Fix compiler warning on 64bit
4307b58d2e0Smrg    
4317b58d2e0Smrg    src/smi_driver.c: In function ‘SMI_MapMem’:
4327b58d2e0Smrg    src/smi_driver.c:1498: warning: format ‘%08lX’ expects type ‘long unsigned int’, but argument 6 has type ‘CARD32’
4337b58d2e0Smrg    
4347b58d2e0Smrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
4357b58d2e0Smrg
4367b58d2e0Smrgcommit 6008906f0e328180b17e7b604b97dfdfd4280508
4377b58d2e0SmrgAuthor: Julien Cristau <jcristau@debian.org>
4387b58d2e0SmrgDate:   Sun Feb 27 15:46:13 2011 +0100
4397b58d2e0Smrg
4407b58d2e0Smrg    Fix build with xserver 1.10
4417b58d2e0Smrg    
4427b58d2e0Smrg    ScrnInfo->pixmapPrivate is gone
4437b58d2e0Smrg    
4447b58d2e0Smrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
4457b58d2e0Smrg
4467b58d2e0Smrgcommit 903aac1db82e17954b74581019ebb946d5b43fe3
4477b58d2e0SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
4487b58d2e0SmrgDate:   Sat Oct 30 09:41:07 2010 -0700
4497b58d2e0Smrg
4507b58d2e0Smrg    Sun's copyrights now belong to Oracle
4517b58d2e0Smrg    
4527b58d2e0Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
4537b58d2e0Smrg
4547b58d2e0Smrgcommit 71e61276ac62dfee15b275568084f8b8a55fc661
4557b58d2e0SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
4567b58d2e0SmrgDate:   Wed Jul 21 16:49:04 2010 -0400
4577b58d2e0Smrg
4587b58d2e0Smrg    config: add comments for main statements
4597b58d2e0Smrg
4607b58d2e0Smrgcommit 5cdb9326ab19da691f4a417def47fd0c869cefb7
4617b58d2e0SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
4627b58d2e0SmrgDate:   Wed Jul 21 16:07:00 2010 -0400
4637b58d2e0Smrg
4647b58d2e0Smrg    config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES
4657b58d2e0Smrg    
4667b58d2e0Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
4677b58d2e0Smrg
4687b58d2e0Smrgcommit 987c55bc8f69551eea917fba94827ac31c04a49f
4697b58d2e0SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
4707b58d2e0SmrgDate:   Wed Jul 21 14:37:41 2010 -0400
4717b58d2e0Smrg
4727b58d2e0Smrg    config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
4737b58d2e0Smrg    
4747b58d2e0Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
4757b58d2e0Smrg
4767b58d2e0Smrgcommit f2569300c0f1b5714b4c4f09d07a16e9434bee00
4777b58d2e0SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
4787b58d2e0SmrgDate:   Wed Jul 21 14:05:23 2010 -0400
4797b58d2e0Smrg
4807b58d2e0Smrg    config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
4817b58d2e0Smrg    
4827b58d2e0Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
4837b58d2e0Smrg
4847b58d2e0Smrgcommit 6b1d1833b38e1d21760174493e4f8f0af4214574
4857b58d2e0SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
4867b58d2e0SmrgDate:   Wed Jul 21 09:27:42 2010 -0400
4877b58d2e0Smrg
4887b58d2e0Smrg    config: complete AC_INIT m4 quoting
4897b58d2e0Smrg    
4907b58d2e0Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
4917b58d2e0Smrg
4927b58d2e0Smrgcommit dc67a8e8fe220697c3dcbca63c9ce0608a75888c
4937b58d2e0SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
4947b58d2e0SmrgDate:   Tue Jul 20 20:24:42 2010 -0400
4957b58d2e0Smrg
4967b58d2e0Smrg    config: remove unrequired AC_HEADER_STDC
4977b58d2e0Smrg    
4987b58d2e0Smrg    Autoconf says:
4997b58d2e0Smrg    "This macro is obsolescent, as current systems have conforming
5007b58d2e0Smrg    header files. New programs need not use this macro".
5017b58d2e0Smrg    
5027b58d2e0Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
5037b58d2e0Smrg
5047b58d2e0Smrgcommit 64995ca7f1287493e0616cc6469fdc2465900325
5057b58d2e0SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
5067b58d2e0SmrgDate:   Tue Jul 20 19:41:31 2010 -0400
5077b58d2e0Smrg
5087b58d2e0Smrg    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
5097b58d2e0Smrg    
5107b58d2e0Smrg    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
5117b58d2e0Smrg    AC_PROG_C_C99. This sets gcc with -std=gnu99.
5127b58d2e0Smrg    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
5137b58d2e0Smrg    
5147b58d2e0Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
5157b58d2e0Smrg
5167b58d2e0Smrgcommit 9520e4e64fa758eef024feda09cb6435e41db705
5177b58d2e0SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
5187b58d2e0SmrgDate:   Tue Jul 20 18:45:19 2010 -0400
5197b58d2e0Smrg
5207b58d2e0Smrg    config: update AC_PREREQ statement to 2.60
5217b58d2e0Smrg    
5227b58d2e0Smrg    Unrelated to the previous patches, the new value simply reflects
5237b58d2e0Smrg    the reality that the minimum level for autoconf to configure
5247b58d2e0Smrg    all x.org modules is 2.60 dated June 2006.
5257b58d2e0Smrg    
5267b58d2e0Smrg    ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
5277b58d2e0Smrg    
5287b58d2e0Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
5297b58d2e0Smrg
5307b58d2e0Smrgcommit 53cddc508ea0026db04f04772c401010d62d6af3
5317b58d2e0SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
5327b58d2e0SmrgDate:   Tue Jul 20 16:15:30 2010 -0400
5337b58d2e0Smrg
5347b58d2e0Smrg    config: upgrade to util-macros 1.8 for additional man page support
5357b58d2e0Smrg    
5367b58d2e0Smrg    Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
5377b58d2e0Smrg    The value of MAN_SUBST is the same for all X.Org packages.
5387b58d2e0Smrg
5397b58d2e0Smrgcommit 8087bc23a7662f1426a8bd6febf0d5d3844e6107
5407b58d2e0SmrgAuthor: Francisco Jerez <currojerez@riseup.net>
5417b58d2e0SmrgDate:   Wed Jun 16 14:59:37 2010 +0200
5427b58d2e0Smrg
5437b58d2e0Smrg    xv: Make sure we have a CRTC before setting up the overlay.
5447b58d2e0Smrg    
5457b58d2e0Smrg    Fixes a segfault when the destination area is off screen.
5467b58d2e0Smrg    
5477b58d2e0Smrg    Signed-off-by: Francisco Jerez <currojerez@riseup.net>
5487b58d2e0Smrg    Tested-by: Krzysztof Halasa <khc@pm.waw.pl>
5497b58d2e0Smrg
550e4f6584cSmrgcommit 2de1f7ae0b4441c1501568358acf2b870bb9dcc6
551e4f6584cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
552e4f6584cSmrgDate:   Tue Apr 27 15:11:35 2010 -0700
553e4f6584cSmrg
554e4f6584cSmrg    xf86-video-siliconmotion 1.7.4
555e4f6584cSmrg    
556e4f6584cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
557e4f6584cSmrg
558e4f6584cSmrgcommit 2dd7cd7508b459638a640905f8793ea85f41af82
559e4f6584cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
560e4f6584cSmrgDate:   Tue Apr 27 15:11:02 2010 -0700
561e4f6584cSmrg
562e4f6584cSmrg    Require xorg-macros 1.4 for XORG_INSTALL
563e4f6584cSmrg    
564e4f6584cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
565e4f6584cSmrg
566e4f6584cSmrgcommit b6d8a1adec9f780826090fb923c54f16fd7f9ce7
567e4f6584cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
568e4f6584cSmrgDate:   Tue Apr 27 15:08:36 2010 -0700
569e4f6584cSmrg
570e4f6584cSmrg    Use $(AM_V_GEN) & $(SED) to generate man pages
571e4f6584cSmrg    
572e4f6584cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
573e4f6584cSmrg
574e4f6584cSmrgcommit 7510112f30e33cfb9650ee939564f73ff9633bea
575e4f6584cSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
576e4f6584cSmrgDate:   Thu Feb 11 10:08:07 2010 -0500
577e4f6584cSmrg
578e4f6584cSmrg    config: move CWARNFLAGS from configure.ac to Makefile.am
579e4f6584cSmrg    
580e4f6584cSmrg    Compiler warning flags should be explicitly set in the makefile
581e4f6584cSmrg    rather than being merged with other packages compiler flags.
582e4f6584cSmrg    
583e4f6584cSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
584e4f6584cSmrg
585e4f6584cSmrgcommit 3f2aaabcdfe339908338dff42aabc1fef47e8694
586e4f6584cSmrgAuthor: Cedric Cellier <rixed@happyleptic.org>
587e4f6584cSmrgDate:   Mon Feb 8 11:44:28 2010 +0100
588e4f6584cSmrg
589e4f6584cSmrg    Fix lack of precision in video resizing. #26443
590e4f6584cSmrg    
591e4f6584cSmrg    On some videos the last displayed line was wrong. This can
592e4f6584cSmrg    be fixed using LynxEM+ VPR68. Code borrowed from siliconmotion's
593e4f6584cSmrg    in-house driver.
594e4f6584cSmrg    Also fix a typo.
595e4f6584cSmrg    
596e4f6584cSmrg    Signed-off-by: Cedric Cellier <rixed@happyleptic.org>
597e4f6584cSmrg    Signed-off-by: Francisco Jerez <currojerez@riseup.net>
598e4f6584cSmrg
599e4f6584cSmrgcommit 6bf8f8d7e13ccbb773765c4fcdcaf6d1d2993122
600e4f6584cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
601e4f6584cSmrgDate:   Fri Jan 15 13:50:43 2010 -0800
602e4f6584cSmrg
603e4f6584cSmrg    Update Sun license notices to current X.Org standard form
604e4f6584cSmrg    
605e4f6584cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
606e4f6584cSmrg
607e4f6584cSmrgcommit 6650644b51947c0c13e71b0fa01f795e997ab750
608e4f6584cSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
609e4f6584cSmrgDate:   Tue Dec 15 22:01:02 2009 -0500
610e4f6584cSmrg
611e4f6584cSmrg    configure.ac: remove unused sdkdir=$(pkg-config...) statement
612e4f6584cSmrg    
613e4f6584cSmrg    The sdkdir variable isn't use, so remove the statement.
614e4f6584cSmrg    
615e4f6584cSmrg    Acked-by: Dan Nicholson <dbn.lists@gmail.com>
616e4f6584cSmrg    
617e4f6584cSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
618e4f6584cSmrg
619e4f6584cSmrgcommit e8e1d7d22aee2b6aa7caecf910b616a8e39ac061
620e4f6584cSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
621e4f6584cSmrgDate:   Mon Nov 23 09:25:05 2009 -0500
622e4f6584cSmrg
623e4f6584cSmrg    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
624e4f6584cSmrg    
625e4f6584cSmrg    Now that the INSTALL file is generated.
626e4f6584cSmrg    Allows running make maintainer-clean.
627e4f6584cSmrg
628e4f6584cSmrgcommit 6acfadf1c541626ce445f5d71438c845f196e37f
629e4f6584cSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
630e4f6584cSmrgDate:   Wed Oct 28 14:41:41 2009 -0400
631e4f6584cSmrg
632e4f6584cSmrg    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
633e4f6584cSmrg    
634e4f6584cSmrg    Automake 'foreign' option is specified in configure.ac.
635e4f6584cSmrg    Remove from Makefile.am
636e4f6584cSmrg
637e4f6584cSmrgcommit 638e15adec65c00cf3be68249c8372befe6a12a1
638e4f6584cSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
639e4f6584cSmrgDate:   Wed Oct 28 14:09:09 2009 -0400
640e4f6584cSmrg
641e4f6584cSmrg    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
642e4f6584cSmrg    
643e4f6584cSmrg    Add missing INSTALL file. Use standard GNU file on building tarball
644e4f6584cSmrg    README may have been updated
645e4f6584cSmrg    Remove AUTHORS file as it is empty and no content available yet.
646e4f6584cSmrg    Remove NEWS file as it is empty and no content available yet.
647e4f6584cSmrg
648e4f6584cSmrgcommit dd3ce955349f7545d9aa2aacbb018811d7b9faa3
649e4f6584cSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
650e4f6584cSmrgDate:   Mon Oct 26 12:54:22 2009 -0400
651e4f6584cSmrg
652e4f6584cSmrg    Several driver modules do not have a ChangeLog target in Makefile.am #23814
653e4f6584cSmrg    
654e4f6584cSmrg    The git generated ChangeLog replaces the hand written one.
655e4f6584cSmrg    Update configure.ac to xorg-macros level 1.3.
656e4f6584cSmrg    Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros
657e4f6584cSmrg    Update Makefile.am to add ChangeLog target if missing
658e4f6584cSmrg    Remove ChangeLog from EXTRA_DIST or *CLEAN variables
659e4f6584cSmrg    This is a pre-req for the INSTALL_CMD
660e4f6584cSmrg
661e4f6584cSmrgcommit b48c3f38767cdcd71eccfa6a0f4a15501a39f83a
662e4f6584cSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
663e4f6584cSmrgDate:   Thu Oct 22 12:34:18 2009 -0400
664e4f6584cSmrg
665e4f6584cSmrg    .gitignore: use common defaults with custom section # 24239
666e4f6584cSmrg    
667e4f6584cSmrg    Using common defaults will reduce errors and maintenance.
668e4f6584cSmrg    Only the very small or inexistent custom section need periodic maintenance
669e4f6584cSmrg    when the structure of the component changes. Do not edit defaults.
670e4f6584cSmrg
671e4f6584cSmrgcommit 8a4f000f22bbec70193415372cfb478d6e2164d8
672e4f6584cSmrgAuthor: Adam Jackson <ajax@redhat.com>
673e4f6584cSmrgDate:   Mon Nov 2 16:03:00 2009 -0500
674e4f6584cSmrg
675e4f6584cSmrg    Change clockRange to ClockRange, not ClockRanges
676e4f6584cSmrg    
677e4f6584cSmrg    ClockRanges is a silly type and I want rid of it, and the one extra
678e4f6584cSmrg    field it provides that's not in ClockRange, we're not using.
679e4f6584cSmrg    
680e4f6584cSmrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
681e4f6584cSmrg
682b698ba48Smrgcommit 52f40e7569bbcc9bce8f5d885b0de2868398e8df
683b698ba48SmrgAuthor: Dave Airlie <airlied@redhat.com>
684b698ba48SmrgDate:   Wed Aug 5 11:09:26 2009 +1000
685b698ba48Smrg
686b698ba48Smrg    fix build after headers moved
687b698ba48Smrg
688b698ba48Smrgcommit 9d9bfe0349693b283e5dc1ced6fa882f10619253
689b698ba48SmrgAuthor: Dave Airlie <airlied@redhat.com>
690b698ba48SmrgDate:   Wed Aug 5 11:08:15 2009 +1000
691b698ba48Smrg
692b698ba48Smrg    update for 1.7.3
693b698ba48Smrg
694b698ba48Smrgcommit 115b564f78b038baef2d14c037785850efb4e9ca
695b698ba48SmrgAuthor: Dave Airlie <airlied@redhat.com>
696b698ba48SmrgDate:   Tue Jul 28 15:22:41 2009 +1000
697b698ba48Smrg
698b698ba48Smrg    siliconmotion: change to using ABI version check
699b698ba48Smrg
700b698ba48Smrgcommit 70f2463faa6d21517d97aa460871e1b5f3fa6505
701b698ba48SmrgAuthor: Dave Airlie <airlied@redhat.com>
702b698ba48SmrgDate:   Tue Jul 28 13:32:36 2009 +1000
703b698ba48Smrg
704b698ba48Smrg    siliconmotion: update for resources/RAC API removal
705b698ba48Smrg
706b698ba48Smrgcommit 841df790b5b6700e9a1d6d41ee04b0b913329084
707b698ba48SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
708b698ba48SmrgDate:   Thu Jul 16 11:55:05 2009 +1000
709b698ba48Smrg
710b698ba48Smrg    Update to xextproto 7.1 support.
711b698ba48Smrg    
712b698ba48Smrg    DPMS header was split into dpms.h (client) and dpmsconst.h (server). Drivers
713b698ba48Smrg    need to include dpmsconst.h if xextproto 7.1 is available.
714b698ba48Smrg    
715b698ba48Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
716b698ba48Smrg
717b698ba48Smrgcommit d754e9a2954e56a26a94e58d87a450a825c250e6
718b698ba48SmrgAuthor: Adam Jackson <ajax@redhat.com>
719b698ba48SmrgDate:   Thu Jul 2 11:43:52 2009 -0400
720b698ba48Smrg
721b698ba48Smrg    siliconmotion 1.7.2
722b698ba48Smrg
7232ec8c4b4Smrgcommit cd9e9f25294abb739c1772e3a9a7a9c0a921ee82
7242ec8c4b4SmrgAuthor: Francisco Jerez <currojerez@riseup.net>
7252ec8c4b4SmrgDate:   Tue Jun 23 13:11:02 2009 +0200
7262ec8c4b4Smrg
7272ec8c4b4Smrg    Fix EXA rotation for SM502 at 32bpp (bug 22432).
7282ec8c4b4Smrg
7292ec8c4b4Smrgcommit 97498c048c897e5753e61d3b4ab231025974d67c
7302ec8c4b4SmrgAuthor: Adam Jackson <ajax@redhat.com>
7312ec8c4b4SmrgDate:   Thu May 28 15:17:58 2009 -0400
7322ec8c4b4Smrg
7332ec8c4b4Smrg    Remove useless loader symbol lists.
7342ec8c4b4Smrg
7352ec8c4b4Smrgcommit 536e5df957698251206326edc5a13e833f7c72b1
7362ec8c4b4SmrgAuthor: Francisco Jerez <currojerez@riseup.net>
7372ec8c4b4SmrgDate:   Wed May 27 01:23:36 2009 +0200
7382ec8c4b4Smrg
7392ec8c4b4Smrg    Program MCLK/MXCLK on startup for a secondary SM502.
7402ec8c4b4Smrg    
7412ec8c4b4Smrg    This should allow using a SM502 as secondary display
7422ec8c4b4Smrg    device (bug 21810).
7432ec8c4b4Smrg
7442ec8c4b4Smrgcommit 6a370fa2b6b8fcbd556dd6f9bf92872e9bea23e8
7452ec8c4b4SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
7462ec8c4b4SmrgDate:   Mon May 11 22:31:30 2009 -0700
7472ec8c4b4Smrg
7482ec8c4b4Smrg    Fill in COPYING file, add SubmittingPatches URL to README
7492ec8c4b4Smrg
7502ec8c4b4Smrgcommit 962e0c4f08180ac51994aef8d6d042108d5841c1
7512ec8c4b4SmrgAuthor: Francisco Jerez <currojerez@riseup.net>
7522ec8c4b4SmrgDate:   Sun May 10 01:53:05 2009 +0200
7532ec8c4b4Smrg
7542ec8c4b4Smrg    Widen the pixel clock readjust interval for SM712.
7552ec8c4b4Smrg    
7562ec8c4b4Smrg    Set it to 3MHz so that the pixel clock frequency is overridden
7572ec8c4b4Smrg    when it's found to be 49MHz, which is reported to be unstable.
7582ec8c4b4Smrg
7592ec8c4b4Smrgcommit 3cc1b9d4bcf1b7a756ea4426c93392ff6d82e9a6
7602ec8c4b4SmrgAuthor: Francisco Jerez <currojerez@riseup.net>
7612ec8c4b4SmrgDate:   Tue May 5 00:45:10 2009 +0200
7622ec8c4b4Smrg
7632ec8c4b4Smrg    Fail gracefully when the specified virtual screen doesn't fit in RAM.
7642ec8c4b4Smrg
7652ec8c4b4Smrgcommit 32628d9884d577d7a672c172c12b7097be276700
7662ec8c4b4SmrgAuthor: Francisco Jerez <currojerez@riseup.net>
7672ec8c4b4SmrgDate:   Tue May 5 00:44:17 2009 +0200
7682ec8c4b4Smrg
7692ec8c4b4Smrg    Probe the amount of installed memory by trial and error on SM712.
7702ec8c4b4Smrg    
7712ec8c4b4Smrg    In some cases the BIOS hasn't filled in the "scratchpad registers"
7722ec8c4b4Smrg    (SR71) with the right amount of memory installed (e.g. MIPS
7732ec8c4b4Smrg    platform). There seems to be no other way to do it than to test it.
7742ec8c4b4Smrg    
7752ec8c4b4Smrg    This should fix bug 21528.
7762ec8c4b4Smrg
7772ec8c4b4Smrgcommit 00921b014fa0b5358c22a769cf2450cbd4bdc8a5
7782ec8c4b4SmrgAuthor: Francisco Jerez <currojerez@riseup.net>
7792ec8c4b4SmrgDate:   Tue Apr 28 22:24:03 2009 +0200
7802ec8c4b4Smrg
7812ec8c4b4Smrg    Bump version to 1.7.1.
7822ec8c4b4Smrg
7837104f784Smrgcommit abf1ba79f2bfe61f24cfa43deb0400d7c5f95bd5
7847104f784SmrgAuthor: Francisco Jerez <currojerez@riseup.net>
7857104f784SmrgDate:   Tue Apr 21 21:37:45 2009 +0200
78609885543Smrg
7877104f784Smrg    Increase the maximum clock value to 200MHz on SM712.
7887104f784Smrg    
7897104f784Smrg    The default MCLK setting was higher than the clock limit, and it
7907104f784Smrg    failed.
79109885543Smrg
7927104f784Smrgcommit 41e5c49024d4e27a7be3da02017000a22b59016f
7937104f784SmrgAuthor: Francisco Jerez <currojerez@riseup.net>
7947104f784SmrgDate:   Tue Apr 21 21:36:10 2009 +0200
79509885543Smrg
7967104f784Smrg    Don't attempt monitor detection on SM712.
7977104f784Smrg    
7987104f784Smrg    The databook says nothing about it, and it doesn't work.
79909885543Smrg
8007104f784Smrgcommit 6691678b5f04d52a1e08f9eaa6d511df9b7eeb4d
8017104f784SmrgAuthor: Jamie Lentin <jm@lentin.co.uk>
8027104f784SmrgDate:   Thu Mar 19 21:54:12 2009 +0000
80309885543Smrg
8047104f784Smrg    Stop clearing of "VESA compliance power down mode" bit
8057104f784Smrg    
8067104f784Smrg    Clearing this bit causes an OQO 01+ w/SMI720 to power down the LCD,
8077104f784Smrg    leave it alone.
8087104f784Smrg    
8097104f784Smrg    Signed-off-by: Jamie Lentin <jm@lentin.co.uk>
8107104f784Smrg    Signed-off-by: Francisco Jerez <currojerez@riseup.net>
81109885543Smrg
8127104f784Smrgcommit 05480382c508bd27c1755405518ce9c339f0f80e
8137104f784SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
8147104f784SmrgDate:   Fri Mar 13 21:19:16 2009 +0100
81509885543Smrg
8167104f784Smrg    Fix direct access to IO space on chipsets with no IOBase mapping.
8177104f784Smrg    
8187104f784Smrg    Signed-off-by: Francisco Jerez <currojerez@riseup.net>
81909885543Smrg
8207104f784Smrgcommit e62807140ede74e262ed70c846017dc3506b511e
8217104f784SmrgAuthor: Niels de Vos <niels.devos@wincor-nixdorf.com>
8227104f784SmrgDate:   Wed Feb 11 10:10:13 2009 +0100
82309885543Smrg
8247104f784Smrg    siliconmotion: Fix disabling of debugging if SMI501_CLI_DEBUG is set to 0
8257104f784Smrg    
8267104f784Smrg    Due to checking if SMI501_CLI_DEBUG is defined, some debugging will
8277104f784Smrg    be enabled if SMI501_CLI_DEBUG is set to 0. A single #if should be
8287104f784Smrg    used instead. Some debugging code already does this.
8297104f784Smrg    
8307104f784Smrg    Signed-off-by: Niels de Vos <niels.devos@wincor-nixdorf.com>
8317104f784Smrg    Signed-off-by: Francisco Jerez <currojerez@riseup.net>
83209885543Smrg
8337104f784Smrgcommit 0b34c4a29fcf45ac24361b4691cca0fd99cc3a3f
8347104f784SmrgAuthor: Francisco Jerez <currojerez@riseup.net>
8357104f784SmrgDate:   Wed Feb 4 03:49:08 2009 +0100
83609885543Smrg
8377104f784Smrg    Wait for vertical retrace before writing registers at SMILynx_CrtcDPMS_*
83809885543Smrg
8397104f784Smrgcommit 1d46cca27b0d38d5355b5f93dd0ed0fe4f250d3f
8407104f784SmrgAuthor: Francisco Jerez <currojerez@riseup.net>
8417104f784SmrgDate:   Tue Feb 3 22:15:45 2009 +0100
84209885543Smrg
8437104f784Smrg    Drop the outdated configuration options documentation in README.
84409885543Smrg
8457104f784Smrgcommit 64f722c3121a8f28cfc5b532ddec0ac83095ac95
8467104f784SmrgAuthor: Francisco Jerez <currojerez@riseup.net>
8477104f784SmrgDate:   Tue Feb 3 22:17:33 2009 +0100
84809885543Smrg
8497104f784Smrg    Minor corrections at the man page.
85009885543Smrg
8517104f784Smrgcommit 94d9c659b71c84db46fa279d9d8736e1589e155c
8527104f784SmrgAuthor: Francisco Jerez <currojerez@riseup.net>
8537104f784SmrgDate:   Tue Feb 3 22:18:14 2009 +0100
85409885543Smrg
8557104f784Smrg    Set dualhead to on by default on SM72x chipsets.
85609885543Smrg
8577104f784Smrgcommit 4d98e9c6a6e357ed736cd312a957c1e0a7b1d36b
8587104f784SmrgAuthor: Francisco Jerez <currojerez@riseup.net>
8597104f784SmrgDate:   Wed Feb 4 01:56:20 2009 +0100
86009885543Smrg
8617104f784Smrg    Dynamically switch virtual refresh mode.
8627104f784Smrg    
8637104f784Smrg    Probably this makes dualhead mode more useful because it makes
8647104f784Smrg    possible displaying video on the LCD as long as the CRT output is
8657104f784Smrg    disabled or cloned.
86609885543Smrg
8677104f784Smrgcommit 1c57cfa814504c33fcad51115d77f2d166fb7903
8687104f784SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
8697104f784SmrgDate:   Fri Jan 30 21:00:17 2009 -0800
87009885543Smrg
8717104f784Smrg    Add README with pointers to mailing list, bugzilla & git repos
87209885543Smrg
8737104f784Smrgcommit 2aee107d992cb58bfbb2f527cfa73ea9f6957998
8747104f784SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
8757104f784SmrgDate:   Fri Jan 9 16:33:43 2009 -0800
87609885543Smrg
8777104f784Smrg    Remove xorgconfig & xorgcfg from See Also list in man page
8787104f784Smrg
8797104f784Smrgcommit fdc2c50682b240e5966e4e5a7b45552ee2043bfc
8807104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
8817104f784SmrgDate:   Mon Dec 29 18:41:05 2008 -0200
8827104f784Smrg
8837104f784Smrg    Bump release to 1.7.0.
8847104f784Smrg    
8857104f784Smrg      This driver supports smi 50x chipsets, randr 1.2, exa, dual head,
8867104f784Smrg    etc.
8877104f784Smrg    
8887104f784Smrg      Special thanks to Teddy Wang <teddy.wang AT siliconmotion.com.cn>
8897104f784Smrg    for support and help in responding and/or triaging hardware related
8907104f784Smrg    questions.
8917104f784Smrg
8927104f784Smrgcommit 97eb5da1040ca7882e60b86ffaf25b6c021a3df5
8937104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
8947104f784SmrgDate:   Mon Dec 29 18:39:54 2008 -0200
8957104f784Smrg
8967104f784Smrg    Use util-macros XORG_CHANGELOG and XORG_CWARNFLAGS.
8977104f784Smrg    
8987104f784Smrg      Also correct only compilation warning about possibly
8997104f784Smrg    uninitialized variable.
9007104f784Smrg
9017104f784Smrgcommit deb2f845dd370ba819d02cb21b8a481827497af6
9027104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
9037104f784SmrgDate:   Mon Dec 29 18:35:22 2008 -0200
9047104f784Smrg
9057104f784Smrg    Simplification and redundancy removal in video code.
9067104f784Smrg    
9077104f784Smrg      FOURCC_YV12 and FOURCC_I420 handling also was buggy. First it was
9087104f784Smrg    doing a noop by swapping offset2 and offset3 values twice, and second,
9097104f784Smrg    swap is not required when using smi 501/502 CSC video.
9107104f784Smrg      Changed SMI_DisplayVideo0501_CSC() to not set static values to
9117104f784Smrg    registers in a possible loop, if there is clipping.
9127104f784Smrg
9137104f784Smrgcommit 46741589529809c17aa1e9719492a4b623de6ddf
9147104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
9157104f784SmrgDate:   Sat Dec 27 00:52:05 2008 +0100
9167104f784Smrg
9177104f784Smrg    Some more quirks for the SM712.
9187104f784Smrg    
9197104f784Smrg    * Program the MCLK to 157MHz on startup.
9207104f784Smrg    * Adjust the requested pixel clock if it's near one of the known
9217104f784Smrg      stable frequencies.
9227104f784Smrg    * Prefer the clock alternative with post scalar turned on when the
9237104f784Smrg      denominator is even.
9247104f784Smrg
9257104f784Smrgcommit 439adf4455c651926040eeeec52a092f14f3196b
9267104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
9277104f784SmrgDate:   Mon Dec 22 17:28:35 2008 +0100
9287104f784Smrg
9297104f784Smrg    Add support for clone mode on Lynx chipsets.
9307104f784Smrg
9317104f784Smrgcommit 2b3fa385a6da4be5ad6719dd115834b96d1ea3e3
9327104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
9337104f784SmrgDate:   Sun Dec 21 19:37:14 2008 +0100
9347104f784Smrg
9357104f784Smrg    Add a CRTC/Output implementation using BIOS for modesetting.
9367104f784Smrg    
9377104f784Smrg    After the RandR1.2 implementation the "UseBIOS" option wasn't actually
9387104f784Smrg    programming the hardware through VESA BIOS, this brings back that
9397104f784Smrg    functionality.
9407104f784Smrg
9417104f784Smrgcommit 75b1c309f1418d70e8cf112744ff95f372d4ef75
9427104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
9437104f784SmrgDate:   Sun Dec 21 16:58:29 2008 +0100
9447104f784Smrg
9457104f784Smrg    Fix SMI_CrtcShadowAllocate.
9467104f784Smrg
9477104f784Smrgcommit 068de9c0a302aba21e4d6a27eb6d330375ff2d2f
9487104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
9497104f784SmrgDate:   Sun Dec 21 16:02:57 2008 +0100
9507104f784Smrg
9517104f784Smrg    Allocate crtc->funcs and output->funcs in the heap.
9527104f784Smrg
9537104f784Smrgcommit 373440667636d4e3214028710e33ac89d8f18ff1
9547104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
9557104f784SmrgDate:   Sun Dec 21 13:51:01 2008 +0100
9567104f784Smrg
9577104f784Smrg    Cleanup the Lynx register saving/restoring code.
9587104f784Smrg    
9597104f784Smrg    Save some registers not previously tracked, and use pSmi->mode instead
9607104f784Smrg    of continuously reading the hardware state.
9617104f784Smrg
9627104f784Smrgcommit 67a1e4b090d6647b6c45f1534c67d9ea8a223d44
9637104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
9647104f784SmrgDate:   Sat Dec 20 15:41:13 2008 +0100
9657104f784Smrg
9667104f784Smrg    Add some quirks for SM712 modesetting.
9677104f784Smrg
9687104f784Smrgcommit 7f252345c0c6b260c5b37aff98a22679eb5c6c82
9697104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
9707104f784SmrgDate:   Fri Dec 19 21:15:01 2008 -0200
9717104f784Smrg
9727104f784Smrg    Enable the SMI 501/502 command list interpreter in a "debug" build.
9737104f784Smrg    
9747104f784Smrg      To enable it, set SMI501_CLI_DEBUG to 1 in smi.h, and use
9757104f784Smrg    Option "AcellMethod "EXA"
9767104f784Smrg    in the Device section of /etc/X11/xorg.conf
9777104f784Smrg    This code is enabled mainly for debug purposes. To make if have an
9787104f784Smrg    actual performance gain (like when using a sm50x with a "low profile"
9797104f784Smrg    "main" processor") it should be required to actually do busy loops
9807104f784Smrg    in kernel mode (and hope the costs of context switch will pay it).
9817104f784Smrg    In kernel mode it is possible to wait for an interrupt being triggered
9827104f784Smrg    when the command list is processed, or when the 2d engine is idle.
9837104f784Smrg    
9847104f784Smrg      This commit should be functional, but, mainly due to debug messages,
9857104f784Smrg    should be significantly slower then a build with MI501_CLI_DEBUG
9867104f784Smrg    defined to 0.
9877104f784Smrg
9887104f784Smrgcommit 6a91bcc111902c45cc75c865893848b7c6c0a0b1
9897104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
9907104f784SmrgDate:   Thu Dec 18 20:47:24 2008 -0200
9917104f784Smrg
9927104f784Smrg    Add definitions for the SMI 501/502 "command list interpreter".
9937104f784Smrg    
9947104f784Smrg      This also changes some bit operations to use a "bitfield" equivalent
9957104f784Smrg    one, with named fields, that should make it easier to understand what
9967104f784Smrg    is being tested.
9977104f784Smrg    
9987104f784Smrg      The enum smi_cli_cmd_code in smi_501.h is code that was added to a
9997104f784Smrg    experimental smi_drm.h, but the hardware only supports basic 2d accel,
10007104f784Smrg    and to compensate for the extra overhead for maintaining a command
10017104f784Smrg    list (assuming it worked correctly) it would be required to have a
10027104f784Smrg    special handling, like calling an ioctl to do the "busy loop" in the
10037104f784Smrg    kernel (that is, should wait for an irq or a timeout).
10047104f784Smrg    
10057104f784Smrg      The problem is that even if waiting for a idle engine before crafting
10067104f784Smrg    a command, and waiting again after submitting the command, there would
10077104f784Smrg    be corruption on screen after some time. So, the "busy loop" in the
10087104f784Smrg    kernel would only be useful if still using direct writes to mmio
10097104f784Smrg    registers.
10107104f784Smrg
10117104f784Smrgcommit 5a07709ae41600bc02205753c64d764f11838240
10127104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
10137104f784SmrgDate:   Tue Dec 16 02:39:49 2008 +0100
10147104f784Smrg
10157104f784Smrg    Fix crashes when switching VTs with EXA enabled.
10167104f784Smrg    
10177104f784Smrg    Call ModifyPixmapHeader on SMI_EnterVT to update the screen pixmap
10187104f784Smrg    address tracked by EXA.
10197104f784Smrg    
10207104f784Smrg    Set memoryBase in the ExaDriverRec to NULL when switching out: some
10217104f784Smrg    pixmap could get allocated near the former aperture address and it
10227104f784Smrg    could be erroneously considered as being in offscreen memory.
10237104f784Smrg
10247104f784Smrgcommit 47bcfb505886d16ff864f26a9cfa5f43b5da710e
10257104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
10267104f784SmrgDate:   Sat Dec 13 19:13:50 2008 +0100
10277104f784Smrg
10287104f784Smrg    Enable linear memory mode on SMI_MapMmio.
10297104f784Smrg    
10307104f784Smrg    Set UseBIOS to off by default for SM720. Some improvements on the
10317104f784Smrg    debugging output.
10327104f784Smrg
10337104f784Smrgcommit 6f972c9022fc3a315b60246a69399807443d2ca0
10347104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
10357104f784SmrgDate:   Thu Dec 11 16:21:17 2008 +0100
10367104f784Smrg
10377104f784Smrg    Fall back to UseBIOS off when VBEInit fails.
10387104f784Smrg
10397104f784Smrgcommit 1fc340dcf0abd7fa0837fef2c711aaec4fa8bcb8
10407104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
10417104f784SmrgDate:   Thu Dec 11 16:18:50 2008 +0100
10427104f784Smrg
10437104f784Smrg    Fix XAA SolidFill with 32 bpp framebuffer.
10447104f784Smrg
10457104f784Smrgcommit dfc4510e8f4adeed520be47621ad429bc2d18f7e
10467104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
10477104f784SmrgDate:   Thu Dec 4 15:35:22 2008 +0100
10487104f784Smrg
10497104f784Smrg    Some corrections on the Lynx modesetting code.
10507104f784Smrg    
10517104f784Smrg    This fixes 1280x1024 modes on the VGA output with dual head on.
10527104f784Smrg    Also, solve a build problem when using -DSMI_DEBUG, as pointed by
10537104f784Smrg    Richard Schwarting.
10547104f784Smrg
10557104f784Smrgcommit 6e1d29d19b205eac85b2f83de126ba88501e9b74
10567104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
10577104f784SmrgDate:   Tue Dec 2 23:43:26 2008 +0100
10587104f784Smrg
10597104f784Smrg    Disable screen centering on mode initialization.
10607104f784Smrg
10617104f784Smrgcommit 695a6066cfe7ad0e568edc596b8704bb9bf8754f
10627104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
10637104f784SmrgDate:   Sat Dec 13 04:20:20 2008 -0200
10647104f784Smrg
10657104f784Smrg    Janitor/maintenance patches.
10667104f784Smrg    
10677104f784Smrg    o Define HAVE_XMODES in config.h.
10687104f784Smrg    o Correct the LEAVE() macro declaration when SMI_DEBUG is defined.
10697104f784Smrg    o Remove prototype for SMI_DGAInit() if HAVE_XMODES is not defined.
10707104f784Smrg    o Properly scale value read from sm501 CURRENT_CLOCK register, to
10717104f784Smrg      print an appropriate message on startup.
10727104f784Smrg
10737104f784Smrgcommit 191cbd3f8419cc5b428f262607d7a8594e574f67
10747104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
10757104f784SmrgDate:   Fri Dec 12 15:50:53 2008 -0200
10767104f784Smrg
10777104f784Smrg    Unless there is a xorg.conf option, don't modify mclck neither mxclck.
10787104f784Smrg    
10797104f784Smrg      The option set_mclck was renamed to just MCLK, and a new MXCLCK option
10807104f784Smrg    was added for smi501/502 chips.
10817104f784Smrg      Note that previously, on MSOC chips, the set_mclck option actually
10827104f784Smrg    changed mxclck, what is now done by the MXCLK option.
10837104f784Smrg      The manpage was also update to reflect the options usage.
10847104f784Smrg      A new SMI501_FindMemClock() function was added, as a possible
10857104f784Smrg    placeholder for choosing alternate clocks when programming MMIO 0x68.
10867104f784Smrg    But it should be noted that the smi 501 databook says:
10877104f784Smrg    Miscellaneous Timing
1088beef1b22Smrg            Read/Write MMIO_base + 0x000068
1089beef1b22Smrg            Power-on Default 0x00000000
1090beef1b22Smrg            [...]
1091beef1b22Smrg            5:4 Divider Output Frequency Selection for Second PLL.
1092beef1b22Smrg                    00: 336 MHz.
1093beef1b22Smrg                    01: 288 MHz.
1094beef1b22Smrg                    10: 240 MHz.
1095beef1b22Smrg                    11: 192 MHz.
10967104f784Smrg    while the 502 databook says:
1097beef1b22Smrg            Miscellaneous Timing
1098beef1b22Smrg            Read/Write MMIO_base + 0x000068
1099beef1b22Smrg            Power-on Default 0b0000.00xx.0000.1001.0000.1001.0000.0000
1100beef1b22Smrg            [...]
1101beef1b22Smrg            5:4 Reserved These bits are reserved.
11027104f784Smrg    but still tells to refer to those bits.
11037104f784Smrg
11047104f784Smrgcommit a2352ff23787f37530dff68e03028dd78925e4b4
11057104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
11067104f784SmrgDate:   Fri Nov 28 20:23:11 2008 -0200
11077104f784Smrg
11087104f784Smrg    Properly restore console on the smi 501/502.
11097104f784Smrg    
11107104f784Smrg      The current kernel framebuffer module expects accelerations registers
11117104f784Smrg    in the default boot state, otherwise, it will display some corruption,
11127104f784Smrg    or not correctly clear the screen, among other side effects.
11137104f784Smrg      Now it should be restoring everything the kernel framebuffer relies
11147104f784Smrg    on not being modified.
11157104f784Smrg
11167104f784Smrgcommit 5a65559e12452a47f9848c47cfa6e30cfb871f0b
11177104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
11187104f784SmrgDate:   Fri Nov 28 19:49:20 2008 -0200
11197104f784Smrg
11207104f784Smrg    DGA is dependent on HAVE_XMODES.
11217104f784Smrg
11227104f784Smrgcommit 06c78cee718a86b1521c1fc1075d08bb9ad257f1
11237104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
11247104f784SmrgDate:   Tue Nov 25 19:57:05 2008 -0200
11257104f784Smrg
11267104f784Smrg    Remove smi_dga.c and polylines code from smi_xaa.c.
11277104f784Smrg    
11287104f784Smrg      DGA was also not being properly test to not enable the pSmi fields,
11297104f784Smrg    but since the dga implementation is very basic, it is better to just
11307104f784Smrg    remove it (if compiling the sources on pre 1.4 X Server, DGA will be
11317104f784Smrg    disabled).
11327104f784Smrg    
11337104f784Smrg      The polylines code in xmi_xaa.c was already if 0'ed for some time,
11347104f784Smrg    but it may be reinstantiated to accelerate (back) xaa rotated modes.
11357104f784Smrg    Currently only randr+exa accelerates rotated modes.
11367104f784Smrg
11377104f784Smrgcommit 9570cfdc132b0acb1d2b70edc6a3a5a812ef9691
11387104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
11397104f784SmrgDate:   Tue Nov 25 15:07:39 2008 -0200
11407104f784Smrg
11417104f784Smrg    Ensure the engine is idle before switching to a virtual terminal.
11427104f784Smrg    
11437104f784Smrg      At least in the smi501/502, it may even completely lock in some special
11447104f784Smrg    cases (like when there is a browser playing some youtube video).
11457104f784Smrg      The code in SMI_CloseScreen() was almost identical to SMI_LeaveVT(),
11467104f784Smrg    so it now just call SMI_Leave() if required.
11477104f784Smrg
11487104f784Smrgcommit 26ce0b163d9cf44ec1bc1d1bd460887aa5b405a7
11497104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
11507104f784SmrgDate:   Mon Nov 24 15:15:43 2008 -0200
11517104f784Smrg
11527104f784Smrg    Use a single debug macro for leaving functions.
11537104f784Smrg    
11547104f784Smrg      The LEAVE() macro, when debug is disabled, now is defined as:
1155beef1b22Smrg    <hash>define LEAVE(...)         return __VA_ARGS__
11567104f784Smrg    This avoids the requirement of a return statement after the LEAVE()
11577104f784Smrg    macro call, what can be confusing.
11587104f784Smrg
11597104f784Smrgcommit 2057d7ae05ef269f75a4d53fe5c4914a10856cb1
11607104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
11617104f784SmrgDate:   Wed Nov 19 16:22:29 2008 -0200
11627104f784Smrg
11637104f784Smrg    Declare DGA fields only when not using xf86DiDGAInit.
11647104f784Smrg
11657104f784Smrgcommit c2e318eaec3ac281457acdca4ea10fa368f646d3
11667104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
11677104f784SmrgDate:   Mon Nov 17 20:08:49 2008 -0200
11687104f784Smrg
11697104f784Smrg    Enable XAA and randr rotated modes.
11707104f784Smrg    
11717104f784Smrg      Use the same logic for offscreen memory management as used in
11727104f784Smrg    smi_video.c. This also makes the functions SMI_AllocateMemory and
11737104f784Smrg    SMI_FreeMemory no longer static in smi_video.c.
11747104f784Smrg
11757104f784Smrgcommit ed6aba73259a1412e23a954d6a8dba439ad98a8a
11767104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
11777104f784SmrgDate:   Fri Nov 14 22:37:56 2008 -0200
11787104f784Smrg
11797104f784Smrg    Correct EXA+Randr+rotated mode.
11807104f784Smrg    
11817104f784Smrg      The smi 501/502 cannot rotate-blt more than 32 bytes at a time.
11827104f784Smrg    Patch based on smi's sample smi_shadow.c.
11837104f784Smrg      XAA + randr + rotated mode currently not supported.
11847104f784Smrg
11857104f784Smrgcommit 85d118ee288fe7aa32db003bfa322ddf06944bf6
11867104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
11877104f784SmrgDate:   Fri Nov 14 22:04:17 2008 -0200
11887104f784Smrg
11897104f784Smrg    Don't explicitly call the cursor routines.
11907104f784Smrg    
11917104f784Smrg      On the MSOC, the hardware cursor was remaining on screen, when using
11927104f784Smrg    EXA and a randr rotated mode.
11937104f784Smrg
11947104f784Smrgcommit cd10af22240b9df7c264b15c483d8cc4505ee359
11957104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
11967104f784SmrgDate:   Fri Nov 14 20:36:09 2008 -0200
11977104f784Smrg
11987104f784Smrg    Only compile smi_dga.c when xf86DiDGAInit is not available.
11997104f784Smrg    
12007104f784Smrg      Besides reducing driver size, this should make DGA+EXA accelerated.
12017104f784Smrg
12027104f784Smrgcommit 41ef793b0ed6014ed49bef011259f977833aef5d
12037104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
12047104f784SmrgDate:   Fri Nov 14 19:24:45 2008 -0200
12057104f784Smrg
12067104f784Smrg    Correct regressions in CSCVideo
12077104f784Smrg    
12087104f784Smrg      Commit 0870d46718fe4e01953efd63cec46c54140b20f9 broke the clipping
12097104f784Smrg    code. That has been corrected in this patch. Anyway, the hardware color
12107104f784Smrg    space conversion should not be hidden down in the driver code, instead
12117104f784Smrg    it should be usable by external programs as well, instead of having
12127104f784Smrg    some applications doing it by software.
12137104f784Smrg
12147104f784Smrgcommit be226bfaad76e7b48e006fe55ebae09b044ba4b7
12157104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
12167104f784SmrgDate:   Fri Nov 14 16:56:46 2008 -0200
12177104f784Smrg
12187104f784Smrg    MSOC: Hide cursor on mode setup when using software cursor.
12197104f784Smrg    
12207104f784Smrg      The kernel framebuffer module uses the hw cursor for the console cursor,
12217104f784Smrg    so the driver must ensure it is hidden when setting a video mode.
12227104f784Smrg
12237104f784Smrgcommit 5b8583fc2e5626ed98877858158d9687d7c94469
12247104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
12257104f784SmrgDate:   Fri Nov 14 15:47:52 2008 -0200
12267104f784Smrg
12277104f784Smrg    Be more liberal about mode width validation.
12287104f784Smrg    
12297104f784Smrg      The code was inherited from first import of latest smi sources, but
12307104f784Smrg    the driver actually programs a mode, so there is no need to check if
12317104f784Smrg    there will be a table entry with register contents matching the requested
12327104f784Smrg    mode.
12337104f784Smrg
12347104f784Smrgcommit ffb4be763ced82158a3a1d2e06fb0e81815e057b
12357104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
12367104f784SmrgDate:   Thu Nov 13 20:01:18 2008 -0200
12377104f784Smrg
12387104f784Smrg    Don't restore alpha registers, as they are not being modified.
12397104f784Smrg    
12407104f784Smrg      Restoring the registers "without need" caused some instability, with
12417104f784Smrg    random locks.
12427104f784Smrg
12437104f784Smrgcommit 6b6da04d566ec5b9d723c9f28791c604f76526dd
12447104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
12457104f784SmrgDate:   Thu Nov 13 19:44:14 2008 -0200
12467104f784Smrg
12477104f784Smrg    Changed to use panel plane tl and tr to center modes smaller then panel size.
12487104f784Smrg    
12497104f784Smrg      The code is under "<hash>ifdef USE_PANEL_CENTER", as it is buggy, and
12507104f784Smrg    regardless of value set to right and bottom, it will crop from 0 to
12517104f784Smrg    mode-width/mode-height, and then display a lot of screen artifacts, due
12527104f784Smrg    to improper programming. Either way, the CRT in clone mode will display
12537104f784Smrg    correctly.
12547104f784Smrg
12557104f784Smrgcommit d2709b1af22a06b24606ec8c01f39f1ca27ca8d3
12567104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
12577104f784SmrgDate:   Thu Nov 13 18:00:46 2008 -0200
12587104f784Smrg
12597104f784Smrg    Enable gamma correction on the MSOC.
12607104f784Smrg
12617104f784Smrgcommit 0870d46718fe4e01953efd63cec46c54140b20f9
12627104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
12637104f784SmrgDate:   Tue Nov 11 19:14:36 2008 -0200
12647104f784Smrg
12657104f784Smrg    Correct a problem in CSC video on the smi 501/502.
12667104f784Smrg    
12677104f784Smrg      This significantly simplify the function SMI_DisplayVideo0501_CSC(),
12687104f784Smrg    but the real cause of the problem that this patch corrects is that
12697104f784Smrg    whenever MMIO 0x1000fc bit 24 (Vertical Linear Filter Control)  is
12707104f784Smrg    set, the last line of the rendered video will display only noisy,
12717104f784Smrg    regardless of video being rendered 1x1, or scaled up or down.
12727104f784Smrg
12737104f784Smrgcommit 09644ad3da4cf4c2576532137fdc81156e9c06e6
12747104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
12757104f784SmrgDate:   Tue Nov 11 15:34:27 2008 -0200
12767104f784Smrg
12777104f784Smrg    Disable detection of crt for the smi 501/502.
12787104f784Smrg    
12797104f784Smrg      As described by siliconmotion, it does not work on the smi 502.
12807104f784Smrg    Does it work on older revisions? Keeping <hash>ifdef'ed out for now
12817104f784Smrg    as it hopefully will be corrected in a newer hardware revision.
12827104f784Smrg
12837104f784Smrgcommit caac648932df69419b8f86c5793a6b33f5997099
12847104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
12857104f784SmrgDate:   Tue Nov 11 15:06:15 2008 -0200
12867104f784Smrg
12877104f784Smrg    Implement an argb cursor using the alpha layer.
12887104f784Smrg    
12897104f784Smrg      The code is <hash>ifdef'ed out by <hash>if SMI_CURSOR_ALPHA_PLANE
12907104f784Smrg    because the smi 502 hardware is buggy, but it appears to have worked
12917104f784Smrg    for some older hardware revisions (by looking at code available at
12927104f784Smrg    ftp.siliconmotion.com.tw).
12937104f784Smrg      Keeping it at least for now, as it serves as a simple way to reproduce
12947104f784Smrg    the problems described in smi.h.
12957104f784Smrg
12967104f784Smrgcommit 61dd360a30c8e530185bc71b134c287ab1cdde2c
12977104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
12987104f784SmrgDate:   Tue Nov 11 14:47:58 2008 -0200
12997104f784Smrg
13007104f784Smrg    Add support for the reading/writing the alpha layer registers.
13017104f784Smrg
13027104f784Smrgcommit d018ea2272cc1938cc0236eeb210692c1d1fd1df
13037104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
13047104f784SmrgDate:   Tue Nov 11 14:35:36 2008 -0200
13057104f784Smrg
13067104f784Smrg    Correct wrong offset value for secondary hardware cursor.
13077104f784Smrg    
13087104f784Smrg      Hardware cursor is still disabled in dual head mode due to some problems,
13097104f784Smrg    usually when having both panel and crt mapped to the same address, what
13107104f784Smrg    appears to confuse the "modes" code.
13117104f784Smrg
13127104f784Smrgcommit f97c57873cd7622c373a394548ed435c1975abbc
13137104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
13147104f784SmrgDate:   Sat Nov 8 21:40:49 2008 +0100
13157104f784Smrg
13167104f784Smrg    Remove unused fifo_* options.
13177104f784Smrg
13187104f784Smrgcommit 418b28028e69d14e74bf673be56123e99103e5bf
13197104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
13207104f784SmrgDate:   Sat Nov 8 16:04:58 2008 -0200
13217104f784Smrg
13227104f784Smrg    Remove the ZoomOnLCD option and update manpage for PCIRetry.
13237104f784Smrg    
13247104f784Smrg      ZoomOnLCD controlled if Ctrl/Alt/+ or Ctrl/Alt/- could be used to
13257104f784Smrg    reprogram the mode on the panel. The option was not used, and now, if
13267104f784Smrg    different resolutions could be used, it should be advertised by randr.
13277104f784Smrg    
13287104f784Smrg      PCIBurst and PCIRetry options are now enabled by default.
13297104f784Smrg    
13307104f784Smrg      The fifo_xxx options need a review, as they appear to be associated
13317104f784Smrg    with the older WaitQueue macro, that did ignore its argument. But these
13327104f784Smrg    options are not used, and may be removed or reimplemented at some time.
13337104f784Smrg
13347104f784Smrgcommit bbc38b2a14d748bb9d9e153fcdcb259e5b10bdc8
13357104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
13367104f784SmrgDate:   Fri Nov 7 16:57:50 2008 +0100
13377104f784Smrg
13387104f784Smrg    Update the man page
13397104f784Smrg    
13407104f784Smrg    Reflect changes in the configuration options, additional supported
13417104f784Smrg    chipsets and RandR1.2 interface.
13427104f784Smrg
13437104f784Smrgcommit 7f8b7535a9a905c1d6c1d89cd1dd4dd506025429
13447104f784SmrgAuthor: Nathael Pajani <nathael.pajani@ed3l.fr>
13457104f784SmrgDate:   Thu Mar 20 07:25:00 2008 -0800
13467104f784Smrg
13477104f784Smrg    Bit twelve on CPR00 bitfield is not bit eleven...
13487104f784Smrg
13497104f784Smrgcommit 98969b1b96244085ff5b0c76d2a463c1e436bcfa
13507104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
13517104f784SmrgDate:   Thu Nov 6 16:35:15 2008 -0200
13527104f784Smrg
13537104f784Smrg    Use the CRT Monitor Detect MSOC register.
13547104f784Smrg    
13557104f784Smrg      Probably I misunderstood the usage of this register, as it will always
13567104f784Smrg    show the same value, regardless of having a crt connected to the "vga"
13577104f784Smrg    port or not. Only difference is that while the detect bit is set,
13587104f784Smrg    the crt will be blank. This patch should be more of a placeholder for
13597104f784Smrg    a possible correction, but it should not cause any side effects, unless
13607104f784Smrg    the data field can be zero on a valid situation.
13617104f784Smrg      In my test computer, this field, in base 2 is always 1000000010000100,
13627104f784Smrg    what doesn't really look like data in rgb 8:8:8...
13637104f784Smrg
13647104f784Smrgcommit 87a3cc0652666c1796fd56f00810834193f3eca0
13657104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
13667104f784SmrgDate:   Tue Nov 4 16:38:12 2008 -0200
13677104f784Smrg
13687104f784Smrg    Allow setting modes larger then panel for secondary output.
13697104f784Smrg    
13707104f784Smrg      Sample usage on sm502:
13717104f784Smrg    $ DISPLAY=:0 xrandr --output VGA --newmode 1280x1024 109.00 1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync
13727104f784Smrg    $ DISPLAY=:0 xrandr --addmode VGA 1280x1024
13737104f784Smrg    $ DISPLAY=:0 xrandr --output VGA --mode 1280x1024 --pos 768x176
13747104f784Smrg      Last command assuming using XAA (with ``Virtual 2048 1024''), so that it
13757104f784Smrg    will have panel in top-left, and crt in bottom-right.
13767104f784Smrg
13777104f784Smrgcommit 1d7b9547e1d37601f14410857c22f256e5c74f14
13787104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
13797104f784SmrgDate:   Tue Nov 4 15:57:12 2008 -0200
13807104f784Smrg
13817104f784Smrg    Add CSCVideo option to smi 501/502.
13827104f784Smrg    
13837104f784Smrg      This code is an adaptation of SMI sample implementation.
13847104f784Smrg      CSCVideo is an alternate way to render video, that should reduce memory
13857104f784Smrg    bandwidth usage, and uses the color space conversion hardware to render
13867104f784Smrg    video directly to the framebuffer memory.
13877104f784Smrg      When using randr dual head mode, currently only XAA is supported. As it
13887104f784Smrg    has a fixed format framebuffer (when using the Virtual xorg.conf option).
13897104f784Smrg      This patch also ensures that pScrn->displayWidth, pScrn->virtualX and
13907104f784Smrg    pScrn->virtualY are only changed by the driver when using EXA.
13917104f784Smrg
13927104f784Smrgcommit 93308d067c93126dd0aba9b718d9e0ba28dde9f4
13937104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
13947104f784SmrgDate:   Thu Oct 30 19:07:40 2008 -0200
13957104f784Smrg
13967104f784Smrg    Make MSOC work with EXA offscreen manager.
13977104f784Smrg
13987104f784Smrgcommit e5cd9e4640555b9a3d4fab205e4b77faaca89d89
13997104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
14007104f784SmrgDate:   Thu Oct 30 19:05:40 2008 -0200
14017104f784Smrg
14027104f784Smrg      Update memory detection for MSOC.
14037104f784Smrg    
14047104f784Smrg      Use "local memory" field of mmio 0x010 and not "system memory", as
14057104f784Smrg    it uses system memory values whenever there is a choice (just sets
14067104f784Smrg    bits to zero).
14077104f784Smrg
14087104f784Smrgcommit 5acf7e22c256637ba7139733cdba1c59557dd7ff
14097104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
14107104f784SmrgDate:   Thu Oct 30 19:01:54 2008 -0200
14117104f784Smrg
14127104f784Smrg      Disable HW cursor in dualhead mode in smi 501/502
14137104f784Smrg    
14147104f784Smrg      Other chipsets are doing the same. But this apparently is to circumvent
14157104f784Smrg    a problem in randr/cursor implementation, that appears to not work very
14167104f784Smrg    well with hardware that supports two hw cursors, but not argb cursors.
14177104f784Smrg
14187104f784Smrgcommit c756ed67cbcf5bdd40c300627802d8bcd3d95123
14197104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
14207104f784SmrgDate:   Wed Oct 29 19:17:54 2008 -0200
14217104f784Smrg
14227104f784Smrg      SMI501/502 cursor fixes.
14237104f784Smrg    
14247104f784Smrg      Use separate buffers for crt and panel hw cursors.
14257104f784Smrg      Describe, and workaround a problem with Dualhead and hw cursor enabled.
14267104f784Smrg    It still has the inconvenient of having a blinking X when exiting the server
14277104f784Smrg    or switching to a VT; maybe should also save the image currently configured
14287104f784Smrg    also (and restore on exit), or just disable hw cursor on dual head mode.
14297104f784Smrg      Also revert change to not initialize video on dualhead. Better to have
14307104f784Smrg    fully functional video only on panel, that can be resized, then non
14317104f784Smrg    resizable video..
14327104f784Smrg
14337104f784Smrgcommit 2671776999a5add36e1aeaad4080bfccedc2b1a5
14347104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
14357104f784SmrgDate:   Tue Oct 28 19:45:31 2008 -0200
14367104f784Smrg
14377104f784Smrg    Update msoc to use randr cursor routines
14387104f784Smrg    
14397104f784Smrg      pSmi->IsSecondary was not used, and there should not exist two
14407104f784Smrg    instances of the driver managing the same card.
14417104f784Smrg      Macro CHECK_SECONDARY() was dependant on a second instance of the driver
14427104f784Smrg    for the same card, and also removed.
14437104f784Smrg      Some rework should still be done in the cursor code, as it sometimes,
14447104f784Smrg    when displaying different data, will leave the hw cursor visible, while
14457104f784Smrg    using an argb cursor.
14467104f784Smrg
14477104f784Smrgcommit 91b5613fb07fec0f319623ca7ec1efd67f04379b
14487104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
14497104f784SmrgDate:   Tue Oct 28 00:13:55 2008 +0100
14507104f784Smrg
14517104f784Smrg    Remove shadowfb based rotation support.
14527104f784Smrg    
14537104f784Smrg    Also done some clean up, like removing unused/redundant members of the
14547104f784Smrg    screen private structure, and removing now unused configuration file
14557104f784Smrg    options.
14567104f784Smrg
14577104f784Smrgcommit 0faeddb208d8fade4737be4bcadb8814696bd7b4
14587104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
14597104f784SmrgDate:   Tue Oct 28 00:06:37 2008 +0100
14607104f784Smrg
14617104f784Smrg    Lynx hardware cursor code adapted to the CRTC interfaces.
14627104f784Smrg
14637104f784Smrgcommit 5d151781515cf2e3af1322ce6ed5f8d871c05791
14647104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
14657104f784SmrgDate:   Mon Oct 27 23:37:30 2008 +0100
14667104f784Smrg
14677104f784Smrg    Changes in the video overlay clipping code.
14687104f784Smrg    
14697104f784Smrg    Clip the video to the CRTC viewport by using
14707104f784Smrg    xf86_crtc_clip_video_helper, and allow XV in
14717104f784Smrg    dual head mode.
14727104f784Smrg
14737104f784Smrgcommit 486e92399f09b9d765d03184fe29a32b3bc4ecc5
14747104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
14757104f784SmrgDate:   Mon Oct 27 23:12:36 2008 +0100
14767104f784Smrg
14777104f784Smrg    Simple EXA Composite implementation.
14787104f784Smrg    
14797104f784Smrg    * Implementation of the PictOpSrc render operation with a
14807104f784Smrg      source coordinate transformation through 2D engine rotate-BITBLTs.
14817104f784Smrg    * Fix EXA Copy and Solid in 24 bpp packed color mode.
14827104f784Smrg
14837104f784Smrgcommit c0447d33c82829248e642b3156fd9a3c0d0eb709
14847104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
14857104f784SmrgDate:   Mon Oct 27 22:39:52 2008 +0100
14867104f784Smrg
14877104f784Smrg    Some corrections in the CRTC code.
14887104f784Smrg    
14897104f784Smrg    * Make screen resizing behave better with XAA.
14907104f784Smrg    * Move some local variable declarations to the top of
14917104f784Smrg      the function definition to conform ANSI C.
14927104f784Smrg    * Make the Lynx panel modesetting code to actually
14937104f784Smrg      program the panel sync pulse width in dualhead mode.
14947104f784Smrg    * Also, fix a crash when using libpciaccess
14957104f784Smrg      (the memory wasn't being unmapped).
14967104f784Smrg
14977104f784Smrgcommit f2c83671cccc42345bfc9b506365936bbb6b9ef0
14987104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
14997104f784SmrgDate:   Fri Oct 24 17:55:02 2008 -0200
15007104f784Smrg
15017104f784Smrg    Make Dualhead option functional.
15027104f784Smrg    
15037104f784Smrg      Slightly change clock selection code to start using 501 compatible values,
15047104f784Smrg    before checking 502 values, if it is a 502.
15057104f784Smrg      DPMS for the VGA/second output was being set with bits inverted, that is
15067104f784Smrg    dpms-on was programmed as dpms-off and vice versa. This was one of the
15077104f784Smrg    reasons of dual head not working.
15087104f784Smrg      Corrected wrong vsync programming for the crt. Cut&paste/typo caused
15097104f784Smrg    programming vsync with hsync values, and thus, never getting the crt
15107104f784Smrg    to accept the mode being programmed.
15117104f784Smrg      If adding:
15127104f784Smrg      Option "Dualhead" "True"
15137104f784Smrg    to xorg.conf, now you should be able to do things like:
15147104f784Smrg    $ DISPLAY=:0.0 xrandr --output VGA --right-of LVDS
15157104f784Smrg    $ DISPLAY=:0.0 xrandr --output VGA --below LVDS
15167104f784Smrg    and so on.
15177104f784Smrg      *Iff* there is some way to not have any limitations for video playback,
15187104f784Smrg    this option should be made default or automatically configured.
15197104f784Smrg
15207104f784Smrgcommit 1efe36ed5cf5b0931daa915ca3ce231b78168d87
15217104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
15227104f784SmrgDate:   Wed Oct 22 19:06:06 2008 -0200
15237104f784Smrg
15247104f784Smrg    Make UseFBDev option functional again.
15257104f784Smrg    
15267104f784Smrg      It is mean't to be a fallback option, that as long as kernel boots
15277104f784Smrg    in framebuffer mode, the X Server should also work.
15287104f784Smrg      Correct incorrect value being checked when printing state of Dualhead
15297104f784Smrg    option.
15307104f784Smrg      The M value when programming PLL3 is actually an 8 bits integer,
15317104f784Smrg    so correct it and comments about it.
15327104f784Smrg
15337104f784Smrgcommit dd083c26de400cee8c67977f46cf90d048b22ff9
15347104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
15357104f784SmrgDate:   Tue Oct 21 19:41:55 2008 -0200
15367104f784Smrg
15377104f784Smrg    Use existing "Dualhead" option in MSOC.
15387104f784Smrg    
15397104f784Smrg      If Dualhead is set, it will attempt to use setups that allow different
15407104f784Smrg    outputs with different contents, instead of crt always cloning panel.
15417104f784Smrg      Still not fully functional.
15427104f784Smrg
15437104f784Smrgcommit 197b4231586b9ada1c590a01b8dd7a5fcda936e6
15447104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
15457104f784SmrgDate:   Tue Oct 21 14:22:01 2008 -0200
15467104f784Smrg
15477104f784Smrg    Crt interface corrections.
15487104f784Smrg    
15497104f784Smrg      Correct wrong clock calculation for the 501 clock setting, that is used
15507104f784Smrg    for pre 502 panel interface and crt.
15517104f784Smrg      Adds a few new programmable fields to MSOCRegRec:crt_display_ctl.
15527104f784Smrg      Call SMI501_CrtcAdjustFrame() after adjusting a mode, instead of
15537104f784Smrg    before changing registers.
15547104f784Smrg
15557104f784Smrgcommit 71990e0beece6e60ffbffccfdf56e5a71641a120
15567104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
15577104f784SmrgDate:   Mon Oct 20 15:09:09 2008 -0200
15587104f784Smrg
15597104f784Smrg    Don't change M1XCLK unless option specified in xorg.conf.
15607104f784Smrg    
15617104f784Smrg      Also add more complete description of programmable clocks.
15627104f784Smrg
15637104f784Smrgcommit 8b7ce66e26113ec5859566e7f3d0fd15d3e29eaa
15647104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
15657104f784SmrgDate:   Fri Oct 17 18:58:45 2008 -0300
15667104f784Smrg
15677104f784Smrg    Update sm502 pll3 programming.
15687104f784Smrg    
15697104f784Smrg      Also print the value of sm502 registers (should be a noop on sm501).
15707104f784Smrg      Added the frequency field to the MSOCRegRec's misc_ctl, as it is
15717104f784Smrg    a read/write registers, and changing bit 24 may change the logic
15727104f784Smrg    of pll3 programming (needs clarification with SMI).
15737104f784Smrg
15747104f784Smrgcommit de1b633f916f4fcaaa95b226a8622d37041c86d4
15757104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
15767104f784SmrgDate:   Thu Oct 16 15:41:44 2008 -0300
15777104f784Smrg
15787104f784Smrg    Revert/modify some RandR changes to reenable XAA.
15797104f784Smrg    
15807104f784Smrg      XAA was not initialized anymore in RandR patch, but it is still the
15817104f784Smrg    default accel method. Also reenable offscreen fb manager.
15827104f784Smrg      At least on the MSOC OEM sample (using X Server 1.4), needs some more
15837104f784Smrg    work as EXA is crashing in a call to exaPrepareAccess() when switching
15847104f784Smrg    to a terminal; this seems to be related to disabling exa offscreen
15857104f784Smrg    pixmaps on the smi501.
15867104f784Smrg
15877104f784Smrgcommit e020afa359434b4da06ef8509a3e504423f824d2
15887104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
15897104f784SmrgDate:   Thu Oct 16 15:11:36 2008 -0300
15907104f784Smrg
15917104f784Smrg    Correct incorrect pll3 calculation.
15927104f784Smrg    
15937104f784Smrg      Double value must be truncated when calculating the difference from the
15947104f784Smrg    possible clock and requested clock.
15957104f784Smrg
15967104f784Smrgcommit f686d1b4fdd11d3d969ff4db21128d7867c9044d
15977104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
15987104f784SmrgDate:   Tue Oct 14 19:05:31 2008 -0300
15997104f784Smrg
16007104f784Smrg    Extra MSOC tweaks for the RandR1.2 changes.
16017104f784Smrg    
16027104f784Smrg      The "prototype" computer no longer locks, and only "missing feature"
16037104f784Smrg    from before the patch is that video and Xaa don't work (only with Exa).
16047104f784Smrg      For the moment, just force crt as not connected, and set the proper
16057104f784Smrg    registers to make the secondary output clone the panel.
16067104f784Smrg
16077104f784Smrgcommit fc722212d297a5141245beb7c8ae396606a8f221
16087104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
16097104f784SmrgDate:   Tue Oct 14 15:46:52 2008 -0300
16107104f784Smrg
16117104f784Smrg    Remove dependency on xf86cvt.c.
16127104f784Smrg    
16137104f784Smrg      It actually was not added in a previous commit (due to using git reset
16147104f784Smrg    to remake a commit, and not readding it), but now, changed only call
16157104f784Smrg    xf86CVTMode if it is available in the X Server, otherwise, for older
16167104f784Smrg    X Servers, a modeline should be specified in xorg.conf.
16177104f784Smrg
16187104f784Smrgcommit 5adb3b502ef79827b89fb11926b6198c3a57d2e6
16197104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
16207104f784SmrgDate:   Tue Oct 14 14:48:42 2008 -0300
16217104f784Smrg
16227104f784Smrg    Minor corrections for smi501 for the randr1.2 integration.
16237104f784Smrg    
16247104f784Smrg      Also correct printing information about MCLK in the smi501/502, it
16257104f784Smrg    should print M2CLK (aka M1CLK o the 502) as it is the clock that
16267104f784Smrg    controls video engine/memory.
16277104f784Smrg
16287104f784Smrgcommit 6e0837305533f940adb7a09f9b013077c0888f2d
16297104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
16307104f784SmrgDate:   Sat Oct 11 14:24:48 2008 +0200
16317104f784Smrg
16327104f784Smrg    RandR1.2 initial implementation (WIP)
16337104f784Smrg    
16347104f784Smrg    Moved most of the Lynx-specific code out of the main
16357104f784Smrg    functions at smi_driver.c to some new files: smilynx_hw.c
16367104f784Smrg    (With CRTC-independent code like global hardware initialization and
16377104f784Smrg    mode saving/restoring), smilynx_crtc.c (With the CRTC-local
16387104f784Smrg    procedures) and smilynx_output.c (Output power management, DDC and
16397104f784Smrg    monitor detection, currently).
16407104f784Smrg    
16417104f784Smrg      Done something similar with the SMI501 code: split
16427104f784Smrg    SMI501_ModeInit in three separate functions: SMI501_HWInit that does
16437104f784Smrg    the global initialization, and the CRTC mode_set callbacks
16447104f784Smrg    SMI501_ModeSet_crt and SMI501_ModeSet_lcd at smi501_crtc.c.
16457104f784Smrg    
16467104f784Smrg      The SMI501_ModeSet code is divided into SMI501_WriteMode_common,
16477104f784Smrg    SMI501_WriteMode_lcd and SMI501_WriteMode_crt, each one updates a
16487104f784Smrg    different register set in the hardware.
16497104f784Smrg    
16507104f784Smrg      Inside smi_crtc.c, there is mainly hardware independent
16517104f784Smrg    code... Initial CRT controller allocation, shadows, rotation and
16527104f784Smrg    framebuffer resizing code.
16537104f784Smrg    
16547104f784Smrg      The shadow code currently relies on EXA... I'm not sure what are the
16557104f784Smrg    problems of the EXA implementation in MSOC. Does it work?
16567104f784Smrg    
16577104f784Smrg      I think it would be a good thing to get rid of XAA soon: The next
16587104f784Smrg    thing I'll be working on will be EXA Composite... I hope it's possible
16597104f784Smrg    to get EXA acceleration working at least as fast as the current
16607104f784Smrg    XAA. (Although Teddy Wang confirmed me that the SMI720 DMA engine is
16617104f784Smrg    broken...)
16627104f784Smrg    
16637104f784Smrg      So, the patch adds some features like new Lynx dualhead modesetting
16647104f784Smrg    code, but it probably breaks some other things:
16657104f784Smrg    * Video Overlay: I suppose it does work with EXA activated. It seems
16667104f784Smrg    it is also possible to have simultaneous overlays in both CRTCs with the
16677104f784Smrg    Lynx hardware (I have some code for this, but still work in progress).
16687104f784Smrg    * Hardware Cursor (It needs more integration in the CRTC interfaces).
16697104f784Smrg    * The old Shadow FB / rotation code, which we should probably drop.
16707104f784Smrg    
16717104f784Smrg      These are in my TODO list... Along with some more cleaning and other
16727104f784Smrg    minor issues in the modesetting code.
16737104f784Smrg    
16747104f784Smrg      About the SMI501 RandR1.2 implementation... I suppose it's specially
16757104f784Smrg    lacking per-output DPMS (The DPMS field in the System Control register
16767104f784Smrg    only affects the CRT, doesn't it?).
16777104f784Smrg
16787104f784Smrgcommit 605199b1fa80d5a65e11a38270f6d0974466d1dc
16797104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
16807104f784SmrgDate:   Thu Oct 9 18:51:50 2008 -0300
16817104f784Smrg
16827104f784Smrg    Add a PanelSize/60Hz CVT mode at driver initialization
16837104f784Smrg    
16847104f784Smrg      This driver is expected to be used with XServer 1.4 or newer, but a
16857104f784Smrg    (probably temporary) copy of xf86cvt.c was also added to the build.
16867104f784Smrg      This modeline automatically added implies it would not be required
16877104f784Smrg    to specify one in xorg.conf, as it should not be uncommon "non standard"
16887104f784Smrg    modes, like 800x480 or 1024x600.
16897104f784Smrg
16907104f784Smrgcommit 55052509d75492f0936273686826c51fcbc831c1
16917104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
16927104f784SmrgDate:   Thu Oct 9 18:12:02 2008 -0300
16937104f784Smrg
16947104f784Smrg    Make the input frequency in SMI501_FindPLLClock a variable
16957104f784Smrg    
16967104f784Smrg      Instead of using a fixed 24Mhz input frequency, as "unofficially"
16977104f784Smrg    specified by SMI, a guess of using a 12 multiplier was used, and it
16987104f784Smrg    corrects the screen flicker problem as well as make a secondary output
16997104f784Smrg    work again.
17007104f784Smrg
17017104f784Smrgcommit 61f814d1c8ad9440bab89eda44e64b01ba0eb703
17027104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
17037104f784SmrgDate:   Wed Oct 8 18:36:11 2008 -0300
17047104f784Smrg
17057104f784Smrg    Rewrite WaitQueue and WaitIdle accell macros
17067104f784Smrg    
17077104f784Smrg      WaitQueue() did receive an unused parameter, that was removed. The
17087104f784Smrg    parameter was unused since version 1.0 in XFree86 CVS, so probably
17097104f784Smrg    nobody knows for what it was used.
17107104f784Smrg      WaitIdle() now also replaces WaitIdleEmpty(), as an idle engine
17117104f784Smrg    should also have an empty fifo.
17127104f784Smrg      SMI_SubsequentScreenToScreenCopy() was changed to use WaitIdle()
17137104f784Smrg    instead of WaitQueue() before submitting the commands to the engine.
17147104f784Smrg    This fixes a nasty lockup when using XaaOffscreenPixmaps (what is
17157104f784Smrg    desired/wanted to help improve performance), and the lockup in the
17167104f784Smrg    MSOC was clearly due to an engine overrun, when sending commands
17177104f784Smrg    faster then the engine could process.
17187104f784Smrg
17197104f784Smrgcommit 1656fb6de5308ff586676e8d6a8aa8d4579ebf4c
17207104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
17217104f784SmrgDate:   Fri Oct 3 18:55:14 2008 -0300
17227104f784Smrg
17237104f784Smrg    Don't use the 1 multiplier on older chipsets.
17247104f784Smrg    
17257104f784Smrg      It is not in the specs, so don't use it on chipsets older then the 502.
17267104f784Smrg      Some review should be done in SMI501_FindPLLClock() as when hardcoding it
17277104f784Smrg    to use the clock selection code for older chips, it appears to choose a
17287104f784Smrg    better refresh rate (no flicking at 1024x600).
17297104f784Smrg
17307104f784Smrgcommit da789f720e2d772dff92adc10aa024a6a921fbbd
17317104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
17327104f784SmrgDate:   Fri Oct 3 16:30:23 2008 -0300
17337104f784Smrg
17347104f784Smrg    Simplify regsmi.h by removing most unused SMI501 defines.
17357104f784Smrg    
17367104f784Smrg      The values that should be used, should also have a more meaningful name,
17377104f784Smrg    as something like:
17387104f784Smrg    doesn't help much, and the fact that these "ports" can be accessed from
17397104f784Smrg    several "bases" may be confusing also, as there is SCRBase, DCRBase,
17407104f784Smrg    FPRBase, DPRBase, CPRBase (and IOBase). The 501 code should probably be
17417104f784Smrg    changed to just use IOBase, as currently it uses SCRBase, that happens
17427104f784Smrg    to be at pSmi->MapBase + 0x0000.
17437104f784Smrg    
17447104f784Smrg      This patch also completely transforms the WaitQueue macro in a noop
17457104f784Smrg    for the MSOC. In SMI sample code it is almost the current code, just
17467104f784Smrg    that the macro body is commented out. Hopefully this will be addressed
17477104f784Smrg    soon.
17487104f784Smrg
17497104f784Smrgcommit bacddd1d31a5f3de14477914958f27b6f081c125
17507104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
17517104f784SmrgDate:   Fri Oct 3 15:10:55 2008 -0300
17527104f784Smrg
17537104f784Smrg    Rename macro "bitfield" to "bits" and correct a wrong division.
17547104f784Smrg
17557104f784Smrgcommit 22a7fd6711e2a40633981cd21fa3808c9246f13a
17567104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
17577104f784SmrgDate:   Thu Oct 2 16:11:59 2008 -0300
17587104f784Smrg
17597104f784Smrg    Remove the IN_SEQ and OUT_SEQ macros.
17607104f784Smrg    
17617104f784Smrg      These macros access vga registers, but don't make it clear in their name.
17627104f784Smrg
17637104f784Smrgcommit 973f68bf0464c4d2aec2acf7c8e6db201782f4ec
17647104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
17657104f784SmrgDate:   Thu Oct 2 15:48:51 2008 -0300
17667104f784Smrg
17677104f784Smrg    Rewrite some macros to not have side effects in if/else nesting.
17687104f784Smrg
17697104f784Smrgcommit 82e17c442c3969938435a8b46d2679995af64425
17707104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
17717104f784SmrgDate:   Thu Oct 2 15:25:41 2008 -0300
17727104f784Smrg
17737104f784Smrg    Add support for the extra divider in the alternate pixel clock setting.
17747104f784Smrg    
17757104f784Smrg      Also remove extra includes that were not used.
17767104f784Smrg
17777104f784Smrgcommit b32769305275519f7f4d1e0871a71514636ca026
17787104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
17797104f784SmrgDate:   Wed Oct 1 18:27:27 2008 -0300
17807104f784Smrg
17817104f784Smrg    Correct clock programming for the SMI 501/502
17827104f784Smrg    
17837104f784Smrg      The new code is based on the file SM502Clock.pdf provide by SMI engineers
17847104f784Smrg    (many thanks). And now it is expected to work correctly. The few remaining
17857104f784Smrg    details that are unclear (for the extended 502 modesetting mode) should be
17867104f784Smrg    resolved soon, and those are:
17877104f784Smrg    *  MMIO:0x74:bit15 (PLL Output Divided by 2)
1788beef1b22Smrg            0: Disable.
1789beef1b22Smrg            1: Enable.
17907104f784Smrg       (does this mean it can use a 12MHz clock instead of 24? or anything else?)
17917104f784Smrg    *  Should bit 31 of "current clock" always be set when using the alternate
17927104f784Smrg       mode setting for the 502? The alternate modesetting allows a very closer
17937104f784Smrg       pixel clock programming option, usually with 0 difference from the
17947104f784Smrg       xf86 mode.
17957104f784Smrg    
17967104f784Smrg      I will ask SMI to make SM502Clock.pdf also available in the ftp site, it
17977104f784Smrg    is just 3 pages, or possibly even better, an update for the existing
17987104f784Smrg    documentation.
17997104f784Smrg
18007104f784Smrgcommit ea34e20852ee6007e2f0fcacd5068c151865be1e
18017104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
18027104f784SmrgDate:   Tue Sep 30 17:49:25 2008 -0300
18037104f784Smrg
18047104f784Smrg    Remove the macro field, and rename the detail structure to f.
18057104f784Smrg    
18067104f784Smrg      Now access to bitfields looks like:
18077104f784Smrg    record->register.f.field
18087104f784Smrg      instead of:
18097104f784Smrg    field(record->register, field)
18107104f784Smrg      what should be easier to read and understand.
18117104f784Smrg
18127104f784Smrgcommit a91872f813a6299f32b9f833876c54afd0b53aaa
18137104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
18147104f784SmrgDate:   Tue Sep 30 17:33:36 2008 -0300
18157104f784Smrg
18167104f784Smrg    Update to match the SMI 502 chipset specs.
18177104f784Smrg    
18187104f784Smrg      The 502 is a superset of the 501, also recognized as PCI_CHIP_SMI501.
18197104f784Smrg      The driver is only known to work with smi_501 chipset
18207104f784Smrg    "SM501 VoyagerGX Rev. AA (rev c0)".
18217104f784Smrg
18227104f784Smrgcommit e830572bca9b8eaf50a36a12d1fe31cdfec6280e
18237104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
18247104f784SmrgDate:   Fri Sep 26 19:43:45 2008 -0300
18257104f784Smrg
18267104f784Smrg    Don't always program CRT clock and registers.
18277104f784Smrg    
18287104f784Smrg      This causes instabilities, and there was also a bug where it would
18297104f784Smrg    tell the crt to not select panel data (due to removing the "else").
18307104f784Smrg
18317104f784Smrgcommit 314eecb6628840a942ff2e76d8c7402301feac77
18327104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
18337104f784SmrgDate:   Fri Sep 26 19:30:17 2008 -0300
18347104f784Smrg
18357104f784Smrg    Properly check pScrn->driverPrivate before deferencing it.
18367104f784Smrg    
18377104f784Smrg       Add missing divide by 1000 in smi_501.c, as well as a FIXME comment
18387104f784Smrg    about a crash, and possible cause as well as possible ways to program
18397104f784Smrg    other clocks.
18407104f784Smrg
18417104f784Smrgcommit f18222ffcff8e78b3cfcd220cad06a1daa3fc920
18427104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
18437104f784SmrgDate:   Fri Sep 26 17:55:42 2008 -0300
18447104f784Smrg
18457104f784Smrg      Don't try to find the closest clock, just use highest one.
18467104f784Smrg    
18477104f784Smrg      Previous patch wasn't fully correct, just that the values were generating
18487104f784Smrg    the same register dump as the smi 2.2.5 driver version.
18497104f784Smrg      When correcting it to not mix Mhz and Khz in the math, the problems
18507104f784Smrg    returned.... Anyway, it just works when selecting the highest clock, and
18517104f784Smrg    the attached CRT will display the panel image. This is illogical, so maybe
18527104f784Smrg    the specs are outdated... The previous code has been #ifdef'ed out in
18537104f784Smrg    "CALC_CLOCK".
18547104f784Smrg      Note that it still changes the boot default clock, from the default
18557104f784Smrg    288Mhz to 336Mhz, and in this patch, it also always sets both, panel and
18567104f784Smrg    crt clocks (what happens here, is that most likely, by doing this, it
18577104f784Smrg    forces the hardware to "somehow" autoconfigure itself; will try to get
18587104f784Smrg    some information from SMI about this, but this is the boot default,
18597104f784Smrg    and what smi sources do...).
18607104f784Smrg
18617104f784Smrgcommit bdba7c1397186cd15d519db55c2345db44990be4
18627104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
18637104f784SmrgDate:   Wed Sep 24 18:58:35 2008 -0300
18647104f784Smrg
18657104f784Smrg    Fix incorrect understanding of the pixel clock from specs.
18667104f784Smrg    
18677104f784Smrg      The clock that should be programmed is the bandwidth, and not the pixel
18687104f784Smrg    clock itself. Based on analysis of register contents, after "importing"
18697104f784Smrg    a slightly modified version of xf86ModeBandwidth() and properly converting
18707104f784Smrg    values, now it properly programs both, the LCD and a "clone" CRT or just
18717104f784Smrg    a secondary panel.
18727104f784Smrg    
18737104f784Smrg      Modes generated by either gtf or cvt correctly works.
18747104f784Smrg    
18757104f784Smrg      A (hopefully temporary) fallback was also added, and if the option
18767104f784Smrg    "UseFBDev" is used, the driver will not attempt to set/modify the
18777104f784Smrg    current video mode.
18787104f784Smrg    
18797104f784Smrg      TODO: Generate a modeline "on the fly", based on monitor configured
18807104f784Smrg    specs, or some set of defaults, so that it should not be required to
18817104f784Smrg    specify a modeline in xorg.conf.
18827104f784Smrg
18837104f784Smrgcommit e64b3d63be2a4148c4d10ac160e2bd2f3e8c7fd3
18847104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
18857104f784SmrgDate:   Mon Sep 22 22:01:16 2008 -0300
18867104f784Smrg
18877104f784Smrg    Correct problems in clock setting.
18887104f784Smrg    
18897104f784Smrg      One clock must be changed at a time, first setting the pll value,
18907104f784Smrg    then waiting for 16ms (one vsync), then setting the divider/shift
18917104f784Smrg    values, and again waiting 16ms.
18927104f784Smrg      Code was working after split of SMI501_ModeInit(), because some
18937104f784Smrg    clocks were already using system boot default, but would most likely
18947104f784Smrg    cause a crash when actually changing values (currently only p2_xxx
18957104f784Smrg    or v2_xxx is changed, but it would cause problems on some system where
18967104f784Smrg    the initial values don't match the ones set by the driver).
18977104f784Smrg    
18987104f784Smrg      TODO: Either don't change m2clk and mclk or ensure other values
18997104f784Smrg    work correctly (don't change because the kernel should already
19007104f784Smrg    have set those if a value other then the boot default should be
19017104f784Smrg    used).
19027104f784Smrg
19037104f784Smrgcommit 1f0af5ea50e3e3b2c9ed882f7ef2fb8871e780bd
19047104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
19057104f784SmrgDate:   Mon Sep 22 21:41:12 2008 -0300
19067104f784Smrg
19077104f784Smrg    Correct logic in sw cursor handling and add missing entries to .gitignore.
19087104f784Smrg
19097104f784Smrgcommit 862cbd8c1845b54a38996b92e8e22d153f38cdd2
19107104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
19117104f784SmrgDate:   Mon Sep 22 19:09:12 2008 -0300
19127104f784Smrg
19137104f784Smrg    Split SMI501_ModeInit in two functions.
19147104f784Smrg    
19157104f784Smrg      This allows using alternate MSOCRegRec structures to set a mode.
19167104f784Smrg    This should be useful to restore the initial mode.
19177104f784Smrg
19187104f784Smrgcommit bcbf1854be851b8fa1ec3f384b11c312b0533bf3
19197104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
19207104f784SmrgDate:   Mon Sep 22 18:29:31 2008 -0300
19217104f784Smrg
19227104f784Smrg    Remove unused .cvsignore files.
19237104f784Smrg
19247104f784Smrgcommit 1014ffe0a2c55119d6bfbcf632f3d4ebe77af212
19257104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
19267104f784SmrgDate:   Mon Sep 22 18:15:21 2008 -0300
19277104f784Smrg
19287104f784Smrg    Simplify hw cursor and sw cursor option handling.
19297104f784Smrg    
19307104f784Smrg      Also rename SMIRec field hwcursor to HwCursor, as there are few usages,
19317104f784Smrg    and this way, match the case usage for other field names.
19327104f784Smrg
19337104f784Smrgcommit 6b5c22d8680573c8a6b259d78ba3c8435514fde9
19347104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
19357104f784SmrgDate:   Mon Sep 22 17:05:21 2008 -0300
19367104f784Smrg
19377104f784Smrg    Rework/simplify debug macros.
19387104f784Smrg    
19397104f784Smrg      Instead of cut&paste of the name of the current function everywhere,
19407104f784Smrg    just use cpp's __FUNCTION__ predefined macro.
19417104f784Smrg      Create two macros to exit a function, named LEAVE() and RETURN().
19427104f784Smrg    Functions returning void should call LEAVE() and then explicitly return
19437104f784Smrg    for now. "Logged" function calls are indented, so a review was done to
19447104f784Smrg    ensure functions with a ENTER() also have the proper exit macro.
19457104f784Smrg      The DEBUG macro was changed to have variadic arguments, and this way
19467104f784Smrg    it is no longer required to prefix arguments with VERBLEV, but now it
19477104f784Smrg    also is not possible to use another "verbosity value", but it wasn't used
19487104f784Smrg    in any of the DEBUG macro calls.
19497104f784Smrg
19507104f784Smrgcommit cf7097c19b31671a53bc8161bd29b9f79f1d3d85
19517104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
19527104f784SmrgDate:   Mon Sep 22 14:25:04 2008 -0300
19537104f784Smrg
19547104f784Smrg    Fix a leak and minor cosmetic change.
19557104f784Smrg    
19567104f784Smrg      Leak was due to only releasing return value of xf86GetEntityInfo
19577104f784Smrg    if the chipset was PCI_CHIP_SMI501.
19587104f784Smrg      Cosmetic change was to log pci burst and pci retry default values
19597104f784Smrg    as X_DEFAULT instead of X_PROBED.
19607104f784Smrg
19617104f784Smrgcommit ee1e72a248b2df6522283c0dd3e5433d7f961c62
19627104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
19637104f784SmrgDate:   Fri Sep 19 18:06:20 2008 -0300
19647104f784Smrg
19657104f784Smrg    Kludge to not lock the SMI 501 when running at 8bpp.
19667104f784Smrg
19677104f784Smrgcommit 9ae840a358959615020fa4adb76c1487231927f3
19687104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
19697104f784SmrgDate:   Fri Sep 19 18:00:16 2008 -0300
19707104f784Smrg
19717104f784Smrg    Add MSOC palette support to run at 8 bpp.
19727104f784Smrg    
19737104f784Smrg      Colors should be correctly set, but most output using Render is not
19747104f784Smrg    properly drawn, i.e. anti aliased fonts, etc. Need to investigate
19757104f784Smrg    further, but it should be a general problem, not exclusive to the
19767104f784Smrg    driver.
19777104f784Smrg
19787104f784Smrgcommit f4339a6a7aa077cb355dd23b77ea568ad2a481e3
19797104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
19807104f784SmrgDate:   Fri Sep 19 16:52:17 2008 -0300
19817104f784Smrg
19827104f784Smrg    Enable pci retry and pci burst by default.
19837104f784Smrg    
19847104f784Smrg      Rename fields pci_burst and NoPCIRetry to PCIBurst and PCIRetry,
19857104f784Smrg    to match field names case usage, and updated logic for the removal
19867104f784Smrg    of "No" from the pci retry option.
19877104f784Smrg      Pci retry and pci burst greatly increase video playback speed,
19887104f784Smrg    allowing smooth video play on the SMI 501.
19897104f784Smrg
19907104f784Smrgcommit 782ef31a9273e33100ae6b4bd20a4d1d3f493aa4
19917104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
19927104f784SmrgDate:   Fri Sep 19 15:48:34 2008 -0300
19937104f784Smrg
19947104f784Smrg    Add initial exa support for SMI501.
19957104f784Smrg    
19967104f784Smrg      This just allows exa to run, with a minimal ammount of features avaiable.
19977104f784Smrg
19987104f784Smrgcommit 5d9ab8195e692f78dd7e57e7d17d8b46f7f59221
19997104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
20007104f784SmrgDate:   Thu Sep 18 18:27:51 2008 -0300
20017104f784Smrg
20027104f784Smrg    Add a missing CHECK_SECONDARY macro call.
20037104f784Smrg
20047104f784Smrgcommit 2876b55c3ed82b9be023acbfc4ddf993494c3c9b
20057104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
20067104f784SmrgDate:   Thu Sep 18 18:23:37 2008 -0300
20077104f784Smrg
20087104f784Smrg    Correct video offscreen memory allocation routines.
20097104f784Smrg    
20107104f784Smrg      It was always failing in the first allocation, if using XAA, what caused
20117104f784Smrg    some players to not work correct. This is a major problem for the MSOC as
20127104f784Smrg    it still only supports XAA.
20137104f784Smrg      Also add a workaround for a hardware problem, as described in
20147104f784Smrg    "SM501 Rev.AA engineering addendum v0.1.pdf"
20157104f784Smrg    "A-27 PIXELS TOO BRIGHT ON VIDEO SHRINK".
20167104f784Smrg
20177104f784Smrgcommit 79297e797de3497773539eb9f89e8594797ee512
20187104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
20197104f784SmrgDate:   Thu Sep 18 18:16:21 2008 -0300
20207104f784Smrg
20217104f784Smrg    Update for new smi_501 interfaces.
20227104f784Smrg    
20237104f784Smrg      This also adds some simplification for the driver code, by adding
20247104f784Smrg    some function pointers to avoid the need to check the chipset everywhere.
20257104f784Smrg      The new SMI_DetectMCLK function doesn't actually change pSmi->MCLK to
20267104f784Smrg    avoid chances of it stoping working on non MSOC chipsets, as it
20277104f784Smrg    previously not did set it, and for the MSOC, for the moment, default to
20287104f784Smrg    whatever value is already set, i.e. doesn't reprogram it.
20297104f784Smrg      Added new memory detection code for the MSOC, that better matches the
20307104f784Smrg    documentation.
20317104f784Smrg
20327104f784Smrgcommit 95e312b712a1e4a476ef31c5302faf77c22915a9
20337104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
20347104f784SmrgDate:   Thu Sep 18 18:10:54 2008 -0300
20357104f784Smrg
20367104f784Smrg      Complete rewrite of smi_501.c and smi_501.h.
20377104f784Smrg    
20387104f784Smrg      The previous version was dependant on kernel framebuffer, as it was
20397104f784Smrg    just failing a test if not having a modeline defined, and in the test
20407104f784Smrg    case, it is running at 1024x600.
20417104f784Smrg      Now it properly programs the video hardware, and the procedure is
20427104f784Smrg    expected to be very well documented.
20437104f784Smrg
20447104f784Smrgcommit cf5132907e4709c872089fe2d79837b2de4e45b7
20457104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
20467104f784SmrgDate:   Tue Sep 2 18:16:41 2008 -0300
20477104f784Smrg
20487104f784Smrg    Rename global smi501 functions to have SMI501 prefix.
20497104f784Smrg    
20507104f784Smrg      Functions renamed were setDPMS -> SMI501_SetDPMS,
20517104f784Smrg    regRead32 -> SMI501_Read32 and regWrite32 -> SMI501_Write32.
20527104f784Smrg      Also moved SMI_SetDPMS to start of smi_501.c to have extern
20537104f784Smrg    functions at start of the file.
20547104f784Smrg
20557104f784Smrgcommit a2a090e10f031aed6dbf6d143d6ce8abdf7a2392
20567104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
20577104f784SmrgDate:   Tue Sep 2 17:55:16 2008 -0300
20587104f784Smrg
20597104f784Smrg    Correct all compiler warning messages.
20607104f784Smrg    
20617104f784Smrg      Code compiled with:
20627104f784Smrg    gcc -Wall -Wbad-function-cast -Wdeclaration-after-statement \
20637104f784Smrg        -Wmissing-prototypes -Wmissing-declarations -Wnested-externs \
20647104f784Smrg        -fno-strict-aliasing -Wold-style-definition -Wpointer-arith \
20657104f784Smrg        -Wstrict-prototypes
20667104f784Smrg    
20677104f784Smrg      This patch also makes most smi_501.c functions static, as they are not
20687104f784Smrg    called from anywhere else.
20697104f784Smrg      Also removed prototypes for non existent functions in smi_501.h.
20707104f784Smrg
20717104f784Smrgcommit 2d5ba5f7310fa8e11f7349d116aa871a239ac35f
20727104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
20737104f784SmrgDate:   Tue Sep 2 16:32:31 2008 -0300
20747104f784Smrg
20757104f784Smrg    Correct xv video problems on MSOC.
20767104f784Smrg    
20777104f784Smrg      Set VIDEO_CLIP_TO_VIEWPORT as it is used in MSI sources, and also add
20787104f784Smrg    proper code to detect panel size, as this information is used to manage
20797104f784Smrg    offscreen memory (but shouldn't it be using pScrn->virtualY, etc?)
20807104f784Smrg
20817104f784Smrgcommit e111c85d6cca3f2206b6bce119b284edccf0cd4f
20827104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
20837104f784SmrgDate:   Mon Sep 1 18:41:43 2008 -0300
20847104f784Smrg
20857104f784Smrg    Don't pretend this driver compiles on XFree86.
20867104f784Smrg    
20877104f784Smrg      Either remove check for XF86_VERSION_CURRENT or at least add the
20887104f784Smrg    implementation of RegionsEqual() to smi_video.c.
20897104f784Smrg
20907104f784Smrgcommit b23c5c5e434aaba2128abcae61a8564a62d2e7a1
20917104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
20927104f784SmrgDate:   Mon Sep 1 21:28:13 2008 +0200
20937104f784Smrg
20947104f784Smrg    Fix XAA, ShadowFB and VT switching for non-sm501 chipsets
20957104f784Smrg    
20967104f784Smrg    Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
20977104f784Smrg
20987104f784Smrgcommit 6a01c87b7c75f698ff2b783f8d341526159ebfe2
20997104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
21007104f784SmrgDate:   Mon Sep 1 18:00:03 2008 -0300
21017104f784Smrg
21027104f784Smrg    Split SMI_MapMem in SMI_MapMem and SMI_MapMmio
21037104f784Smrg    
21047104f784Smrg      This is required because MSOC needs mmio to detect ammount of memory.
21057104f784Smrg      The patch also creates a SMI_DetectMem() function, that should slightly
21067104f784Smrg    simplify SMI_PreInit().
21077104f784Smrg
21087104f784Smrgcommit c45ef4676812f72dcff53ba85e9fa95836704c75
21097104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
21107104f784SmrgDate:   Fri Aug 29 19:33:31 2008 -0300
21117104f784Smrg
21127104f784Smrg    Bump version to 1.6.1.
21137104f784Smrg
21147104f784Smrgcommit 4eee032811d1487df9dcf94708b1bcafc7e63392
21157104f784SmrgAuthor: Arnaud Patard <apatard@mandriva.com>
21167104f784SmrgDate:   Fri Aug 29 19:33:31 2008 -0300
21177104f784Smrg
21187104f784Smrg    Correct a problem when handling i420 format.
21197104f784Smrg    
21207104f784Smrg    The problem was that the driver was converting i420->YV12 2 times
21217104f784Smrg    instead of only once.
21227104f784Smrg
21237104f784Smrgcommit 76c931e149917563485ae6ad2950aa28a531b0d1
21247104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
21257104f784SmrgDate:   Fri Aug 29 19:31:57 2008 -0300
21267104f784Smrg
21277104f784Smrg    Update MSOC video interface.
21287104f784Smrg    
21297104f784Smrg      This synchronizes smi_video.c with smi 2.2.5 sources.
21307104f784Smrg
21317104f784Smrgcommit 0eb35f2065314807a604a44e571bbb898db23543
21327104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
21337104f784SmrgDate:   Fri Aug 29 19:20:54 2008 -0300
21347104f784Smrg
21357104f784Smrg    Update xaa and generic acceleration code for the MSOC.
21367104f784Smrg    
21377104f784Smrg      Currently, the support for EXA is not functional, neither is
21387104f784Smrg    ShadowFB or bpp/depth other than 16.
21397104f784Smrg
21407104f784Smrgcommit 375e35fc7df4a21c2e0bc933774cc2f5f29b89d1
21417104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
21427104f784SmrgDate:   Fri Aug 29 19:36:35 2008 -0300
21437104f784Smrg
21447104f784Smrg    MSOC doesn't access VGA registers or VBE/INT10
21457104f784Smrg    
21467104f784Smrg      This should be the biggest patch in the "merge". Done in a single chunk
21477104f784Smrg    to have it compilable at all stages.
21487104f784Smrg
21497104f784Smrgcommit 164d921465ae7b3a0fa2551358f7c0b5a18a425a
21507104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
21517104f784SmrgDate:   Fri Aug 29 18:47:14 2008 -0300
21527104f784Smrg
21537104f784Smrg    Add code to probe and recognize the SMI501 chipset
21547104f784Smrg
21557104f784Smrgcommit db330497c3b757361ac9c3602b3a4ece0a401dd3
21567104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
21577104f784SmrgDate:   Fri Aug 29 15:58:16 2008 -0300
21587104f784Smrg
21597104f784Smrg    Change SILICONMOTION_NAME value
21607104f784Smrg    
21617104f784Smrg      xf86VDrvMsgVerb prints up to 14 characters prefix, where prefix has the
21627104f784Smrg    format "%s(%d): " so, use name "SMI" instead of "Silicon Motion"
21637104f784Smrg
21647104f784Smrgcommit 36309132aef067822a8901ce24fda817be58546d
21657104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
21667104f784SmrgDate:   Fri Aug 29 15:52:36 2008 -0300
21677104f784Smrg
21687104f784Smrg    Add initial support and macros for the MSOC.
21697104f784Smrg    
21707104f784Smrg    This patch add the new files and basic required definitions.
21717104f784Smrg
21727104f784Smrgcommit 96166eafc2b0e5db627aa4f8b0422f953837772b
21737104f784SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
21747104f784SmrgDate:   Fri Aug 29 14:48:44 2008 -0300
21757104f784Smrg
21767104f784Smrg    Fix build for removal of xf86Version.h
21777104f784Smrg    
21787104f784Smrg      This is the first patch of series to merge code from the version 2.2.5
21797104f784Smrg    from SiliconMotion and code from
21807104f784Smrg    http://cgit.freedesktop.org/~agd5f/xf86-video-smi501
21817104f784Smrg    
21827104f784Smrg      After the merge, work will continue, to correct some extra problems,
21837104f784Smrg    and make it work with EXA at least (as only the Xorg version has
21847104f784Smrg    EXA support).
21857104f784Smrg
21867104f784Smrgcommit 682b9a1b97a82c7d084c63860a8c753cc45d9faf
21877104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
21887104f784SmrgDate:   Sat Aug 16 13:24:27 2008 +0200
21897104f784Smrg
21907104f784Smrg    Allow using XV and RandR rotation simultaneously.
21917104f784Smrg    
21927104f784Smrg     As it doesn't seem feasible to rotate the video, I did some modifications
21937104f784Smrg    at SMI_PutImage and SMI_ClipVideo to make PutImage work (incorrectly) with
21947104f784Smrg    rotation enabled. The image is displayed unrotated.
21957104f784Smrg    
21967104f784Smrg    Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
21977104f784Smrg
21987104f784Smrgcommit f6110b1ef5934b45812ee95e70b1e64f44386dda
21997104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
22007104f784SmrgDate:   Sat Aug 16 13:08:25 2008 +0200
22017104f784Smrg
22027104f784Smrg    Some fixes in the EXA UTS/DTS code.
22037104f784Smrg    
22047104f784Smrg     In DTS:
22057104f784Smrg      * It uses the screen Bpp inestead of the pixmap Bpp...
22067104f784Smrg        this gives some problems when using pixmaps with different depth
22077104f784Smrg        to the screen.
22087104f784Smrg     In UTS:
22097104f784Smrg      * aligned_pitch was computed from src_pitch inestead of the
22107104f784Smrg        pixmap width.
22117104f784Smrg      * When writing the target coordinates to the DE registers, it does
22127104f784Smrg        y*0xFFFF inestead of y & 0xFFFF.
22137104f784Smrg      * I renamed source_pitch to src_pixelpitch as it is very confusing
22147104f784Smrg        to have src_pitch and source_pitch.
22157104f784Smrg      * It isn't necessary to call WaitQueue before copying each scanline,
22167104f784Smrg        but it seems it almost doesn't affect performance.
22177104f784Smrg    
22187104f784Smrg    Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
22197104f784Smrg
22207104f784Smrgcommit 209097ba5b44a0ce0da7f1ea52150dcace2b5244
22217104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
22227104f784SmrgDate:   Sat Aug 16 13:00:31 2008 +0200
22237104f784Smrg
22247104f784Smrg    RandR rotation implemented.
22257104f784Smrg    
22267104f784Smrg    * I added the configuration file option "RandRRotation".
22277104f784Smrg    * I replaced pSmi->ShadowPitch with pSmi->screenStride, it seems it
22287104f784Smrg       makes more sense because the lower word of ShadowPitch may change
22297104f784Smrg       independently.
22307104f784Smrg    * I moved the SMI_DEDataFormat to smi_accel.c because it seems it is
22317104f784Smrg      a piece of code repeated many times in the driver.
22327104f784Smrg    * At some places, it is assumed the framebuffer is at FBOffset:
22337104f784Smrg      when using a shadow framebuffer, FBOffset is the location of the
22347104f784Smrg      on-screen framebuffer (0 should be used). This made e.g. EXA
22357104f784Smrg      completly useless with ShadowFB enabled (it crashed).
22367104f784Smrg    * In the FBManager initialization, I have replaced xf86InitFBManager
22377104f784Smrg      with xf86InitFBManagerRegion to reserve some additional space as
22387104f784Smrg      screen fb: it's unlikely to be the case, but a less efficient
22397104f784Smrg      alignment in the rotated mode could make the rotated mode need more
22407104f784Smrg      memory than the unrotated one.
22417104f784Smrg      This is not a problem with EXA as the offscreen memory parameters
22427104f784Smrg      can be easily modified when doing the rotation.
22437104f784Smrg    * In SMI_RefreshArea it's assumed that some DE registers are already
22447104f784Smrg      in some state, this is specially not true when using EXA.
22457104f784Smrg    * SMI_ValidMode rejects a rotated mode with different dimensions
22467104f784Smrg      than the panel. This seems to work now.
22477104f784Smrg    
22487104f784Smrg    Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
22497104f784Smrg
22507104f784Smrgcommit 45c6aedd6fe4e4d6abe58d1bb39ec01049404f09
22517104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
22527104f784SmrgDate:   Sat Aug 16 12:50:26 2008 +0200
22537104f784Smrg
22547104f784Smrg    Updates in SMI_EnterVT when remapping memory.
22557104f784Smrg    
22567104f784Smrg      Update the screen pixmap header with the new aperture address
22577104f784Smrg    when remapping framebuffer memory in SMI_EnterVT.
22587104f784Smrg      Update pSmi->EXADriverPtr->memoryBase too, in case EXA is
22597104f784Smrg    being used.
22607104f784Smrg    
22617104f784Smrg    Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
22627104f784Smrg
22637104f784Smrgcommit 8feca790a6e92799019237ac69a4ef618cacfaae
22647104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
22657104f784SmrgDate:   Sat Aug 16 12:40:52 2008 +0200
22667104f784Smrg
22677104f784Smrg    Make the int10/VBE initialization depend on the UseBIOS configuration option.
22687104f784Smrg    
22697104f784Smrg    Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
22707104f784Smrg
22717104f784Smrgcommit 772e899e71efab208b844b09c75f9f49ff453386
22727104f784SmrgAuthor: Francisco Jerez <currojerez@gmail.com>
22737104f784SmrgDate:   Sat Aug 16 12:25:18 2008 +0200
22747104f784Smrg
22757104f784Smrg    Memory detection moved before memory mapping in SMI_PreInit.
22767104f784Smrg    
22777104f784Smrg    Take into account the VideoRam configuration option.
22787104f784Smrg    
22797104f784Smrg    Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
22807104f784Smrg
22817104f784Smrgcommit d28ed6aa0d28fdcf8f555b2bb8a58fe28d1b464b
22827104f784SmrgAuthor: Adam Jackson <ajax@redhat.com>
22837104f784SmrgDate:   Fri Aug 15 14:24:31 2008 -0400
22847104f784Smrg
22857104f784Smrg    Dead code removal.
22867104f784Smrg
22877104f784Smrgcommit 7cfecd313aaea74ad5675c53b4d0099d6e9dec39
22887104f784SmrgAuthor: Adam Jackson <ajax@redhat.com>
22897104f784SmrgDate:   Wed Mar 19 15:26:14 2008 -0400
22907104f784Smrg
22917104f784Smrg    siliconmotion 1.6.0
22927104f784Smrg
22937104f784Smrgcommit c0e80b14a8af7c9df44919b2df58030e59ecbf88
22947104f784SmrgAuthor: Adam Jackson <ajax@redhat.com>
22957104f784SmrgDate:   Wed Mar 19 15:25:23 2008 -0400
22967104f784Smrg
22977104f784Smrg    Fix distcheck
22987104f784Smrg
22997104f784Smrgcommit e53d07525952e1281170db01c48d7a14a6983049
23007104f784SmrgAuthor: Adam Jackson <ajax@redhat.com>
23017104f784SmrgDate:   Wed Mar 19 15:24:11 2008 -0400
23027104f784Smrg
23037104f784Smrg    Death to RCS tags.
23047104f784Smrg
23057104f784Smrgcommit 46e68bf899754f6f70a0f5a7b0d42c5e208aaa5a
23067104f784SmrgAuthor: Dave Airlie <airlied@redhat.com>
23077104f784SmrgDate:   Mon Mar 10 13:53:00 2008 +1000
23087104f784Smrg
23097104f784Smrg    smi: add pciaccess support
23107104f784Smrg
23117104f784Smrgcommit 75182ca115cba8fcf31304aea88ca3d4b9aa66ac
23127104f784SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
23137104f784SmrgDate:   Sat Mar 8 23:49:58 2008 +0100
23147104f784Smrg
23157104f784Smrg    Makefile.am: nuke RCS Id
23167104f784Smrg
23177104f784Smrgcommit ae556406ab6c4de410b68b3c8bcebb434b3efc9d
23187104f784SmrgAuthor: Brice Goglin <bgoglin@debian.org>
23197104f784SmrgDate:   Tue Aug 7 10:00:25 2007 +0200
23207104f784Smrg
23217104f784Smrg    Define SILICONMOTION_VERSION* using PACKAGE_VERSION*
23227104f784Smrg
23237104f784Smrgcommit 1a803a8f91a931c00106f9d3d41cfa5d74c19f55
23247104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
23257104f784SmrgDate:   Tue Mar 20 21:08:38 2007 -0400
23267104f784Smrg
23277104f784Smrg    minor fixup
23287104f784Smrg
23297104f784Smrgcommit 503027d38dab759277c0a67746ac205a1dfa9277
23307104f784SmrgAuthor: Dennis De Winter <dennis.de.winter@gmail.com>
23317104f784SmrgDate:   Fri Mar 16 21:29:19 2007 -0400
23327104f784Smrg
23337104f784Smrg    Fix UTS issues with flash
23347104f784Smrg    
23357104f784Smrg    Also remove safety padding on memory manager calculation
23367104f784Smrg
23377104f784Smrgcommit fe4114033f2853e2df8d37c490deba26bf0366e8
23387104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
23397104f784SmrgDate:   Thu Mar 15 02:11:24 2007 -0400
23407104f784Smrg
23417104f784Smrg    hostdata blit UTS works, but SW is faster
23427104f784Smrg    
23437104f784Smrg    UTS is working, but SW is faster so leave it disabled
23447104f784Smrg
23457104f784Smrgcommit 62442ce9e62b484e4f2067e3c52c153cd356be2c
23467104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
23477104f784SmrgDate:   Wed Mar 14 20:13:28 2007 -0400
23487104f784Smrg
23497104f784Smrg    more clock fixes
23507104f784Smrg
23517104f784Smrgcommit 6ff1241636e25d2c0f20bd14e92c8585f209aeb0
23527104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
23537104f784SmrgDate:   Tue Mar 13 02:32:52 2007 -0400
23547104f784Smrg
23557104f784Smrg    bump to 1.5.1
23567104f784Smrg
23577104f784Smrgcommit b53db3bc5ba7648d392dc630ef47e57fb8a0afb4
23587104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
23597104f784SmrgDate:   Tue Mar 13 02:31:30 2007 -0400
23607104f784Smrg
23617104f784Smrg    fix clk calculation on older lynx chips
23627104f784Smrg
23637104f784Smrgcommit 7d1392be291e99fd3dde2292b82423b5f78d3a21
23647104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
23657104f784SmrgDate:   Tue Mar 13 00:44:29 2007 -0400
23667104f784Smrg
23677104f784Smrg    bump to 1.5.0
23687104f784Smrg
23697104f784Smrgcommit 449fedec0e38289d10d75799bbf995b0e7189911
23707104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
23717104f784SmrgDate:   Tue Mar 13 00:13:35 2007 -0400
23727104f784Smrg
23737104f784Smrg    fix Solid()
23747104f784Smrg    
23757104f784Smrg    Unforunately, for 32 bpp solid fills the HW ignores alpha.
23767104f784Smrg
23777104f784Smrgcommit 6d40f87d6cddde2d88f25be686b6392449cdecf1
23787104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
23797104f784SmrgDate:   Mon Mar 12 23:58:41 2007 -0400
23807104f784Smrg
23817104f784Smrg    remove spurious waitqueue() line
23827104f784Smrg
23837104f784Smrgcommit 452cabd6e3870b832cb19c8ad8a1fce27eef9c48
23847104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
23857104f784SmrgDate:   Mon Mar 12 01:11:16 2007 -0400
23867104f784Smrg
23877104f784Smrg    Update copyright.
23887104f784Smrg
23897104f784Smrgcommit 55266778ac693582131acae80def32211e09f18f
23907104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
23917104f784SmrgDate:   Mon Mar 12 01:02:53 2007 -0400
23927104f784Smrg
23937104f784Smrg    switch the engine to quick start mode
23947104f784Smrg    
23957104f784Smrg    Rather than writing to the engine command register for every
23967104f784Smrg    operation, set quick start mode, and the operation executes
23977104f784Smrg    automatically when the width register is written.
23987104f784Smrg
23997104f784Smrgcommit 4b37b514907da4a567261569eaebcc5a35aff6db
24007104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
24017104f784SmrgDate:   Mon Mar 12 00:12:23 2007 -0400
24027104f784Smrg
24037104f784Smrg    fixup waitqueue slots
24047104f784Smrg
24057104f784Smrgcommit 493c93de288437501fd898800bce45300379ebc3
24067104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
24077104f784SmrgDate:   Sun Mar 11 18:49:48 2007 -0400
24087104f784Smrg
24097104f784Smrg    more exa fixups, disable UTS for now.
24107104f784Smrg
24117104f784Smrgcommit c1d6373624428c8c52e4d1d295b1d77ed75391a0
24127104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
24137104f784SmrgDate:   Sun Mar 11 16:22:05 2007 -0400
24147104f784Smrg
24157104f784Smrg    engine likes to use blit command for solid fills
24167104f784Smrg
24177104f784Smrgcommit 9db380c99decdb9ab7fbf481788a5b63a84cd6e0
24187104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
24197104f784SmrgDate:   Sun Mar 11 15:53:29 2007 -0400
24207104f784Smrg
24217104f784Smrg    fix postscalar shift
24227104f784Smrg
24237104f784Smrgcommit b6082e628289221864e96ebc41ce93d8efe2d2ce
24247104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
24257104f784SmrgDate:   Sun Mar 11 14:09:45 2007 -0400
24267104f784Smrg
24277104f784Smrg    support 32 bpp
24287104f784Smrg
24297104f784Smrgcommit 3ebbc2e55a1584e01949ec760501ac4a3c086b04
24307104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
24317104f784SmrgDate:   Sun Mar 11 13:40:06 2007 -0400
24327104f784Smrg
24337104f784Smrg    fix up vclk1 setup
24347104f784Smrg
24357104f784Smrgcommit 3e62ec8736ea9ea64a2c0c5c41df9c6d742397ca
24367104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
24377104f784SmrgDate:   Tue Mar 6 02:42:52 2007 -0500
24387104f784Smrg
24397104f784Smrg    revert the last commit.
24407104f784Smrg    
24417104f784Smrg    FBBase already take the register offset into account.
24427104f784Smrg
24437104f784Smrgcommit 7da75a99159f80f215ee409377128f7dcbc4064d
24447104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
24457104f784SmrgDate:   Tue Mar 6 02:38:02 2007 -0500
24467104f784Smrg
24477104f784Smrg    fix memoryBase
24487104f784Smrg    
24497104f784Smrg    pSmi->FBOffset is the offset from the start of the framebuffer
24507104f784Smrg    pScrn->fbOffset is the aperture offset where the framebuffer
24517104f784Smrg    starts
24527104f784Smrg
24537104f784Smrgcommit ba0b2492269ea81e91f7ce4fb8da618187a3997f
24547104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
24557104f784SmrgDate:   Tue Mar 6 02:24:08 2007 -0500
24567104f784Smrg
24577104f784Smrg    first pass at UTS
24587104f784Smrg
24597104f784Smrgcommit e650ca36da5cf7614e4f1a0a524eadb46b1cc21d
24607104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
24617104f784SmrgDate:   Mon Mar 5 23:58:25 2007 -0500
24627104f784Smrg
24637104f784Smrg    fix up EXA code
24647104f784Smrg
24657104f784Smrgcommit c5b23ba581a3a4395b528d4ed824d5df986527e4
24667104f784SmrgAuthor: Dennis De Winter <de.winter.dennis@gmail.com>
24677104f784SmrgDate:   Sun Mar 4 23:17:57 2007 -0500
24687104f784Smrg
24697104f784Smrg    Initial import of EXA support
24707104f784Smrg    
24717104f784Smrg    Based on Dennis' code from bug 8721 with some minor
24727104f784Smrg    changes by me.
24737104f784Smrg
24747104f784Smrgcommit cf83ef7685609cd9daea193b4c842d232edcf506
24757104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
24767104f784SmrgDate:   Sun Mar 4 17:18:10 2007 -0500
24777104f784Smrg
24787104f784Smrg    actually calculate and use vclk1
24797104f784Smrg
24807104f784Smrgcommit 3030e5a6afda5d05ddee5b586295a9e608b7a0de
24817104f784SmrgAuthor: Alex Deucher <alex@botch2.com>
24827104f784SmrgDate:   Sun Mar 4 02:45:55 2007 -0500
24837104f784Smrg
24847104f784Smrg    Whitespace and formatting changes
24857104f784Smrg
24867104f784Smrgcommit 606971fc8a323b0b33bb43524941b4bae6a0c334
24877104f784SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
24887104f784SmrgDate:   Tue Feb 27 13:04:31 2007 -0800
24897104f784Smrg
24907104f784Smrg    renamed: .cvsignore -> .gitignore
24917104f784Smrg
24927104f784Smrgcommit 4b3d28435d2f046d48a38694d89166fe38b00597
24937104f784SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
24947104f784SmrgDate:   Tue Feb 27 13:04:01 2007 -0800
24957104f784Smrg
24967104f784Smrg    Replace XFree86 references in man page
24977104f784Smrg
24987104f784Smrgcommit 3ff1d1aaf93df90f3a96b87bd8447db44b1722f5
24997104f784SmrgAuthor: Alex Deucher <alex@samba.(none)>
25007104f784SmrgDate:   Wed Jan 10 21:58:47 2007 -0500
25017104f784Smrg
25027104f784Smrg    only idle the engine on mode switches
25037104f784Smrg    
25047104f784Smrg    on the initial mode set the engine doesn't idle
25057104f784Smrg    for some users.
25067104f784Smrg
25077104f784Smrgcommit 72c1d44182a49dbd502bbdc0b48f69a43ad5aed0
25087104f784SmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
25097104f784SmrgDate:   Fri Oct 13 18:41:44 2006 -0400
25107104f784Smrg
25117104f784Smrg    Bump to 1.4.2
25127104f784Smrg
25137104f784Smrgcommit 36bbaaf3f44321fc7bb8ff1b71ff1d7f87f3b19b
25147104f784SmrgAuthor: Alex Deucher <alex@samba.(none)>
25157104f784SmrgDate:   Sat Sep 16 15:48:54 2006 -0400
25167104f784Smrg
25177104f784Smrg    make siliconmotion build again.  somehow a bunch of defines in
25187104f784Smrg    regsmi.h got lost?  commit 9a58bc9adbc982680dd8df27caeb9a5819f2adad looks
25197104f784Smrg    like the culprit, but siliconmotion has built fine subsequent to that commit.
25207104f784Smrg    Not sure exactly what's going on.
25217104f784Smrg
25227104f784Smrgcommit c090b2d97dbedfc278a4691b70cf3f73f9799aa6
25237104f784SmrgAuthor:  <alex@samba.(none)>
25247104f784SmrgDate:   Thu Jul 20 23:35:30 2006 -0400
25257104f784Smrg
25267104f784Smrg    - add dualhead support for lynx chips (pretty limited due to severe hardware
25277104f784Smrg    limitations -- I'll improve it a bit at some point)
25287104f784Smrg    - small driver clean ups
25297104f784Smrg
25307104f784Smrgcommit 845d45cd2066be53f6e2e53d5af6375045dac6e2
25317104f784SmrgAuthor: Adam Jackson <ajax@nwnk.net>
25327104f784SmrgDate:   Sat Apr 8 01:43:52 2006 +0000
25337104f784Smrg
25347104f784Smrg    Bump to 1.4.1 for Xv changes.
25357104f784Smrg
25367104f784Smrgcommit 2951e947c56909c9d51bf3f937502d0f682b1d76
25377104f784SmrgAuthor: Aaron Plattner <aplattner@nvidia.com>
25387104f784SmrgDate:   Fri Apr 7 23:13:59 2006 +0000
25397104f784Smrg
25407104f784Smrg    Add a DrawablePtr argument to the XV functions to pave the way for
25417104f784Smrg        redirected video.
25427104f784Smrg
25437104f784Smrgcommit 9a316eaea700e3a356f922506bf2c79e00fd9d83
25447104f784SmrgAuthor: Adam Jackson <ajax@nwnk.net>
25457104f784SmrgDate:   Fri Apr 7 20:58:57 2006 +0000
25467104f784Smrg
25477104f784Smrg    Unlibcwrap. Bump server version requirement. Bump to 1.4.0.
25487104f784Smrg
25497104f784Smrgcommit c394f38c9a998eebec134a9a77ced46b9c005b9d
25507104f784SmrgAuthor: Luc Verhaegen <libv@skynet.be>
25517104f784SmrgDate:   Wed Feb 8 16:52:34 2006 +0000
25527104f784Smrg
25537104f784Smrg    SiliconMotion: Clean up insane pScrn->clock usage.
25547104f784Smrg
25557104f784Smrgcommit 2453cfe259dec826fceab3cff1b2c3803d3d8042
25567104f784SmrgAuthor: Kevin E Martin <kem@kem.org>
25577104f784SmrgDate:   Wed Dec 21 02:30:02 2005 +0000
25587104f784Smrg
25597104f784Smrg    Update package version for X11R7 release.
25607104f784Smrg
25617104f784Smrgcommit e398882fba13cd081916d2ff04ead4f9023c9bfb
25627104f784SmrgAuthor: Adam Jackson <ajax@nwnk.net>
25637104f784SmrgDate:   Mon Dec 19 16:25:54 2005 +0000
25647104f784Smrg
25657104f784Smrg    Stub COPYING files
25667104f784Smrg
25677104f784Smrgcommit 818baab410deef2b3a3b6653dd2134dea29e98de
25687104f784SmrgAuthor: Kevin E Martin <kem@kem.org>
25697104f784SmrgDate:   Thu Dec 15 00:24:19 2005 +0000
25707104f784Smrg
25717104f784Smrg    Update package version number for final X11R7 release candidate.
25727104f784Smrg
25737104f784Smrgcommit 6c95cd7b0ac0c113c25bf985365f3ccb1d30d7c9
25747104f784SmrgAuthor: Kevin E Martin <kem@kem.org>
25757104f784SmrgDate:   Tue Dec 6 22:48:37 2005 +0000
25767104f784Smrg
25777104f784Smrg    Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
25787104f784Smrg
25797104f784Smrgcommit 10d5542f95e86463b96cc1fd31378473c2394bc0
25807104f784SmrgAuthor: Kevin E Martin <kem@kem.org>
25817104f784SmrgDate:   Sat Dec 3 05:49:35 2005 +0000
25827104f784Smrg
25837104f784Smrg    Update package version number for X11R7 RC3 release.
25847104f784Smrg
25857104f784Smrgcommit 8180ea0cb0df275831b900836d9387bb2a730de4
25867104f784SmrgAuthor: Kevin E Martin <kem@kem.org>
25877104f784SmrgDate:   Fri Dec 2 02:16:10 2005 +0000
25887104f784Smrg
25897104f784Smrg    Remove extraneous AC_MSG_RESULT.
25907104f784Smrg
25917104f784Smrgcommit 73e22f89e205a61c315ffaca63cc7f5ab1f2df5f
25927104f784SmrgAuthor: Adam Jackson <ajax@nwnk.net>
25937104f784SmrgDate:   Tue Nov 29 23:30:03 2005 +0000
25947104f784Smrg
25957104f784Smrg    Only build dlloader modules by default.
25967104f784Smrg
25977104f784Smrgcommit 8b156b75c37fb642d6c680cc9fb5361fb0a8ff74
25987104f784SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com>
25997104f784SmrgDate:   Mon Nov 28 22:04:10 2005 +0000
26007104f784Smrg
26017104f784Smrg    Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
26027104f784Smrg        update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
26037104f784Smrg
26047104f784Smrgcommit 8ad5ff0aa74eabc5b4dca2e0422d36713415b1b1
26057104f784SmrgAuthor: Eric Anholt <anholt@freebsd.org>
26067104f784SmrgDate:   Mon Nov 21 10:49:18 2005 +0000
26077104f784Smrg
26087104f784Smrg    Add .cvsignores for drivers.
26097104f784Smrg
26107104f784Smrgcommit 0d4f340f197b14dacc5c33d82f0094ee1f9bb2a8
26117104f784SmrgAuthor: Kevin E Martin <kem@kem.org>
26127104f784SmrgDate:   Wed Nov 9 21:15:20 2005 +0000
26137104f784Smrg
26147104f784Smrg    Update package version number for X11R7 RC2 release.
26157104f784Smrg
26167104f784Smrgcommit 280644786854eea8e8dbe7873e6c79d18f8048f0
26177104f784SmrgAuthor: Kevin E Martin <kem@kem.org>
26187104f784SmrgDate:   Tue Nov 1 15:08:54 2005 +0000
26197104f784Smrg
26207104f784Smrg    Update pkgcheck depedencies to work with separate build roots.
26217104f784Smrg
26227104f784Smrgcommit bcc4f2555d4e4fa7ba2cf022165d3dd8ef331cd9
26237104f784SmrgAuthor: Kevin E Martin <kem@kem.org>
26247104f784SmrgDate:   Wed Oct 19 02:48:04 2005 +0000
26257104f784Smrg
26267104f784Smrg    Update package version number for RC1 release.
26277104f784Smrg
26287104f784Smrgcommit 2da8c99697874a012dccfc582561a0b89e111ecd
26297104f784SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com>
26307104f784SmrgDate:   Tue Oct 18 00:01:54 2005 +0000
26317104f784Smrg
26327104f784Smrg    Use @DRIVER_MAN_SUFFIX@ instead of $(DRIVER_MAN_SUFFIX) in macro
26337104f784Smrg        substitutions to work better with BSD make
26347104f784Smrg
26357104f784Smrgcommit 9f9d3fcd3dca04b7d960d8777e8f8ba612fa1510
26367104f784SmrgAuthor: Adam Jackson <ajax@nwnk.net>
26377104f784SmrgDate:   Mon Oct 17 22:57:35 2005 +0000
26387104f784Smrg
26397104f784Smrg    More 1.7 braindamage: define EXTRA_DIST in terms of @DRIVER_NAME@ instead
26407104f784Smrg        of indirectly
26417104f784Smrg
26427104f784Smrgcommit 286bf9de5baebd75ca129e50af9dc5f66dbf4e4f
26437104f784SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com>
26447104f784SmrgDate:   Mon Oct 17 00:09:05 2005 +0000
26457104f784Smrg
26467104f784Smrg    Use sed & cpp to substitute variables in driver man pages
26477104f784Smrg
26487104f784Smrgcommit 0db428f930db99d70897ca90b9ec0e130f4e6635
26497104f784SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
26507104f784SmrgDate:   Tue Sep 27 22:04:08 2005 +0000
26517104f784Smrg
26527104f784Smrg    Add some more documentation files for siliconmotion driver
26537104f784Smrg
26547104f784Smrgcommit bdc896858ed819dcb79bb7443bfa57d63c8e0fad
26557104f784SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
26567104f784SmrgDate:   Thu Aug 18 09:03:48 2005 +0000
26577104f784Smrg
26587104f784Smrg    Update autogen.sh to one that does objdir != srcdir.
26597104f784Smrg
26607104f784Smrgcommit a3add2e05412767c49ca1c0a1069cd5805ea09e9
26617104f784SmrgAuthor: Kevin E Martin <kem@kem.org>
26627104f784SmrgDate:   Fri Jul 29 21:22:44 2005 +0000
26637104f784Smrg
26647104f784Smrg    Various changes preparing packages for RC0:
26657104f784Smrg    - Verify and update package version numbers as needed
26667104f784Smrg    - Implement versioning scheme
26677104f784Smrg    - Change bug address to point to bugzilla bug entry form
26687104f784Smrg    - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
26697104f784Smrg        reenable it)
26707104f784Smrg    - Fix makedepend to use pkgconfig and pass distcheck
26717104f784Smrg    - Update build script to build macros first
26727104f784Smrg    - Update modular Xorg version
26737104f784Smrg
26747104f784Smrgcommit 5754df51d9b0f8bb8dac7b8c0072da929f1241f0
26757104f784SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
26767104f784SmrgDate:   Tue Jul 26 22:12:58 2005 +0000
26777104f784Smrg
26787104f784Smrg    Build system for siliconmotion
26797104f784Smrg
26807104f784Smrgcommit 4b98eb4b30d694139d5e597c445d65d637ab7472
26817104f784SmrgAuthor: Adam Jackson <ajax@nwnk.net>
26827104f784SmrgDate:   Mon Jul 11 02:29:59 2005 +0000
26837104f784Smrg
26847104f784Smrg    Prep for modular builds by adding guarded #include "config.h" everywhere.
26857104f784Smrg
26867104f784Smrgcommit 6389dd3dc1259865a4b5fcc6b6c7b3f4429593cf
26877104f784SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
26887104f784SmrgDate:   Fri Jul 1 22:43:12 2005 +0000
26897104f784Smrg
26907104f784Smrg    Change all misc.h and os.h references to <X11/foo.h>.
26917104f784Smrg
26927104f784Smrgcommit 1dc135becf5898950e04c84cc4d87870840140c1
26937104f784SmrgAuthor: Alex Deucher <agd5f@yahoo.com>
26947104f784SmrgDate:   Thu Jun 30 00:14:26 2005 +0000
26957104f784Smrg
26967104f784Smrg    - add 800x480 mode to smi driver (bug 3639)
26977104f784Smrg
26987104f784Smrgcommit 0670b675c2133dd7c29f79bdf17d24d64181537d
26997104f784SmrgAuthor: Adam Jackson <ajax@nwnk.net>
27007104f784SmrgDate:   Sat Jun 25 21:16:56 2005 +0000
27017104f784Smrg
27027104f784Smrg    Bug #3626: _X_EXPORT tags for video and input drivers.
27037104f784Smrg
27047104f784Smrgcommit 39112b558fdccd2b0a15b8e41d6215e3b0e6e7bd
27057104f784SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
27067104f784SmrgDate:   Wed Apr 20 12:25:29 2005 +0000
27077104f784Smrg
27087104f784Smrg    Fix includes right throughout the Xserver tree:
27097104f784Smrg    change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h;
27107104f784Smrg    change "foo.h", "extensions/foo.h" and "X11/foo.h" to
27117104f784Smrg        <X11/extensions/foo.h> for extension headers, e.g. Xv.h;
27127104f784Smrg    change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
27137104f784Smrg
27147104f784Smrgcommit c34e24d83a0f84ad90b7cbaba78d54cc779f74d5
27157104f784SmrgAuthor: Adam Jackson <ajax@nwnk.net>
27167104f784SmrgDate:   Fri Sep 17 03:04:54 2004 +0000
27177104f784Smrg
27187104f784Smrg    Bug #1192: Remove cfb support from drivers where its use is an option.
27197104f784Smrg        Delete xf24_32bpp, as s3virge was the last user. Fix up some comments
27207104f784Smrg        to refer to fb rather than cfb.
27217104f784Smrg
27227104f784Smrgcommit 61457616aea5d5d7d98e869d3b24e989c2404d6b
27237104f784SmrgAuthor: Adam Jackson <ajax@nwnk.net>
27247104f784SmrgDate:   Mon Aug 16 09:13:15 2004 +0000
27257104f784Smrg
27267104f784Smrg    Bug #1087: Make sure all the *Weak symbols are documented in the import
27277104f784Smrg        list, so the loader knows not to complain about unresolved symbols when
27287104f784Smrg        an optional module isn't loaded. This typically manifests as warnings
27297104f784Smrg        about fbdevHW symbols when the user isn't using the framebuffer
27307104f784Smrg        console.
27317104f784Smrg
27327104f784Smrgcommit 74176c460a4f5206cbc7cd7b9f48d1b6cedae7cb
27337104f784SmrgAuthor: Eric Anholt <anholt@freebsd.org>
27347104f784SmrgDate:   Sat Jul 31 01:21:51 2004 +0000
27357104f784Smrg
27367104f784Smrg    Rename some COMPOSITE macros and enums to avoid conflicting with the
27377104f784Smrg        COMPOSITE extension's new macro. These appear to only be used
27387104f784Smrg        internally.
27397104f784Smrg
27407104f784Smrgcommit 0f239a7f12e1c0a0b7ede424b0f1eb0fe189e9d6
27417104f784SmrgAuthor: Adam Jackson <ajax@nwnk.net>
27427104f784SmrgDate:   Sat Jul 31 01:21:19 2004 +0000
27437104f784Smrg
27447104f784Smrg    Change several LoaderSymbol calls introduced by the bug #400 patch to
27457104f784Smrg    *Weak() resolver functions.
27467104f784Smrg
27477104f784Smrgcommit 865ba2a4c1107bb82d22ed648f8a1d63c833d6fc
27487104f784SmrgAuthor: Adam Jackson <ajax@nwnk.net>
27497104f784SmrgDate:   Fri Jul 30 20:30:54 2004 +0000
27507104f784Smrg
27517104f784Smrg    Bug #400 (partial): Driver fixes for the dlloader. When using dlloader, all
27527104f784Smrg        framebuffer formats except cfb and the overlay modes should work, and
27537104f784Smrg        r128 and radeon need to be loaded from the ati driver (both issues to
27547104f784Smrg        be fixed soon). Tested on i740, s3virge, mach64, tdfx, vesa, and vga
27557104f784Smrg        drivers. elfloader users shouldn't be affected.
27567104f784Smrg
27577104f784Smrgcommit 9a58bc9adbc982680dd8df27caeb9a5819f2adad
27587104f784SmrgAuthor: Eric Anholt <anholt@freebsd.org>
27597104f784SmrgDate:   Wed Jun 16 09:23:38 2004 +0000
27607104f784Smrg
27617104f784Smrg    DRI XFree86-4_3_99_12-merge import
27627104f784Smrg
27637104f784Smrgcommit 1f957fb7e44762197b0fc5a3b7def25c7888929a
27647104f784SmrgAuthor: Egbert Eich <eich@suse.de>
27657104f784SmrgDate:   Wed May 26 16:24:09 2004 +0000
27667104f784Smrg
27677104f784Smrg    Fixing setting of physical framebuffer base for several drivers. C&T
27687104f784Smrg        driver: Fixed setting of minimal clocks for HiQV chipsets. Neomagic
27697104f784Smrg        driver: improved support for lowres double scan modes.
27707104f784Smrg
27717104f784Smrgcommit 445708ff1249e96628dd6b11e20f83e568fb4ad1
27727104f784SmrgAuthor: Egbert Eich <eich@suse.de>
27737104f784SmrgDate:   Fri Apr 23 19:45:06 2004 +0000
27747104f784Smrg
27757104f784Smrg    Merging XORG-CURRENT into trunk
27767104f784Smrg
27777104f784Smrgcommit 90141c8b6da8e6b57f2e4bae486a3d39c4069a8b
27787104f784SmrgAuthor: Egbert Eich <eich@suse.de>
27797104f784SmrgDate:   Sun Mar 14 08:33:31 2004 +0000
27807104f784Smrg
27817104f784Smrg    Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
27827104f784Smrg
27837104f784Smrgcommit 1082b4e0760359234cb5f51b953bbffc65d594ec
27847104f784SmrgAuthor: Egbert Eich <eich@suse.de>
27857104f784SmrgDate:   Wed Mar 3 12:12:24 2004 +0000
27867104f784Smrg
27877104f784Smrg    Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
27887104f784Smrg
27897104f784Smrgcommit b1c51d42211f715043a3252550ef2fde1a3065e5
27907104f784SmrgAuthor: Egbert Eich <eich@suse.de>
27917104f784SmrgDate:   Thu Feb 26 13:35:54 2004 +0000
27927104f784Smrg
27937104f784Smrg    readding XFree86's cvs IDs
27947104f784Smrg
27957104f784Smrgcommit 2ae35696e96079b192c2cac4e092f6deeb300325
27967104f784SmrgAuthor: Egbert Eich <eich@suse.de>
27977104f784SmrgDate:   Thu Feb 26 09:23:23 2004 +0000
27987104f784Smrg
27997104f784Smrg    Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004
28007104f784Smrg
28017104f784Smrgcommit ac5b2461e620df7026eefda6a389127e7d41f67d
28027104f784SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
28037104f784SmrgDate:   Fri Dec 19 20:55:14 2003 +0000
28047104f784Smrg
28057104f784Smrg    XFree86 4.3.99.902 (RC 2)
28067104f784Smrg
28077104f784Smrgcommit 14cd4af100e1deb1c7b63e9f19587e38ce1f08f2
28087104f784SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
28097104f784SmrgDate:   Tue Nov 25 19:28:39 2003 +0000
28107104f784Smrg
28117104f784Smrg    XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
28127104f784Smrg
28137104f784Smrgcommit 1684aa7a21a194b6e7dd518f3895c9b2dfce229a
28147104f784SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
28157104f784SmrgDate:   Fri Nov 14 16:48:55 2003 +0000
28167104f784Smrg
28177104f784Smrg    XFree86 4.3.0.1
28187104f784Smrg
28197104f784Smrgcommit 78af703cb019a60cc93843efcd4889ccb15abd13
28207104f784SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
28217104f784SmrgDate:   Fri Nov 14 16:48:55 2003 +0000
28227104f784Smrg
28237104f784Smrg    Initial revision
2824