ChangeLog revision 34a0776d
134a0776dSmrgcommit 0e94cd85b2fa1501d4d883de3c97074c5ea5c373
2591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
334a0776dSmrgDate:   Wed Nov 16 11:22:53 2016 +0700
4591e32d7Ssnj
534a0776dSmrg    Bump minor for release.
6591e32d7Ssnj    
7591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
8591e32d7Ssnj
934a0776dSmrgcommit 3fd542b0394f9ab198b7750409ec2c0f16eb59da
1034a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
1134a0776dSmrgDate:   Wed Nov 16 11:35:58 2016 +0700
1234a0776dSmrg
1334a0776dSmrg    vmware/vmwgfx: Add a missing source file for distribution
1434a0776dSmrg    
1534a0776dSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
1634a0776dSmrg    Reviewed-by: Sinclair Yeh <syeh@vmware.com>
1734a0776dSmrg    (cherry picked from commit fade4f46e84e93153edc3472abb73635f87555e6)
1834a0776dSmrg
1934a0776dSmrgcommit e53a7e42eb7597808a364f230a97ce64481f084b
2034a0776dSmrgAuthor: Hans de Goede <hdegoede@redhat.com>
2134a0776dSmrgDate:   Thu Sep 29 19:37:22 2016 +0200
2234a0776dSmrg
2334a0776dSmrg    Adapt Block/WakeupHandler signature for ABI 23
2434a0776dSmrg    
2534a0776dSmrg    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2634a0776dSmrg    Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
2734a0776dSmrg    (cherry picked from commit d64d01c7a599dc3c79125701f076a3e459cefdc2)
2834a0776dSmrg
2934a0776dSmrgcommit 0bcd4df1843f00f8e8507750401ec2a2a29330dc
3034a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
3134a0776dSmrgDate:   Thu Feb 11 09:45:58 2016 +0100
3234a0776dSmrg
3334a0776dSmrg    vmware: Bump minor to signal availability of new features
3434a0776dSmrg    
3534a0776dSmrg    While this may never be an official release, bump minor to enable the
3634a0776dSmrg    new resolutionKMS functionality. This signals the availability of
3734a0776dSmrg    autolayout and resolutionKMS support.
3834a0776dSmrg    
3934a0776dSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
4034a0776dSmrg    Reviewed-by: Brian Paul <brianp@vmware.com>
4134a0776dSmrg
4234a0776dSmrgcommit 5036e9d11a899d831b1471f64132eefcf459b222
4334a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
4434a0776dSmrgDate:   Thu Feb 11 09:40:55 2016 +0100
4534a0776dSmrg
4634a0776dSmrg    vmware/vmwgfx: Don't require screen objects to run
4734a0776dSmrg    
4834a0776dSmrg    Using the vmwgfx ldu backend works just as fine except that we're limited
4934a0776dSmrg    to implicit layout placement.
5034a0776dSmrg    
5134a0776dSmrg    With this test on, we may end up in the odd situation that the vmwgfx kernel
5234a0776dSmrg    module and the vwmare legacy Xorg driver are enabled simultaneously, and that
5334a0776dSmrg    is an unsupported configuration. It will also break resolutionKMS which will
5434a0776dSmrg    be enabled based on vmwgfx version but should be disabled since the legacy
5534a0776dSmrg    Xorg driver runs...
5634a0776dSmrg    
5734a0776dSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
5834a0776dSmrg    Reviewed-by: Brian Paul <brianp@vmware.com>
5934a0776dSmrg
6034a0776dSmrgcommit 57d4499cc252bd1c3362a569ca7fd99ba6b645ed
6134a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
6234a0776dSmrgDate:   Wed Jan 20 19:08:21 2016 +0100
6334a0776dSmrg
6434a0776dSmrg    vmware/vmwgfx: Disable autolayout if we detect an old resolutionset
6534a0776dSmrg    
6634a0776dSmrg    While the autolayout feature should really avoid races both with the old
6734a0776dSmrg    resolutionSet RandR12 code and with new compositor layout code, let's
6834a0776dSmrg    disable the autolayout feature if someone tries to set the
6934a0776dSmrg    layout / resolution through the vmwarectrl interface.
7034a0776dSmrg    That's most likely an old resolutionSet.
7134a0776dSmrg    
7234a0776dSmrg    Autolayout is turned on on each new screen generation.
7334a0776dSmrg    
7434a0776dSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
7534a0776dSmrg    Reviewed-by: Sinclair Yeh <syeh@vmware.com>
7634a0776dSmrg
7734a0776dSmrgcommit 48fb82f13ca290e9fbb8c7f79aba5ee119a3ce7f
7834a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
7934a0776dSmrgDate:   Wed Jan 20 14:21:40 2016 +0100
8034a0776dSmrg
8134a0776dSmrg    vmware/vmwgfx: Read the implicit output status from KMS if available.
8234a0776dSmrg    
8334a0776dSmrg    This information is used to switch to software cursors if we have
8434a0776dSmrg    multiple overlapping explicit outputs and thus might need to display
8534a0776dSmrg    two cursors simultaneously.
8634a0776dSmrg    
8734a0776dSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
8834a0776dSmrg    Reviewed-by: Sinclair Yeh <syeh@vmware.com>
8934a0776dSmrg
9034a0776dSmrgcommit a81e359d88151159e3a19ceb95027029fef0a9ba
9134a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
9234a0776dSmrgDate:   Wed Jan 20 14:04:13 2016 +0100
9334a0776dSmrg
9434a0776dSmrg    vmware/vmwgfx: Avoid filling the log with modeline printouts
9534a0776dSmrg    
9634a0776dSmrg    There are specific debug options for that.
9734a0776dSmrg    
9834a0776dSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
9934a0776dSmrg    Reviewed-by: Sinclair Yeh <syeh@vmware.com>
10034a0776dSmrg
10134a0776dSmrgcommit 5978597da92898a424837ee89e66f66a8120480c
10234a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
10334a0776dSmrgDate:   Wed Jan 20 13:01:21 2016 +0100
10434a0776dSmrg
10534a0776dSmrg    vmware/vmwgfx: Add a layout handler v2
10634a0776dSmrg    
10734a0776dSmrg    Add a handler that, on hotplug events, scans for a new GUI layout and
10834a0776dSmrg    tries to set that layout using XRandR similar to what the RandR1.2 part of
10934a0776dSmrg    vmware tools resolutionSet module is doing today.
11034a0776dSmrg    
11134a0776dSmrg    v2: Address review comments
11234a0776dSmrg    - Keep the old layout in case of screen resizing errors
11334a0776dSmrg    - Fix the vmwgfx_layout handler() declaration.
11434a0776dSmrg    
11534a0776dSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
11634a0776dSmrg    Reviewed-by: Sinclair Yeh <syeh@vmware.com>
11734a0776dSmrg
11834a0776dSmrgcommit 885e360b16fd88b48b40930c6277637615aab188
11934a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
12034a0776dSmrgDate:   Wed Jan 20 12:09:22 2016 +0100
12134a0776dSmrg
12234a0776dSmrg    vmware/vmwgfx: Update RandR output properties on hotplug events v2
12334a0776dSmrg    
12434a0776dSmrg    Update also RandR output properties when we receive hotplug events;
12534a0776dSmrg    the RRGetInfo function doesn't do this.
12634a0776dSmrg    
12734a0776dSmrg    This makes sure RandR sends out property change events to clients.
12834a0776dSmrg    Also remove some debugging printouts.
12934a0776dSmrg    
13034a0776dSmrg    v2: Address review comment from Sinclair Yeh;
13134a0776dSmrg    make sure struct output_private::drm_connector is always valid.
13234a0776dSmrg    
13334a0776dSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13434a0776dSmrg    Reviewed-by: Sinclair Yeh <syeh@vmware.com>
13534a0776dSmrg
13634a0776dSmrgcommit ada41a5988df8414011ed37ec51cbb402c9c8716
13734a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
13834a0776dSmrgDate:   Wed Jan 20 11:51:46 2016 +0100
13934a0776dSmrg
14034a0776dSmrg    vmware/vmwgfx: Add missing includes of the config.h header.
14134a0776dSmrg    
14234a0776dSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
14334a0776dSmrg    Reviewed-by: Sinclair Yeh <syeh@vmware.com>
14434a0776dSmrg
14534a0776dSmrgcommit 755e38f373a511bd774a61c9420a67f630f71037
14634a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
14734a0776dSmrgDate:   Thu Dec 18 10:46:42 2014 +0100
14834a0776dSmrg
14934a0776dSmrg    vmware/vmwgfx: Expose kernel connector attributes and react to hotplug events
15034a0776dSmrg    
15134a0776dSmrg    Much of this code is borrowed from the xf86-video-modesetting driver.
15234a0776dSmrg    
15334a0776dSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
15434a0776dSmrg    Reviewed-by: Sinclair Yeh <syeh@vmware.com>
15534a0776dSmrg
15634a0776dSmrgcommit 1e443c4717a8b107c0c9283e222482703ac0f358
15734a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
15834a0776dSmrgDate:   Wed Feb 25 01:51:11 2015 -0800
15934a0776dSmrg
16034a0776dSmrg    vmware/vmwgfx: Try to use only_hw_present semantics if screen targets are enabled
16134a0776dSmrg    
16234a0776dSmrg    If screen targets are enabled and there is a reasonable chance that the vmwgfx
16334a0776dSmrg    drm driver can use the surface backing a pixmap as a screen target surface,
16434a0776dSmrg    then make that surface a modesetting framebuffer rather than the corresponding
16534a0776dSmrg    DMA buffer. In practice this applies when we start scanning out from the
16634a0776dSmrg    origin (0,0) of the pixmap. However, we would also like to apply the constraint
16734a0776dSmrg    that the scanout area is the entire pixmap, since that is the constraint used
16834a0776dSmrg    by the drm driver, but that would currently require drm framebuffer
16934a0776dSmrg    reallocations and possible flicker, so disable that for now. The drm driver
17034a0776dSmrg    will correctly handle the possibly oversized surface handed to it anyway, and
17134a0776dSmrg    the cost we pay for this is an extra hardware copy of the dirtied area when
17234a0776dSmrg    doing a software update of the scanout.
17334a0776dSmrg    
17434a0776dSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
17534a0776dSmrg    Reviewed-by: Sinclair Yeh <syeh@vmware.com>
17634a0776dSmrg
17734a0776dSmrgcommit 8f0cf7c03597532feb1a8ccf3bb1cafcd6170f89
17834a0776dSmrgAuthor: Thomas Klausner <wiz@NetBSD.org>
17934a0776dSmrgDate:   Sun Aug 10 11:04:51 2014 +0200
18034a0776dSmrg
18134a0776dSmrg    Add 2560x1440 to supported resolutions.
18234a0776dSmrg    
18334a0776dSmrg    Native resolution on iMac 27".
18434a0776dSmrg    Reported missing by Benjamin Lorenz in
18534a0776dSmrg    http://gnats.netbsd.org/49094
18634a0776dSmrg    
18734a0776dSmrg    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
18834a0776dSmrg    Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
18934a0776dSmrg
19034a0776dSmrgcommit ab5be2312023d8ccc7156a05ccc1b0abe7679244
191591e32d7SsnjAuthor: Adam Jackson <ajax@redhat.com>
192591e32d7SsnjDate:   Thu Dec 4 10:35:04 2014 -0500
193591e32d7Ssnj
194591e32d7Ssnj    saa: Adapt to GC client clip changes in xserver 1.17
195591e32d7Ssnj    
196591e32d7Ssnj    1.17 always stores the client clip as a region, so there's no longer a
197591e32d7Ssnj    clientClipType member to look at.  Change the code to just inspect
198591e32d7Ssnj    whether the clientClip is non-null, since that works both before and
199591e32d7Ssnj    after 1.17.
200591e32d7Ssnj    
201591e32d7Ssnj    Signed-off-by: Adam Jackson <ajax@redhat.com>
202591e32d7Ssnj    Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
203591e32d7Ssnj
20434a0776dSmrgcommit 3f7defa8dc595342e2502206ed2006f2be20a884
20534a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
20634a0776dSmrgDate:   Mon Nov 17 19:18:15 2014 +0100
20734a0776dSmrg
20834a0776dSmrg    vmware/vmwgfx: Make large Xv video blits cheaper
20934a0776dSmrg    
21034a0776dSmrg    As screens grow larger, attempt to make large Xv video blits cheaper by
21134a0776dSmrg    performing the color conversion and scaling in two steps:
21234a0776dSmrg    
21334a0776dSmrg    1) Color conversion which has a 4x4 matrix multiplication shader is performed
21434a0776dSmrg       to a bounce buffer the size of which is never larger than the source image.
21534a0776dSmrg    2) Scaling is performed as a src composite blit to the destination image with
21634a0776dSmrg       a simple copy shader.
21734a0776dSmrg    
21834a0776dSmrg    This split is done only if the destination image is substantially larger than
21934a0776dSmrg    the source image / bounce buffer
22034a0776dSmrg    
22134a0776dSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
22234a0776dSmrg    Reviewed-by: Sinclair Yeh <syeh@vmware.com>
22334a0776dSmrg
224591e32d7Ssnjcommit 4664412d7a5266d2b392957406b34abc5db95e48
225591e32d7SsnjAuthor: Stefan Dirsch <sndirsch@suse.de>
226591e32d7SsnjDate:   Tue Oct 7 11:29:32 2014 +0200
227591e32d7Ssnj
228591e32d7Ssnj    xf86xv.h cannot be included without first including xorg-server.h.
229591e32d7Ssnj    
230591e32d7Ssnj    Without this the build fails on systems with the latest glibc,
231591e32d7Ssnj    throwing this error:
232591e32d7Ssnj    
233591e32d7Ssnj    In file included from /usr/include/string.h:634:0,
234591e32d7Ssnj                     from /usr/include/xorg/os.h:53,
235591e32d7Ssnj                     from /usr/include/xorg/misc.h:115,
236591e32d7Ssnj                     from /usr/include/xorg/screenint.h:50,
237591e32d7Ssnj                     from /usr/include/xorg/scrnintstr.h:50,
238591e32d7Ssnj                     from /usr/include/xorg/xvdix.h:55,
239591e32d7Ssnj                     from /usr/include/xorg/xf86xv.h:32,
240591e32d7Ssnj                     from vmwgfx_overlay.c:38:
241591e32d7Ssnj    /usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__'
242591e32d7Ssnj    strndup(const char *str, size_t n);
243591e32d7Ssnj    
244591e32d7Ssnj    This is caused by HAVE_STRNDUP not being set (it is set from xorg-server.h),
245591e32d7Ssnj    causing os.h to redefine it.
246591e32d7Ssnj    
247591e32d7Ssnj    Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
248591e32d7Ssnj    Reviewed-by: Daniel Stone <daniels@collabora.com>
249591e32d7Ssnj    Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
250591e32d7Ssnj
251591e32d7Ssnjcommit 8e1c4e5bd521ec2d4f1a21da432f110c606b3fde
252591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
253591e32d7SsnjDate:   Mon Sep 22 12:09:13 2014 +0200
254591e32d7Ssnj
255591e32d7Ssnj    vmware/saa: Fix saa_check_poly_fill_rect_noreadback v2
256591e32d7Ssnj    
257591e32d7Ssnj    We were not clipping the dirty region correctly, Fix this.
258591e32d7Ssnj    Also actually do what the comment in the function says: If there are more than
259591e32d7Ssnj    an ad-hoc number of rectangles to read back, then revert to the default
260591e32d7Ssnj    saa_check_poly_fill_rect function that reads back the whole damage region.
261591e32d7Ssnj    
262591e32d7Ssnj    v2: Fix commit log message.
263591e32d7Ssnj    
264591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
265591e32d7Ssnj    Reviewed-by: Brian Paul <brianp@vmware.com>
266591e32d7Ssnj    Reviewed-by: Sinclair Yeh <syeh@vmware.com>
267591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
268591e32d7Ssnj
269591e32d7Ssnjcommit c23fd33d8ce8491891255d93c04e053bf333bd4e
270591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
271591e32d7SsnjDate:   Mon Sep 22 11:43:02 2014 +0200
272591e32d7Ssnj
273591e32d7Ssnj    vmware/saa: Fix saa_check_copy_window dirty region v3
274591e32d7Ssnj    
275591e32d7Ssnj    The saa_check_copy_window could dirty regions that were never touched, since
276591e32d7Ssnj    we were using the X server provided damage region rather than the more
277591e32d7Ssnj    detailed region actually copied. This would have been OK if we had first done
278591e32d7Ssnj    a read-back of the region to be dirtied, but since we want to avoid that,
279591e32d7Ssnj    instead compute the detailed destination region and use that for dirtying.
280591e32d7Ssnj    
281591e32d7Ssnj    This fixes rendering glitches seen with motif applications.
282591e32d7Ssnj    
283591e32d7Ssnj    v2: Fix whitespace error.
284591e32d7Ssnj    v3: Move dirty region computation.
285591e32d7Ssnj    
286591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
287591e32d7Ssnj    Reviewed-by: Brian Paul <brianp@vmware.com>
288591e32d7Ssnj    Reviewed-by: Sinclair Yeh <syeh@vmware.com>
289591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
290591e32d7Ssnj
291591e32d7Ssnjcommit f86434ac69bd288c7fba65d178c22a91a0f4f6c2
292591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
293591e32d7SsnjDate:   Mon Sep 15 15:13:53 2014 +0200
294591e32d7Ssnj
295591e32d7Ssnj    Revert "vmware/saa: Disable the noreadback polyfillrect optimization"
296591e32d7Ssnj    
297591e32d7Ssnj    This reverts commit 88c487cb19aaf2882d582f7f887a52935ef8d92e.
298591e32d7Ssnj    
299591e32d7Ssnj    While the commit made the rendering artefacts less frequent, they didn't
300591e32d7Ssnj    disappear completely and are likely caused by something else, so revert this
301591e32d7Ssnj    commit.
302591e32d7Ssnj    
303591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
304591e32d7Ssnj    Acked-by: Sinclair Yeh <syeh@vmware.com>
305591e32d7Ssnj
306591e32d7Ssnjcommit 8545a166931617af0d2a9ca8175fd8b11c67e246
307591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
308591e32d7SsnjDate:   Tue Sep 9 01:59:07 2014 -0700
309591e32d7Ssnj
310591e32d7Ssnj    vmware/vmwgfx: Fix cursor problem with multimon
311591e32d7Ssnj    
312591e32d7Ssnj    In a multimon environment, the cursor would sometimes disappear on the
313591e32d7Ssnj    newly enabled screen. Fix this.
314591e32d7Ssnj    
315591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
316591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
317591e32d7Ssnj
318591e32d7Ssnjcommit 32562129750077a23f26f2e69adc8403eb24bf3f
319591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
320591e32d7SsnjDate:   Wed Sep 3 07:08:41 2014 -0700
321591e32d7Ssnj
322591e32d7Ssnj    vmware/vmwgfx: Don't add pixmaps to the pixmap list if they're already on it
323591e32d7Ssnj    
324591e32d7Ssnj    This could cause loops through the list to spin indefinitely.
325591e32d7Ssnj    This would most likely occur at VT switches.
326591e32d7Ssnj    
327591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
328591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
329591e32d7Ssnj
330591e32d7Ssnjcommit 8b6316a312689d83ca8f8de939698bc137206f58
331591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
332591e32d7SsnjDate:   Thu Aug 28 15:32:45 2014 +0200
333591e32d7Ssnj
334591e32d7Ssnj    vmware/legacy: Fix overlay related compile breakage on earlier X servers
335591e32d7Ssnj    
336591e32d7Ssnj    Introduced by commit:
337591e32d7Ssnj    vmware/legacy: Apply same fix to auto colrkey fill
338591e32d7Ssnj    
339591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
340591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
341591e32d7Ssnj
342591e32d7Ssnjcommit 8a47e9a45036005d46a60cf8df366baffcb9a8d1
343591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
344591e32d7SsnjDate:   Thu Aug 28 13:43:03 2014 +0200
345591e32d7Ssnj
346591e32d7Ssnj    vmware: Fix bootstrap related compile errors on earlier X servers
347591e32d7Ssnj    
348591e32d7Ssnj    Introduced by commit
349591e32d7Ssnj    Add support for XSERVER_PLATFORM_BUS
350591e32d7Ssnj    
351591e32d7Ssnj    Note that the vmware DriverRec declaration can be cleaned up
352591e32d7Ssnj    considerably using C99 designated initializers. Perhaps something for
353591e32d7Ssnj    the next release...
354591e32d7Ssnj    
355591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
356591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
357591e32d7Ssnj
358591e32d7Ssnjcommit f5d8c8f1fe2de727018600f471b6a8829fe492ad
359591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
360591e32d7SsnjDate:   Wed Aug 20 13:02:58 2014 +0200
361591e32d7Ssnj
362591e32d7Ssnj    vmware: Clear the PITCHLOCK register if available before modeset
363591e32d7Ssnj    
364591e32d7Ssnj    In some situations the fbdev driver may have set this register before legacy
365591e32d7Ssnj    driver startup causing a weird-looking desktop. Make sure this register
366591e32d7Ssnj    is cleared on each modeset.
367591e32d7Ssnj    
368591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
369591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
370591e32d7Ssnj
371591e32d7Ssnjcommit b1697434348799b0808a6c9e9a899394075b980c
372591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com>
373591e32d7SsnjDate:   Thu Aug 14 16:42:05 2014 +0200
374591e32d7Ssnj
375591e32d7Ssnj    vmware/legacy: Fix out of bound array indexing
376591e32d7Ssnj    
377591e32d7Ssnj    Spotted by coverity.
378591e32d7Ssnj    
379591e32d7Ssnj    Reported-by: Adam Jackson <ajax@redhat.com>
380591e32d7Ssnj    Reviewed-by: Adam Jackson <ajax@redhat.com>
381591e32d7Ssnj    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
382591e32d7Ssnj
383591e32d7Ssnjcommit 0825d98744b20a20af7bd81d347334ab4a1de015
384591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com>
385591e32d7SsnjDate:   Sat Aug 9 00:19:17 2014 +0200
386591e32d7Ssnj
387591e32d7Ssnj    vmware/vmwgfx: Fix compilation issue on older X servers
388591e32d7Ssnj    
389591e32d7Ssnj    Introduced in 268307 "Add support for server managed fds"
390591e32d7Ssnj    
391591e32d7Ssnj    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
392591e32d7Ssnj    Reviewed-by: Brian Paul <brianp@vmware.com>
393591e32d7Ssnj
394591e32d7Ssnjcommit 0a212afefd8670a1823c9b6474de8bf26d33bdeb
395591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com>
396591e32d7SsnjDate:   Fri Aug 8 21:37:38 2014 +0200
397591e32d7Ssnj
398591e32d7Ssnj    vmware/legacy: Fix uninitialized values in video commands
399591e32d7Ssnj    
400591e32d7Ssnj    Fixed bug where video stopped working on systems that didn't have the new kms
401591e32d7Ssnj    enabled kernel driver installed. Found on CentOS 6.4.
402591e32d7Ssnj    
403591e32d7Ssnj    After updating the register header SVGA_VIDEO_NUM_REGS value got upped by two
404591e32d7Ssnj    in order to support GMR and Screen Objects. Since this path is mostly used
405591e32d7Ssnj    on older hosts that may not support them, don't send them at all.
406591e32d7Ssnj    
407591e32d7Ssnj    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
408591e32d7Ssnj    Reviewed-by: Brian Paul <brianp@vmware.com>
409591e32d7Ssnj
410591e32d7Ssnjcommit 0a596fd0c92fdcf73071869a59029263a2596018
411591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
412591e32d7SsnjDate:   Wed Jul 2 14:21:45 2014 +0200
413591e32d7Ssnj
414591e32d7Ssnj    vmware/vmwgfx: Fix an error path segfault
415591e32d7Ssnj    
416591e32d7Ssnj    Part of freedesktop.org bugzilla bug #80645
417591e32d7Ssnj    If taking a scanout reference on a pixmap fails, the
418591e32d7Ssnj    struct vmwgfx_screen_entry::pixmap pointer must be set to NULL, otherwise
419591e32d7Ssnj    the driver will incorrectly attempt to remove the scanout reference in the
420591e32d7Ssnj    error path, causing a segfault.
421591e32d7Ssnj    
422591e32d7Ssnj    This problem is seen in the above-mentioned bug, but it is not the root
423591e32d7Ssnj    cause of the problem. With this patch applied, the server will terminate
424591e32d7Ssnj    cleanly instead of segfaulting.
425591e32d7Ssnj    
426591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
427591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
428591e32d7Ssnj
429591e32d7Ssnjcommit 4e378a730d2d2deffc915af2a3d013d2a994a1b0
430591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com>
431591e32d7SsnjDate:   Wed May 21 11:52:29 2014 +0200
432591e32d7Ssnj
433591e32d7Ssnj    vmware/legacy: Apply same fix to auto colorkey fill
434591e32d7Ssnj    
435591e32d7Ssnj    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
436591e32d7Ssnj    Reviewed-by: Thomas Hellström <thellstrom@vmware.com>
437591e32d7Ssnj
438591e32d7Ssnjcommit 82c9b0c1d34459c568d004521e3f35a69f5d7ae3
439591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com>
440591e32d7SsnjDate:   Wed May 21 11:51:46 2014 +0200
441591e32d7Ssnj
442591e32d7Ssnj    vmware/vmwgfx: Fix auto colorkey fill usage
443591e32d7Ssnj    
444591e32d7Ssnj    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
445591e32d7Ssnj    Reviewed-by: Thomas Hellström <thellstrom@vmware.com>
446591e32d7Ssnj
447591e32d7Ssnjcommit 43e043868fbd74e28cd392a3665b36abdfe87de0
448591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com>
449591e32d7SsnjDate:   Wed May 21 11:54:48 2014 +0200
450591e32d7Ssnj
451591e32d7Ssnj    vmware/vmwgfx: A bit more error logging when handling cursors
452591e32d7Ssnj    
453591e32d7Ssnj    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
454591e32d7Ssnj    Reviewed-by: Thomas Hellström <thellstrom@vmware.com>
455591e32d7Ssnj
456591e32d7Ssnjcommit aa7309254808e27a4ac5d3dc674be179646280b5
457591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com>
458591e32d7SsnjDate:   Wed May 21 11:54:24 2014 +0200
459591e32d7Ssnj
460591e32d7Ssnj    vmware/vmwgfx: Don't move cursors without images
461591e32d7Ssnj    
462591e32d7Ssnj    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
463591e32d7Ssnj    Reviewed-by: Thomas Hellström <thellstrom@vmware.com>
464591e32d7Ssnj
465591e32d7Ssnjcommit e8d6facf34adf1c601a3afd0a984ce90ad8fe059
466591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
467591e32d7SsnjDate:   Tue May 20 06:29:19 2014 -0700
468591e32d7Ssnj
469591e32d7Ssnj    vmware/vmwgfx: Fix xwayland build on newer XA versions
470591e32d7Ssnj    
471591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
472591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
473591e32d7Ssnj
474591e32d7Ssnjcommit 268307e85c06be27345a6808bcf2b3c9887bf8bc
475591e32d7SsnjAuthor: Hans de Goede <hdegoede@redhat.com>
476591e32d7SsnjDate:   Tue May 6 16:33:21 2014 +0200
477591e32d7Ssnj
478591e32d7Ssnj    Add support for server managed fds
479591e32d7Ssnj    
480591e32d7Ssnj    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
481591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
482591e32d7Ssnj
483591e32d7Ssnjcommit 675fe58eee8acdb302c3501236b86a3289991053
484591e32d7SsnjAuthor: Hans de Goede <hdegoede@redhat.com>
485591e32d7SsnjDate:   Tue May 6 16:00:50 2014 +0200
486591e32d7Ssnj
487591e32d7Ssnj    Add support for XSERVER_PLATFORM_BUS
488591e32d7Ssnj    
489591e32d7Ssnj    This is a preparation patch for adding support for server managed fds.
490591e32d7Ssnj    
491591e32d7Ssnj    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
492591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
493591e32d7Ssnj
494591e32d7Ssnjcommit 88c487cb19aaf2882d582f7f887a52935ef8d92e
495591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
496591e32d7SsnjDate:   Fri May 9 09:35:59 2014 +0200
497591e32d7Ssnj
498591e32d7Ssnj    vmware/saa: Disable the noreadback polyfillrect optimization
499591e32d7Ssnj    
500591e32d7Ssnj    It causes rendering artefacts with some motif applications due to
501591e32d7Ssnj    damage area confusion. Until that is sorted out, temporarily disable the
502591e32d7Ssnj    optimization.
503591e32d7Ssnj    
504591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
505591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
506591e32d7Ssnj
507591e32d7Ssnjcommit f31eed4a578784329a7038aa01acaa10a2d0c246
508591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
509591e32d7SsnjDate:   Thu May 8 09:24:04 2014 +0200
510591e32d7Ssnj
511591e32d7Ssnj    vmware/vmwgfx: Fix initial dirty region for pixmaps
512591e32d7Ssnj    
513591e32d7Ssnj    When storage is attached to pixmaps for the first time the dirty region is
514591e32d7Ssnj    set to cover either the hardware surface or the software buffer based on
515591e32d7Ssnj    the presence of the hardware surface.
516591e32d7Ssnj    
517591e32d7Ssnj    However, if the storage was created as part of an accelerated operation,
518591e32d7Ssnj    the dirty region was assigned before the hardware surface was assigned to the
519591e32d7Ssnj    pixmap, causing the dirty region to incorrectly cover the software buffer.
520591e32d7Ssnj    
521591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
522591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
523591e32d7Ssnj
524591e32d7Ssnjcommit 1ed14687a3f1092db8504fb9cf4f446451801665
525591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
526591e32d7SsnjDate:   Thu Apr 10 14:05:24 2014 +0200
527591e32d7Ssnj
528591e32d7Ssnj    vmware/vmwgfx: Set desired modes after xMir screen init
529591e32d7Ssnj    
530591e32d7Ssnj    While XMir does initial mode configuration, it leaves setting initial
531591e32d7Ssnj    modes to the DDX driver.
532591e32d7Ssnj    
533591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
534591e32d7Ssnj    Reviewed-by: Brian Paul <brianp@vmware.com>
535591e32d7Ssnj
536591e32d7Ssnjcommit 64e0faf1480663a990e0f6aeef7af0e69845af49
537591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
538591e32d7SsnjDate:   Wed Apr 2 14:05:23 2014 +0200
539591e32d7Ssnj
540591e32d7Ssnj    vmware/vmwgfx: Don't tell XA that we have a mask when we haven't
541591e32d7Ssnj    
542591e32d7Ssnj    In some cases, the X server sends us a composit operation with
543591e32d7Ssnj    mask_pict != NULL, but mask_pix == NULL. Assume there's no mask
544591e32d7Ssnj    involved in that case.
545591e32d7Ssnj    
546591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
547591e32d7Ssnj    Reviewed-by: Brian Paul <brianp@vmware.com>
548591e32d7Ssnj
549591e32d7Ssnjcommit c062d08a50a26c99a3b8f565a8b2b00e8dc21c3f
550591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com>
551591e32d7SsnjDate:   Thu Jan 16 18:27:57 2014 +0100
552591e32d7Ssnj
553591e32d7Ssnj    vmware/vmwgfx: Don't change backing-store of active scanout surfaces
554591e32d7Ssnj    
555591e32d7Ssnj    With option "HwPresents" on, the driver would sometimes change backing
556591e32d7Ssnj    store of active scanout surfaces, making the kernel module refuse to
557591e32d7Ssnj    present. This was caused by scanout surfaces not having the RENDERTARGET flag
558591e32d7Ssnj    on by default. So when rendered to, using copies or composites, they
559591e32d7Ssnj    would be reallocated. Fix this by adding the RENDERTARGET flag from start.
560591e32d7Ssnj    
561591e32d7Ssnj    Also add code that prints out an error message when we change backing store
562591e32d7Ssnj    of active scanout surfaces
563591e32d7Ssnj    
564591e32d7Ssnj    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
565591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
566591e32d7Ssnj
567591e32d7Ssnjcommit c42e1f750629f18144d065b8bba5e2eaf6cbf675
568591e32d7SsnjAuthor: Julien Cristau <jcristau@debian.org>
569591e32d7SsnjDate:   Tue Apr 1 10:11:13 2014 +0200
570591e32d7Ssnj
571591e32d7Ssnj    configure: fix build without xatracker
572591e32d7Ssnj    
573591e32d7Ssnj    ACTION-IF-NOT-FOUND is the fourth argument to PKG_CHECK_MODULES, not the
574591e32d7Ssnj    fifth.
575591e32d7Ssnj    
576591e32d7Ssnj    Debian bug#743239 <https://bugs.debian.org/743239>
577591e32d7Ssnj    
578591e32d7Ssnj    Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
579591e32d7Ssnj    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
580591e32d7Ssnj    Signed-off-by: Julien Cristau <jcristau@debian.org>
581591e32d7Ssnj    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
582591e32d7Ssnj
58322f7e8e5Smrgcommit cbd56b3759f01ec18ae0705d023e4c0b2ab38c25
58422f7e8e5SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
58522f7e8e5SmrgDate:   Wed Mar 26 12:45:52 2014 +0100
58622f7e8e5Smrg
58722f7e8e5Smrg    Bump the version number to 13.0.2
58822f7e8e5Smrg    
58922f7e8e5Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
59022f7e8e5Smrg
59122f7e8e5Smrgcommit 51cdfa6f5102bde92c98630ace6650e4b286f6e2
59222f7e8e5SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
59322f7e8e5SmrgDate:   Fri Feb 21 18:10:07 2014 +0100
59422f7e8e5Smrg
59522f7e8e5Smrg    vmware: Fix compilation on newer X servers
59622f7e8e5Smrg    
59722f7e8e5Smrg    Found by Bryan Lee. Later versions of X.org turns dispMode pointers
59822f7e8e5Smrg    into const upsetting gcc, turn them into size_t's instead.
59922f7e8e5Smrg    
60022f7e8e5Smrg    Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
60122f7e8e5Smrg
60222f7e8e5Smrgcommit 8da981712f62050076cff53e1b40ed1e307fcca8
60322f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
60422f7e8e5SmrgDate:   Wed Jan 15 11:04:05 2014 +0100
60522f7e8e5Smrg
60622f7e8e5Smrg    vmware/vmwgfx: Always allocate shared hardware surfaces.
60722f7e8e5Smrg    
60822f7e8e5Smrg    Hardware surfaces are all likely to be shared at some point, and we *really*
60922f7e8e5Smrg    don't want to change a hardware surface that is bound as a drm framebuffer.
61022f7e8e5Smrg    
61122f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
61222f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
61322f7e8e5Smrg
61422f7e8e5Smrgcommit 31bff9f7f3d9a68fd1449532e8ab50065de63857
61522f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
61622f7e8e5SmrgDate:   Thu Jan 9 13:53:59 2014 +0100
61722f7e8e5Smrg
61822f7e8e5Smrg    vmware: Require libdrm 2.4.38 to build XMir.
61922f7e8e5Smrg    
62022f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
62122f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
62222f7e8e5Smrg
62322f7e8e5Smrgcommit d6b179a5addef6456325adf241eb8dcaf8e4c3d6
62422f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
62522f7e8e5SmrgDate:   Thu Jan 9 13:28:22 2014 +0100
62622f7e8e5Smrg
62722f7e8e5Smrg    vmware: Fix build errors and warnings
62822f7e8e5Smrg    
62922f7e8e5Smrg    A previous commit and the hosted merge unfortunately brought in some build
63022f7e8e5Smrg    errors / warnings on early X servers.
63122f7e8e5Smrg    
63222f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
63322f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
63422f7e8e5Smrg
63522f7e8e5Smrgcommit f37684e7169b9c0ab23ff748d5acacb65fad82f7
63622f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
63722f7e8e5SmrgDate:   Tue Jan 7 17:55:49 2014 +0100
63822f7e8e5Smrg
63922f7e8e5Smrg    vmwgfx: Block DMA to prime surfaces for now
64022f7e8e5Smrg    
64122f7e8e5Smrg    Since there is currently no _good_ way to get the surface format of a
64222f7e8e5Smrg    prime surface, we block DMA to these surfaces; we don't know if our
64322f7e8e5Smrg    software data is compatible with the surface format.
64422f7e8e5Smrg    
64522f7e8e5Smrg    This patch also makes sure that there is a hardware surface backing the
64622f7e8e5Smrg    drawable we copy from.
64722f7e8e5Smrg    
64822f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
64922f7e8e5Smrg    Reviewed-by: Brian Paul <brianp@vmware.com>
65022f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
65122f7e8e5Smrg
65222f7e8e5Smrgcommit 97ce302ddd6e86397ea56ea9089b9549af73c3ac
65322f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
65422f7e8e5SmrgDate:   Mon Jan 6 12:37:36 2014 +0100
65522f7e8e5Smrg
65622f7e8e5Smrg    vmwgfx: Enable direct dmas
65722f7e8e5Smrg    
65822f7e8e5Smrg    Enable direct dmas instead of using the xa-provided dma functionality.
65922f7e8e5Smrg    This saves a bounce-buffer software copy of all dma'd contents.
66022f7e8e5Smrg    
66122f7e8e5Smrg    This also implies that all drawables with mixed software / hardware contents
66222f7e8e5Smrg    will use a kernel buffer for software rendering.
66322f7e8e5Smrg    
66422f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
66522f7e8e5Smrg    Reviewed-by: Brian Paul <brianp@vmware.com>
66622f7e8e5Smrg
66722f7e8e5Smrgcommit fd636e39a3f32a6dcd107c370513d8cb9aae26c2
66822f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
66922f7e8e5SmrgDate:   Mon Dec 16 06:21:09 2013 -0800
67022f7e8e5Smrg
67122f7e8e5Smrg    vmwgfx: Add support for XWayland
67222f7e8e5Smrg    
67322f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
67422f7e8e5Smrg    Reviewed-by: Brian Paul <brianp@vmware.com>
67522f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
67622f7e8e5Smrg
67722f7e8e5Smrgcommit c020923597d3bc30dffa89ba0a47f3b9517dd5fb
67822f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
67922f7e8e5SmrgDate:   Mon Dec 16 06:13:25 2013 -0800
68022f7e8e5Smrg
68122f7e8e5Smrg    vmwgfx: Add support for XMir v2.
68222f7e8e5Smrg    
68322f7e8e5Smrg    Use the hosted infrastructure to add support for XMir.
68422f7e8e5Smrg    Helpers go in vmwgfx_saa.c.
68522f7e8e5Smrg    
68622f7e8e5Smrg    v2: Added comments for the helpers, and added a
68722f7e8e5Smrg    vmwgfx_flush_dri2 to be executed when coming back from vt switch.
68822f7e8e5Smrg    
68922f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
69022f7e8e5Smrg    Reviewed-by: Brian Paul <brianp@vmware.com>
69122f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
69222f7e8e5Smrg
69322f7e8e5Smrgcommit c8e1c498431b1f8758f62c94131c302cf3d07b39
69422f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
69522f7e8e5SmrgDate:   Mon Dec 16 06:05:35 2013 -0800
69622f7e8e5Smrg
69722f7e8e5Smrg    vmwgfx: Add an infrastructure to be able to run hosted under a compositor v2
69822f7e8e5Smrg    
69922f7e8e5Smrg    Figure out what's needed both for XMir and XWayland and make a common
70022f7e8e5Smrg    driver structure out of it.
70122f7e8e5Smrg    
70222f7e8e5Smrg    v2: Added a lot of comments. No code change.
70322f7e8e5Smrg    
70422f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
70522f7e8e5Smrg    Reviewed-by: Brian Paul <brianp@vmware.com>
70622f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
70722f7e8e5Smrg
70822f7e8e5Smrgcommit f45a551e9b70ccec8f92df02747d4e2af299cf8c
70922f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
71022f7e8e5SmrgDate:   Mon Dec 16 10:38:21 2013 +0100
71122f7e8e5Smrg
71222f7e8e5Smrg    vmwgfx: Fix compile breakage on XA version 1.
71322f7e8e5Smrg    
71422f7e8e5Smrg    A recent revert brought back code that assumed XA version 2.
71522f7e8e5Smrg    
71622f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
71722f7e8e5Smrg    Reviewed-by: trivial
71822f7e8e5Smrg
71922f7e8e5Smrgcommit 93228f3dd3355a25583d22dbb96791678b93be3e
72022f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
72122f7e8e5SmrgDate:   Wed Dec 11 06:54:02 2013 -0800
72222f7e8e5Smrg
72322f7e8e5Smrg    vmwgfx: Really allow XA version 2.
72422f7e8e5Smrg    
72522f7e8e5Smrg    When XA starts to correctly advertise version 2, we didn't allow it.
72622f7e8e5Smrg    Fix this.
72722f7e8e5Smrg    
72822f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
72922f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
73022f7e8e5Smrg
73122f7e8e5Smrgcommit 4af6062ce281a7f4aaa50985fe757e9569208ee1
73222f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
73322f7e8e5SmrgDate:   Wed Dec 11 04:59:49 2013 -0800
73422f7e8e5Smrg
73522f7e8e5Smrg    Revert "vmwgfx: Get rid of device-specific DMA code"
73622f7e8e5Smrg    
73722f7e8e5Smrg    This reverts commit 45b2457516a9db4bd1d60fbb24a1efbe2d9dd932.
73822f7e8e5Smrg    
73922f7e8e5Smrg    Reverting this because using direct DMA for shared pixmaps should
74022f7e8e5Smrg    boost performance. It should be usable both in a composited environment
74122f7e8e5Smrg    and when running hosted. Need to retest the DMA flaws I saw before disabling
74222f7e8e5Smrg    this code.
74322f7e8e5Smrg    
74422f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
74522f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
74622f7e8e5Smrg
74722f7e8e5Smrgcommit c36cbcefb8526944141eb431e1e736dc4485a36e
74822f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
74922f7e8e5SmrgDate:   Mon Dec 9 00:19:55 2013 -0800
75022f7e8e5Smrg
75122f7e8e5Smrg    vmwgfx: Remove stray 1
75222f7e8e5Smrg    
75322f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
75422f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
75522f7e8e5Smrg
75622f7e8e5Smrgcommit a40cbd7b4fa19219849b4b0a48f07538772c3e22
75722f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
75822f7e8e5SmrgDate:   Thu Dec 5 02:58:47 2013 -0800
75922f7e8e5Smrg
76022f7e8e5Smrg    vmwgfx: Support also XA version 1 v2
76122f7e8e5Smrg    
76222f7e8e5Smrg    We need to support also XA version 1, since we want to be backwards
76322f7e8e5Smrg    compatible with older mesa releases.
76422f7e8e5Smrg    Unfortunately, the intended way of detecting XA major version at
76522f7e8e5Smrg    compile-time was broken on mesa 10 so we need a workaround that tests
76622f7e8e5Smrg    for XA version 2 at config time.
76722f7e8e5Smrg    
76822f7e8e5Smrg    v2: Update the test for XA version 2.
76922f7e8e5Smrg    
77022f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
77122f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
77222f7e8e5Smrg
77322f7e8e5Smrgcommit 7ac45326eccbf3bea9a4a8f95b9662a36ab58eb0
77422f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
77522f7e8e5SmrgDate:   Thu Nov 28 02:02:20 2013 -0800
77622f7e8e5Smrg
77722f7e8e5Smrg    vmwgfx: Fix some compilation warnings and indentations
77822f7e8e5Smrg    
77922f7e8e5Smrg    Most of the compilation warnings we're seeing are due to bad xorg headers,
78022f7e8e5Smrg    but fix the ones we can fix in the driver. Some indentation fixes as well.
78122f7e8e5Smrg    
78222f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
78322f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
78422f7e8e5Smrg
78522f7e8e5Smrgcommit e26dec8f5278df74a102493bf6d2d8444dab5d6d
78622f7e8e5SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
78722f7e8e5SmrgDate:   Mon Oct 28 18:21:29 2013 -0400
78822f7e8e5Smrg
78922f7e8e5Smrg    vmwgfx: handle changes of DamageUnregister API in 1.14.99.2
79022f7e8e5Smrg    
79122f7e8e5Smrg    Fix is inspired from the intel driver.
79222f7e8e5Smrg    
79322f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
79422f7e8e5Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
79522f7e8e5Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
79622f7e8e5Smrg
79722f7e8e5Smrgcommit 45b2457516a9db4bd1d60fbb24a1efbe2d9dd932
79822f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
79922f7e8e5SmrgDate:   Wed Sep 19 21:50:40 2012 +0200
80022f7e8e5Smrg
80122f7e8e5Smrg    vmwgfx: Get rid of device-specific DMA code
80222f7e8e5Smrg    
80322f7e8e5Smrg    It's rarely used and things seem to work well enough on top of XA.
80422f7e8e5Smrg    
80522f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
80622f7e8e5Smrg    Reviewed-by: Zack Rusin <zackr@vmware.com>
80722f7e8e5Smrg
80822f7e8e5Smrgcommit 7192acf9f0bf8e7176ab0b803b861a858623f709
80922f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
81022f7e8e5SmrgDate:   Wed Sep 19 20:36:57 2012 +0200
81122f7e8e5Smrg
81222f7e8e5Smrg    vmwgfx: Implement textured video completely on top of XA.
81322f7e8e5Smrg    
81422f7e8e5Smrg    Remove device-specific hacks. This may increase resource usage a little
81522f7e8e5Smrg    on old hardware revisions, but we don't need separate code paths on
81622f7e8e5Smrg    different hardware revisions.
81722f7e8e5Smrg    
81822f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
81922f7e8e5Smrg    Reviewed-by: Zack Rusin <zackr@vmware.com>
82022f7e8e5Smrg
82122f7e8e5Smrgcommit 835ce4698f916ba080f4132988fd4caf898e0b1e
82222f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
82322f7e8e5SmrgDate:   Thu Sep 26 01:25:33 2013 -0700
82422f7e8e5Smrg
82522f7e8e5Smrg    vmwgfx: Avoid HW operations when not master
82622f7e8e5Smrg    
82722f7e8e5Smrg    Note that for DRI2, a dri2_copy_region becomes a NOP when not master.
82822f7e8e5Smrg    Additionally, all dri2 operations that lead to a potential kernel
82922f7e8e5Smrg    access will return FALSE.
83022f7e8e5Smrg    
83122f7e8e5Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
83222f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
83322f7e8e5Smrg
83422f7e8e5Smrgcommit 0945bea5fc32eacb7bf42639efbd45dcd43e7ab5
83522f7e8e5SmrgAuthor: Rob Clark <robdclark@gmail.com>
83622f7e8e5SmrgDate:   Mon Jun 10 13:31:31 2013 -0400
83722f7e8e5Smrg
83822f7e8e5Smrg    vmwgfx: update for XA API changes
83922f7e8e5Smrg    
84022f7e8e5Smrg    Signed-off-by: Rob Clark <robdclark@gmail.com>
84122f7e8e5Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
84222f7e8e5Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
84322f7e8e5Smrg    Tested-by: Jakob Bornecrantz <jakob@vmware.com>
84422f7e8e5Smrg
8453bfa90b6Smrgcommit b3345886332ee2b9fd1348dc2cd36257dfd71986
8463bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
8473bfa90b6SmrgDate:   Wed Apr 17 12:03:32 2013 +0200
8483bfa90b6Smrg
8493bfa90b6Smrg    Bump the version number to 13.0.1
8503bfa90b6Smrg
8513bfa90b6Smrgcommit d13a6334fe76f4e869b2cb8c0a6a13c185b1bedd
8523bfa90b6SmrgAuthor: Loïc Yhuel <loic.yhuel@gmail.com>
8533bfa90b6SmrgDate:   Thu Apr 11 11:29:10 2013 +0200
8543bfa90b6Smrg
8553bfa90b6Smrg    vmwgfx: Use myGlyphs to fix crashes
8563bfa90b6Smrg    
8573bfa90b6Smrg    Tested-by: Christian Hesse <mail@eworm.de>
8583bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
8593bfa90b6Smrg    Signed-off-by: Loïc Yhuel <loic.yhuel@gmail.com>
8603bfa90b6Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
8613bfa90b6Smrg
8623bfa90b6Smrgcommit 23d87c92b7211cc5249eefe4ab3a2c7f370e279e
8633bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com>
8643bfa90b6SmrgDate:   Thu Feb 14 14:33:01 2013 -0800
8653bfa90b6Smrg
8663bfa90b6Smrg    Kill mibstore
8673bfa90b6Smrg    
8683bfa90b6Smrg    It was a noop for at least 5 years and it has been removed.
8693bfa90b6Smrg    
8703bfa90b6Smrg    Signed-off-by: Zack Rusin <zackr@vmware.com>
8713bfa90b6Smrg
8723bfa90b6Smrgcommit 686859fba16ed2616c38bbe5d4e38abf4c5b7ae9
8733bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com>
8743bfa90b6SmrgDate:   Tue Jan 15 12:05:45 2013 -0800
8753bfa90b6Smrg
8763bfa90b6Smrg    Bump the version number to 13.0.0
8773bfa90b6Smrg    
8783bfa90b6Smrg    New abi and various fixes
8793bfa90b6Smrg    
8803bfa90b6Smrg    Signed-off-by: Zack Rusin <zackr@vmware.com>
8813bfa90b6Smrg
8823bfa90b6Smrgcommit adf375f3d400e51b1e445e89de6bd82be0bb4ef3
8833bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com>
8843bfa90b6SmrgDate:   Thu Dec 6 16:40:13 2012 -0500
8853bfa90b6Smrg
8863bfa90b6Smrg    xf86-video-vmware 12.0.99.901
8873bfa90b6Smrg    
8883bfa90b6Smrg    Internal release for a round of QE testing
8893bfa90b6Smrg    
8903bfa90b6Smrg    Signed-off-by: Zack Rusin <zackr@vmware.com>
8913bfa90b6Smrg
8923bfa90b6Smrgcommit 007bed30270ca9548dfe6e359972b56cbb8e2f13
8933bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
8943bfa90b6SmrgDate:   Tue May 29 23:01:14 2012 +0200
8953bfa90b6Smrg
8963bfa90b6Smrg    vmwgfx: Guard against null rotate pixmap in shadow destroy
8973bfa90b6Smrg    
8983bfa90b6Smrg    Reviewed-by: Thomas Hellström <thellstrom@vmware.com>
8993bfa90b6Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
9003bfa90b6Smrg
9013bfa90b6Smrgcommit e5ac80d8f72963313358e31cfb1ab98583e26f23
9023bfa90b6SmrgAuthor: Dave Airlie <airlied@redhat.com>
9033bfa90b6SmrgDate:   Tue Jul 3 13:50:30 2012 +0100
9043bfa90b6Smrg
9053bfa90b6Smrg    vmware: avoid warnings about shadowing 'i'
9063bfa90b6Smrg    
9073bfa90b6Smrg    Signed-off-by: Dave Airlie <airlied@redhat.com>
9083bfa90b6Smrg
9093bfa90b6Smrgcommit 46c0862d205eefa985e36a74391ca392640cb898
9103bfa90b6SmrgAuthor: Dave Airlie <airlied@redhat.com>
9113bfa90b6SmrgDate:   Sat Jun 16 14:43:52 2012 +0100
9123bfa90b6Smrg
9133bfa90b6Smrg    vmware: drop infoFromScreen inline in favour of new interface
9143bfa90b6Smrg    
9153bfa90b6Smrg    This also should fix the build regression introduced with the fix
9163bfa90b6Smrg    for this macro.
9173bfa90b6Smrg    
9183bfa90b6Smrg    Signed-off-by: Dave Airlie <airlied@redhat.com>
9193bfa90b6Smrg
9203bfa90b6Smrgcommit 50c01998c7800bc02fd6656cc14efa715bf63e08
9213bfa90b6SmrgAuthor: Robert Hooker <sarvatt@ubuntu.com>
9223bfa90b6SmrgDate:   Fri Jun 15 11:56:59 2012 -0400
9233bfa90b6Smrg
9243bfa90b6Smrg    vmware: Fix up some warnings after new compat API change.
9253bfa90b6Smrg    
9263bfa90b6Smrg    Fixes multiple instances of these warnings on x86_64:
9273bfa90b6Smrg    ../../src/vmware.h:180:5: warning: implicit declaration of function 'xf86ScreenToScrn' [-Wimplicit-function-declaration]
9283bfa90b6Smrg    ../../src/vmware.h:180:5: warning: nested extern declaration of 'xf86ScreenToScrn' [-Wnested-externs]
9293bfa90b6Smrg    ../../src/vmware.h:180:5: warning: return makes pointer from integer without a cast [enabled by default]
9303bfa90b6Smrg    Function `xf86ScreenToScrn' implicitly converted to pointer at ../../src/vmware.h:180
9313bfa90b6Smrg    
9323bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
9333bfa90b6Smrg    Signed-off-by: Robert Hooker <sarvatt@ubuntu.com>
9343bfa90b6Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
9353bfa90b6Smrg
9363bfa90b6Smrgcommit 61df95a86f4997e342d50d7779b00aba2e8849a6
9373bfa90b6SmrgAuthor: Dave Airlie <airlied@redhat.com>
9383bfa90b6SmrgDate:   Wed Jun 6 09:58:01 2012 +0100
9393bfa90b6Smrg
9403bfa90b6Smrg    vmware: port vmware driver to new compat API
9413bfa90b6Smrg    
9423bfa90b6Smrg    This is a port of the vmware driver to the new compat API.
9433bfa90b6Smrg    
9443bfa90b6Smrg    Tested-by: Jakob Bornecrantz <jakob@vmware.com>
9453bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
9463bfa90b6Smrg    Signed-off-by: Dave Airlie <airlied@redhat.com>
9473bfa90b6Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
9483bfa90b6Smrg
9493bfa90b6Smrgcommit 46cdf0ed0ad9df66f36f95e27b209d454f67d526
9503bfa90b6SmrgAuthor: Brian Paul <brianp@vmware.com>
9513bfa90b6SmrgDate:   Fri Apr 20 14:24:26 2012 -0600
9523bfa90b6Smrg
9533bfa90b6Smrg    vmwgfx: set the XA_FLAG_SHARED flag for composite dest surfaces
9543bfa90b6Smrg    
9553bfa90b6Smrg    This fixes a failed assertion in the gallium/svga driver in the
9563bfa90b6Smrg    svga_texture_get_handle() function.  The texture resource wasn't
9573bfa90b6Smrg    getting created with the PIPE_BIND_SHARED flag so the !cachable
9583bfa90b6Smrg    assertion would fail and the X session would abort.  This didn't
9593bfa90b6Smrg    happen with release builds.
9603bfa90b6Smrg    
9613bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
9623bfa90b6Smrg
9633bfa90b6Smrgcommit 4d76cfe5e8e5d594ec357b0ef3339f56eeca9c64
9643bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
9653bfa90b6SmrgDate:   Tue Mar 20 22:05:30 2012 +0100
9663bfa90b6Smrg
9673bfa90b6Smrg    Bump version number for the release
9683bfa90b6Smrg    
9693bfa90b6Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
9703bfa90b6Smrg
9713bfa90b6Smrgcommit c6f27561c7cf7c30f89493d64e3c5694b5f53469
9723bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
9733bfa90b6SmrgDate:   Mon Mar 19 14:53:34 2012 +0100
9743bfa90b6Smrg
9753bfa90b6Smrg    vmware/legacy: Fix crash on Xserver 1.12.0
9763bfa90b6Smrg    
9773bfa90b6Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
9783bfa90b6Smrg    Reviewed-by: Zack Rusin <zackr@vmware.com>
9793bfa90b6Smrg
9803bfa90b6Smrgcommit b70116b907aa8545f0275589a52275235083bb40
9813bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com>
9823bfa90b6SmrgDate:   Thu Mar 15 11:37:26 2012 -0400
9833bfa90b6Smrg
9843bfa90b6Smrg    Fix a memory corruption due to a redundant free.
9853bfa90b6Smrg    
9863bfa90b6Smrg    We use the empty rect purely as a placeholder and never
9873bfa90b6Smrg    initialize it with its own memory so lets not try to free
9883bfa90b6Smrg    it.
9893bfa90b6Smrg    Spotted by Dave Airlie.
9903bfa90b6Smrg    
9913bfa90b6Smrg    Signed-off-by: Zack Rusin <zackr@vmware.com>
9923bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
9933bfa90b6Smrg
9943bfa90b6Smrgcommit 57f1204292a116b35d5930752bc06f9065332879
9953bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
9963bfa90b6SmrgDate:   Tue Mar 13 21:41:11 2012 +0100
9973bfa90b6Smrg
9983bfa90b6Smrg    Bump version number for the release
9993bfa90b6Smrg    
10003bfa90b6Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
10013bfa90b6Smrg
10023bfa90b6Smrgcommit e585f9ea04bbd17398d2fa804be38a4e75bc60e4
10033bfa90b6SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
10043bfa90b6SmrgDate:   Tue Mar 13 09:44:46 2012 -0400
10053bfa90b6Smrg
10063bfa90b6Smrg    config: move AC_SYS_LARGEFILE in autoconf init section
10073bfa90b6Smrg    
10083bfa90b6Smrg    There is no need for this statement to be conditionally included.
10093bfa90b6Smrg    It adds support for large files without taking anything away.
10103bfa90b6Smrg    
10113bfa90b6Smrg    http://www.gnu.org/software/autoconf/manual/autoconf.html
10123bfa90b6Smrg    
10133bfa90b6Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
10143bfa90b6Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
10153bfa90b6Smrg
10163bfa90b6Smrgcommit 04169f3860e4a7d03485631bee40c05fc45b72c6
10173bfa90b6SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
10183bfa90b6SmrgDate:   Mon Mar 12 14:51:38 2012 -0400
10193bfa90b6Smrg
10203bfa90b6Smrg    config: include saa and vmwgfx subdirs in the tarball
10213bfa90b6Smrg    
10223bfa90b6Smrg    Use AM_CONDITIONAL. Automake knows what to distribute.
10233bfa90b6Smrg    It needs to be able to navigate down the subdirs to find what
10243bfa90b6Smrg    needs to be included in the tarball.
10253bfa90b6Smrg    
10263bfa90b6Smrg    To test reliably, create a tarball and expand it into a separate
10273bfa90b6Smrg    directory and build with xatracker. Distcheck will not detect
10283bfa90b6Smrg    missing code when such code is configured not to build.
10293bfa90b6Smrg    
10303bfa90b6Smrg    The content of a tarball *must* always be identical, regardless
10313bfa90b6Smrg    of the configuration options used or on which platform it was configured.
10323bfa90b6Smrg    
10333bfa90b6Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
10343bfa90b6Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
10353bfa90b6Smrg
10363bfa90b6Smrgcommit e6836ff099e5565dea58a53bba9b2df377241ef7
10373bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com>
10383bfa90b6SmrgDate:   Thu Mar 8 09:55:07 2012 -0500
10393bfa90b6Smrg
10403bfa90b6Smrg    Bump version number for the release
10413bfa90b6Smrg    
10423bfa90b6Smrg    Signed-off-by: Zack Rusin <zackr@vmware.com>
10433bfa90b6Smrg
10443bfa90b6Smrgcommit c5c38bab8c493985349356be5fadc14d3aee8040
10453bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
10463bfa90b6SmrgDate:   Wed Feb 8 15:00:20 2012 +0100
10473bfa90b6Smrg
10483bfa90b6Smrg    vmware/legacy: Fix initial mode size v2
10493bfa90b6Smrg    
10503bfa90b6Smrg    Commit "vmwlegacy: Make the default be a minium of 800x600..."
10513bfa90b6Smrg    read the dimensions from the incorrect register pair.
10523bfa90b6Smrg    
10533bfa90b6Smrg    v2: Also treat initial widths and heights larger than the maximum
10543bfa90b6Smrg    values as an error and revert back to the minimum.
10553bfa90b6Smrg    
10563bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
10573bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
10583bfa90b6Smrg
10593bfa90b6Smrgcommit 49b4cbc5100ce9a4cc40132c2839f9401a58b92e
10603bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
10613bfa90b6SmrgDate:   Mon Feb 6 19:48:57 2012 +0100
10623bfa90b6Smrg
10633bfa90b6Smrg    saa: Try to avoid readbacks during polyFillRect
10643bfa90b6Smrg    
10653bfa90b6Smrg    This significantly improves performance of shaped windows on top of 3D
10663bfa90b6Smrg    contents
10673bfa90b6Smrg    
10683bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
10693bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
10703bfa90b6Smrg    Reviewed-by: Zack Rusin <zackr@vmware.com>
10713bfa90b6Smrg
10723bfa90b6Smrgcommit ecf6c5b1081e70ec64132a8188c8cc15945c2290
10733bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
10743bfa90b6SmrgDate:   Thu Feb 2 10:24:26 2012 +0100
10753bfa90b6Smrg
10763bfa90b6Smrg    vmware: Kill warnings on Xserver 1.12
10773bfa90b6Smrg    
10783bfa90b6Smrg    Compile-tested on servers 1.0 through 1.12.
10793bfa90b6Smrg    
10803bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
10813bfa90b6Smrg
10823bfa90b6Smrgcommit 3e18d43c7f8ab5dcb94ac285a687eaaa1a578250
10833bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
10843bfa90b6SmrgDate:   Wed Feb 1 17:30:52 2012 +0100
10853bfa90b6Smrg
10863bfa90b6Smrg    vmwgfx: Kill a deprecation warning on server 1.12
10873bfa90b6Smrg    
10883bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
10893bfa90b6Smrg
10903bfa90b6Smrgcommit bfb286bea967c26426aebda2a581f35da0d86884
10913bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
10923bfa90b6SmrgDate:   Wed Feb 1 17:25:19 2012 +0100
10933bfa90b6Smrg
10943bfa90b6Smrg    vmwgfx: Fix up swap[sl] for server 1.12
10953bfa90b6Smrg    
10963bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
10973bfa90b6Smrg
10983bfa90b6Smrgcommit 8ff19c2b2f288d6851b444dbda39544980837b73
10993bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
11003bfa90b6SmrgDate:   Wed Feb 1 16:59:13 2012 +0100
11013bfa90b6Smrg
11023bfa90b6Smrg    vmwgfx: Avoid including a library header and use pixman for type conversion
11033bfa90b6Smrg    
11043bfa90b6Smrg    The PictTransform type is a typedef of a pixman type.
11053bfa90b6Smrg    
11063bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
11073bfa90b6Smrg
11083bfa90b6Smrgcommit 193b5118199028ea0180785bb3f4c8a16359b8b0
11093bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
11103bfa90b6SmrgDate:   Fri Jan 13 17:01:02 2012 +0100
11113bfa90b6Smrg
11123bfa90b6Smrg    Bump version number for release
11133bfa90b6Smrg    
11143bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
11153bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
11163bfa90b6Smrg
11173bfa90b6Smrgcommit c5af120177949c82cbd0611da565fef9c2c829cb
11183bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
11193bfa90b6SmrgDate:   Fri Jan 13 17:14:47 2012 +0100
11203bfa90b6Smrg
11213bfa90b6Smrg    Make the driver build pass "make distcheck"
11223bfa90b6Smrg    
11233bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
11243bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
11253bfa90b6Smrg
11263bfa90b6Smrgcommit e6d03aceb1195de0b490f39024f34a33b1a8f6fc
11273bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
11283bfa90b6SmrgDate:   Thu Jan 12 14:00:41 2012 +0100
11293bfa90b6Smrg
11303bfa90b6Smrg    vmwgfx: Adapt to new XA version number v2
11313bfa90b6Smrg    
11323bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
11333bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
11343bfa90b6Smrg
11353bfa90b6Smrgcommit 59435d2d3af8a9f64ee40eac4f0479470ba6badf
11363bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
11373bfa90b6SmrgDate:   Thu Jan 12 17:57:37 2012 +0100
11383bfa90b6Smrg
11393bfa90b6Smrg    vmwgfx,saa: Fix a bunch of compilation warnings
11403bfa90b6Smrg    
11413bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
11423bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
11433bfa90b6Smrg
11443bfa90b6Smrgcommit 0628ad20f31a239f99fcbbfe42197c56a5ae8864
11453bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
11463bfa90b6SmrgDate:   Fri Dec 9 07:34:58 2011 +0100
11473bfa90b6Smrg
11483bfa90b6Smrg    vmwlegacy: Make the default be a minimum of 800x600
11493bfa90b6Smrg    
11503bfa90b6Smrg    This patch and the corresponding vmwgfx patch formalizes both drivers
11513bfa90b6Smrg    on the same behviour. The minimum is 800x600 (unless the max size is
11523bfa90b6Smrg    smaller). This makes it unnecessary to check against VRAM size since
11533bfa90b6Smrg    it is always at least large enough to fit the max values.
11543bfa90b6Smrg    
11553bfa90b6Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
11563bfa90b6Smrg
11573bfa90b6Smrgcommit 8ddbb3216d29b2ecd336d50461216feef0900fd9
11583bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
11593bfa90b6SmrgDate:   Thu Jan 12 10:00:41 2012 +0100
11603bfa90b6Smrg
11613bfa90b6Smrg    vmware: Make sure the driver builds on old servers
11623bfa90b6Smrg    
11633bfa90b6Smrg    Move things around a bit so the driver compiles with
11643bfa90b6Smrg    servers back to Xserver 1.0.
11653bfa90b6Smrg    
11663bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
11673bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
11683bfa90b6Smrg
11693bfa90b6Smrgcommit 194ff6f1517d0a8250e64c3d768a9b7ae9ed3140
11703bfa90b6SmrgAuthor: Thomas Hellström <thellstrom@vmware.com>
11713bfa90b6SmrgDate:   Wed Jan 11 14:49:56 2012 +0100
11723bfa90b6Smrg
11733bfa90b6Smrg    vmware: Update Manpage
11743bfa90b6Smrg    
11753bfa90b6Smrg    Update the Manpage with new options and a brief modesetting- and 3D
11763bfa90b6Smrg    description.
11773bfa90b6Smrg    
11783bfa90b6Smrg    Signed-off-by: Thomas Hellström <thellstrom@vmware.com>
11793bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
11803bfa90b6Smrg
11813bfa90b6Smrgcommit b5546fb1de3f3859151a91e98ab0bd24b6789e2e
11823bfa90b6SmrgMerge: abf9cb7 5748c33
11833bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
11843bfa90b6SmrgDate:   Mon Dec 19 20:25:43 2011 +0100
11853bfa90b6Smrg
11863bfa90b6Smrg    Merge branch 'vmwgfx_branch'
11873bfa90b6Smrg
11883bfa90b6Smrgcommit 5748c33535bc7d3009b9758653885e6ae0e73002
11893bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
11903bfa90b6SmrgDate:   Wed Dec 14 12:38:27 2011 +0100
11913bfa90b6Smrg
11923bfa90b6Smrg    saa, vmwgfx: Fix saa_copy_composite
11933bfa90b6Smrg    
11943bfa90b6Smrg    The traditional accelerated copy methods aren't format aware.
11953bfa90b6Smrg    Make saa copy format aware,and pass formats on to the driver copy function
11963bfa90b6Smrg    if available. If the driver can't handle format conversions it needs to
11973bfa90b6Smrg    return FALSE.
11983bfa90b6Smrg    
11993bfa90b6Smrg    This fixes format confusion in the copy composite fastpath.
12003bfa90b6Smrg    
12013bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
12023bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
12033bfa90b6Smrg
12043bfa90b6Smrgcommit f664e31d73bd31594e069d8bcca872687b84d8d9
12053bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
12063bfa90b6SmrgDate:   Wed Dec 14 10:22:22 2011 +0100
12073bfa90b6Smrg
12083bfa90b6Smrg    saa: Always read back hw contents on poly_fill_rect
12093bfa90b6Smrg    
12103bfa90b6Smrg    The damage region may be much larger than the actual area
12113bfa90b6Smrg    filled, so make sure we read back any hw contents in the damage region
12123bfa90b6Smrg    since we use it to mark sw dirty.
12133bfa90b6Smrg    Revisit this in the future since it may increase readbacks in an
12143bfa90b6Smrg    undesired way. There are workarounds.
12153bfa90b6Smrg    
12163bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
12173bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
12183bfa90b6Smrg
12193bfa90b6Smrgcommit 0eef22437093d29f572abea845fff9c03fca5e4e
12203bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
12213bfa90b6SmrgDate:   Wed Dec 14 10:18:16 2011 +0100
12223bfa90b6Smrg
12233bfa90b6Smrg    saa: Only try to accelerate pixmaps that are driver pixmaps
12243bfa90b6Smrg    
12253bfa90b6Smrg    Trying to accelerate scratch pixmaps doesn't work currently,
12263bfa90b6Smrg    and I'm not sure it's a big benefit either.
12273bfa90b6Smrg    
12283bfa90b6Smrg    This is in line with what EXA does.
12293bfa90b6Smrg    
12303bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
12313bfa90b6Smrg    Reviewed-by: Jakob Bornecrants <jakob@vmware.com>
12323bfa90b6Smrg
12333bfa90b6Smrgcommit afd2f828b8a8b2ccc6ebe4d56104db3d03d08493
12343bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
12353bfa90b6SmrgDate:   Thu Dec 8 13:14:57 2011 +0100
12363bfa90b6Smrg
12373bfa90b6Smrg    vmwgfx: Reduce system resource usage with textured video
12383bfa90b6Smrg    
12393bfa90b6Smrg    Use U and V textures and corresponding dma buffers that match
12403bfa90b6Smrg    the size of the input UV data rather than using textures and DMA buffers
12413bfa90b6Smrg    that match the Y data. This simplifies data copy and reduces the amount of
12423bfa90b6Smrg    image data transfered to the host by up to 50% (YV12).
12433bfa90b6Smrg    
12443bfa90b6Smrg    It also reduces dma buffer- and surface memory usage correspondingly.
12453bfa90b6Smrg    
12463bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
12473bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
12483bfa90b6Smrg
12493bfa90b6Smrgcommit 121dba0093d24eb0aefa3d27a22f05f85ac66f72
12503bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
12513bfa90b6SmrgDate:   Wed Dec 7 20:19:34 2011 +0100
12523bfa90b6Smrg
12533bfa90b6Smrg    vmwgfx: Hook up XV color conversion control attributes
12543bfa90b6Smrg    
12553bfa90b6Smrg    This enables the standard XV color conversion control attributes
12563bfa90b6Smrg    contrast, scaling, saturation and hue.
12573bfa90b6Smrg    
12583bfa90b6Smrg    Currently the attribute change takes effect on the next image only.
12593bfa90b6Smrg    If we ever implement a ReputImage callback, we can use it to update
12603bfa90b6Smrg    the image immediately on attribute change.
12613bfa90b6Smrg    
12623bfa90b6Smrg    The attribute ranges follow those used by the proprietary Nvidia driver.
12633bfa90b6Smrg    
12643bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
12653bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
12663bfa90b6Smrg
12673bfa90b6Smrgcommit 8bdc6004d34e274d815bb3f3e0aa223085ea848c
12683bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
12693bfa90b6SmrgDate:   Wed Dec 7 14:17:45 2011 +0100
12703bfa90b6Smrg
12713bfa90b6Smrg    vmwgfx: Adapt to new interface of xa_yuv_planar_blit
12723bfa90b6Smrg    
12733bfa90b6Smrg    Also make it easier to modify the color conversion matrix based on
12743bfa90b6Smrg    yuv encoding properties.
12753bfa90b6Smrg    
12763bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
12773bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
12783bfa90b6Smrg
12793bfa90b6Smrgcommit dba7b865d36ebe06b54987176b1a83cdbc2f846a
12803bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
12813bfa90b6SmrgDate:   Tue Dec 6 10:00:00 2011 +0100
12823bfa90b6Smrg
12833bfa90b6Smrg    vmwgfx: Fix MessageType members that are incorrectly typed as Bool
12843bfa90b6Smrg    
12853bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
12863bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
12873bfa90b6Smrg
12883bfa90b6Smrgcommit 2c438ad8b82f47ac3252403052df16655184acbd
12893bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
12903bfa90b6SmrgDate:   Tue Dec 6 09:53:16 2011 +0100
12913bfa90b6Smrg
12923bfa90b6Smrg    vmwgfx: Add an option to enable rendercheck mode
12933bfa90b6Smrg    
12943bfa90b6Smrg    Rendercheck mode is used to enable acceleration of all supported composite
12953bfa90b6Smrg    operations, regardless of the current data location. The mode is off by
12963bfa90b6Smrg    default, but could be turned on to test the hardware composite operation
12973bfa90b6Smrg    implementation. Due to excessive data migration, rendercheck mode will be
12983bfa90b6Smrg    slow.
12993bfa90b6Smrg    
13003bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13013bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
13023bfa90b6Smrg
13033bfa90b6Smrgcommit 1736a76246f0a0dab01f5a1066332168d34b2803
13043bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
13053bfa90b6SmrgDate:   Tue Dec 6 09:21:25 2011 +0100
13063bfa90b6Smrg
13073bfa90b6Smrg    vmwgfx: Adapt to the dri state tracker sending depth instead of bpp
13083bfa90b6Smrg    
13093bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13103bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
13113bfa90b6Smrg
13123bfa90b6Smrgcommit fb35176958bba2f86d6d466ccb7baadcff806512
13133bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
13143bfa90b6SmrgDate:   Mon Dec 5 20:58:45 2011 +0100
13153bfa90b6Smrg
13163bfa90b6Smrg    vmwgfx: Don't register back buffers as "hw_is_dri2_fronts" v2
13173bfa90b6Smrg    
13183bfa90b6Smrg    That is reserved for dri2 front or fake front pixmaps that need
13193bfa90b6Smrg    immediate flushing of software contents to hardware.
13203bfa90b6Smrg    
13213bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13223bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
13233bfa90b6Smrg
13243bfa90b6Smrgcommit 3c2486e05e98f2ff8f4e3d2633d91e14140a676e
13253bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
13263bfa90b6SmrgDate:   Thu Dec 1 16:47:41 2011 +0100
13273bfa90b6Smrg
13283bfa90b6Smrg    vmwgfx: Include drm.h from correct path
13293bfa90b6Smrg    
13303bfa90b6Smrg    Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
13313bfa90b6Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
13323bfa90b6Smrg
13333bfa90b6Smrgcommit 995d86ceb0ae8cf2904100405ba6710c89f7f1b7
13343bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
13353bfa90b6SmrgDate:   Mon Nov 28 14:51:36 2011 +0100
13363bfa90b6Smrg
13373bfa90b6Smrg    vmwgfx: Make the drm device name persistent
13383bfa90b6Smrg    
13393bfa90b6Smrg    The DRI2 code doesn't copy the device name, but assumes the storage
13403bfa90b6Smrg    is persistent.
13413bfa90b6Smrg    
13423bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13433bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
13443bfa90b6Smrg    Reviewed-by: Alan Hourihane <alanh@vmware.com>
13453bfa90b6Smrg
13463bfa90b6Smrgcommit 08ca819238f2c2a0494b0bd8452393fc62907cc1
13473bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
13483bfa90b6SmrgDate:   Fri Nov 25 14:38:45 2011 +0100
13493bfa90b6Smrg
13503bfa90b6Smrg    vmwgfx: Get the drm device name from the open file descriptor
13513bfa90b6Smrg    
13523bfa90b6Smrg    Rather than hardcoding it.
13533bfa90b6Smrg    
13543bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13553bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
13563bfa90b6Smrg
13573bfa90b6Smrgcommit d7576c2c50dd0f3b7f70f97d9bde4e8b859e89e5
13583bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
13593bfa90b6SmrgDate:   Fri Nov 25 11:27:26 2011 +0100
13603bfa90b6Smrg
13613bfa90b6Smrg    vmwgfx: Use config options to optionally set GUI topology
13623bfa90b6Smrg    
13633bfa90b6Smrg    Use option "StaticXinerama" or "GuiLayout" to set initial GUI topology,
13643bfa90b6Smrg    similar to how these options are used with the legacy driver.
13653bfa90b6Smrg    
13663bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13673bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
13683bfa90b6Smrg
13693bfa90b6Smrgcommit 22d3e58b8810a73c4818d4d3943776a387147b83
13703bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
13713bfa90b6SmrgDate:   Wed Nov 23 11:02:00 2011 +0100
13723bfa90b6Smrg
13733bfa90b6Smrg    vmwlegacy: Factor out code that can be common for vmwgfx and vmwlegacy
13743bfa90b6Smrg    
13753bfa90b6Smrg    In this case it's the parsing of the gui / statix xinerama topology.
13763bfa90b6Smrg    
13773bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13783bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
13793bfa90b6Smrg
13803bfa90b6Smrgcommit 2e8aac7031a83f507169f6fe42924c51bdaf7326
13813bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
13823bfa90b6SmrgDate:   Wed Nov 23 10:49:33 2011 +0100
13833bfa90b6Smrg
13843bfa90b6Smrg    vmwlegacy: Accept option "GuiLayout" as a synonym for "staticXinerama"
13853bfa90b6Smrg    
13863bfa90b6Smrg    It's more user-friendly and in line with what it's being used for in the
13873bfa90b6Smrg    vmwgfx driver.
13883bfa90b6Smrg    
13893bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13903bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
13913bfa90b6Smrg
13923bfa90b6Smrgcommit 31e80b2a609631d85341025d7f2d0fb818f386f5
13933bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
13943bfa90b6SmrgDate:   Fri Nov 25 09:42:16 2011 +0100
13953bfa90b6Smrg
13963bfa90b6Smrg    vmware: Update library dependencies
13973bfa90b6Smrg    
13983bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13993bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
14003bfa90b6Smrg
14013bfa90b6Smrgcommit da29c648051208b98704860f851564a80bd3b123
14023bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
14033bfa90b6SmrgDate:   Tue Nov 22 21:06:24 2011 +0100
14043bfa90b6Smrg
14053bfa90b6Smrg    vmwgfx: Pre-init fixes
14063bfa90b6Smrg    
14073bfa90b6Smrg    A bunch of fixes that makes the fallback from vmwgfx to vmwlegacy easier.
14083bfa90b6Smrg    
14093bfa90b6Smrg    1) Allow only 16 and 24 bit depths with vmwgfx. We may revisit this later.
14103bfa90b6Smrg    2) Try to reclaim some resources if pre_init fails.
14113bfa90b6Smrg    3) Print error messages so the user understands what happens on fallback.
14123bfa90b6Smrg    
14133bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
14143bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
14153bfa90b6Smrg
14163bfa90b6Smrgcommit e52b1505cfc4a7d0507e14c3b6335a9b9652c50f
14173bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
14183bfa90b6SmrgDate:   Fri Nov 25 09:15:32 2011 +0100
14193bfa90b6Smrg
14203bfa90b6Smrg    vmware: Update the vmware register definition
14213bfa90b6Smrg    
14223bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
14233bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
14243bfa90b6Smrg
14253bfa90b6Smrgcommit 1c77e3d7434f04c59233ce7e497a949e386e1630
14263bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
14273bfa90b6SmrgDate:   Tue Nov 22 19:56:20 2011 +0100
14283bfa90b6Smrg
14293bfa90b6Smrg    vmware: Hook up vmwgfx to be tried before falling back to legacy
14303bfa90b6Smrg    
14313bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
14323bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
14333bfa90b6Smrg
14343bfa90b6Smrgcommit 2aa256c96496ed6dd9dbd5880c278f4422500b0f
14353bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
14363bfa90b6SmrgDate:   Tue Nov 22 18:37:44 2011 +0100
14373bfa90b6Smrg
14383bfa90b6Smrg    vmwlegacy: Factor out bootstrap functions
14393bfa90b6Smrg    
14403bfa90b6Smrg    Preparing for choosing driver path in preinit instead of using
14413bfa90b6Smrg    shim loader.
14423bfa90b6Smrg    
14433bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
14443bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
14453bfa90b6Smrg
14463bfa90b6Smrgcommit abf9cb75630cb27bb4741d194cb23014fe3d09b1
14473bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
14483bfa90b6SmrgDate:   Thu Nov 17 16:38:22 2011 +0100
14493bfa90b6Smrg
14503bfa90b6Smrg    vmwlegacy: Fix up Xinerama / panoramiX replies.
14513bfa90b6Smrg    
14523bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
14533bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
14543bfa90b6Smrg
14553bfa90b6Smrgcommit be23efbc91f47a6a34fbe24f167ee29fdf58f541
14563bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
14573bfa90b6SmrgDate:   Wed Nov 16 10:23:10 2011 +0100
14583bfa90b6Smrg
14593bfa90b6Smrg    vmwlegacy: Fix device fifo communication
14603bfa90b6Smrg    
14613bfa90b6Smrg    This fixes two issues with the device fifo communication:
14623bfa90b6Smrg    1) Idle the fifo before initializing it. If the fifo is already up and
14633bfa90b6Smrg    processing data due to an uncleanly shut down server, and init could
14643bfa90b6Smrg    otherwise confuse the device.
14653bfa90b6Smrg    
14663bfa90b6Smrg    2) Mark fifo memory volatile when writing to it and make sure commands
14673bfa90b6Smrg    are written before telling the device they are available.
14683bfa90b6Smrg    
14693bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
14703bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
14713bfa90b6Smrg
14723bfa90b6Smrgcommit 70487eee975c63b5ed1492927bbc661425278276
14733bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
14743bfa90b6SmrgDate:   Wed Nov 9 11:34:16 2011 +0100
14753bfa90b6Smrg
14763bfa90b6Smrg    vmwgfx: Make sure we don't render when VT switched
14773bfa90b6Smrg    
14783bfa90b6Smrg    When compiz is enabled, we may try to DMA sw rendered contents of dri2
14793bfa90b6Smrg    drawables to surfaces while VT switched. I'm not sure how this could be
14803bfa90b6Smrg    happening, but queue the DMA until the next block handler.
14813bfa90b6Smrg    
14823bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
14833bfa90b6Smrg    Reviewed-by: Alan Hourihane <alanh@vmware.com>
14843bfa90b6Smrg
14853bfa90b6Smrgcommit e1810e0b09e07bdab05a57fdef74450a507e9dfa
14863bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
14873bfa90b6SmrgDate:   Tue Nov 8 15:28:40 2011 +0100
14883bfa90b6Smrg
14893bfa90b6Smrg    vmwgfx: Fix rendering errors when rotating / unrotating a screen.
14903bfa90b6Smrg    
14913bfa90b6Smrg    The dirty trackers weren't correctly translated to
14923bfa90b6Smrg    pending presents / updates when a pixmap was bound as a scanout.
14933bfa90b6Smrg    
14943bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
14953bfa90b6Smrg    Reviewed-by: Jakob Bornecrants <jakob@vmware.com>
14963bfa90b6Smrg
14973bfa90b6Smrgcommit d0b493d67afd1b5e8c8397c7938752ecd56c91ba
14983bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
14993bfa90b6SmrgDate:   Tue Nov 8 14:49:36 2011 +0100
15003bfa90b6Smrg
15013bfa90b6Smrg    vmwgfx: A number of damage fixes
15023bfa90b6Smrg    
15033bfa90b6Smrg    A damage tracker was sometimes attached to a pixmap in the middle of an
15043bfa90b6Smrg    operation. That meant that damage was never registered for that operation
15053bfa90b6Smrg    which caused dirty-tracking to fail. Instead, add a damage tracker as
15063bfa90b6Smrg    soon as we have storage attached to the pixmap.
15073bfa90b6Smrg    
15083bfa90b6Smrg    Also, when a pixmap was resized, the dirty region trackers could become
15093bfa90b6Smrg    stale, and cause DMA operation extending outside of the pixmap with
15103bfa90b6Smrg    server crashes as a result. This commit fixes that.
15113bfa90b6Smrg    
15123bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
15133bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
15143bfa90b6Smrg
15153bfa90b6Smrgcommit aff799d007c8383321213ad177e5a9deec2b3978
15163bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
15173bfa90b6SmrgDate:   Tue Nov 1 15:39:07 2011 +0100
15183bfa90b6Smrg
15193bfa90b6Smrg    vmwgfx: Add an option to use a scanout surface
15203bfa90b6Smrg    
15213bfa90b6Smrg    With this option enabled, we compose all contents (both sw and hw) in
15223bfa90b6Smrg    the guest before presenting it. Just like the old xorg state tracker did
15233bfa90b6Smrg    when 3D was enabled. It's not as bad as the old xorg state tracker was for
15243bfa90b6Smrg    interactivity, but there's a small but noticeable lag when moving windows.
15253bfa90b6Smrg    
15263bfa90b6Smrg    It's mainly intended for testing purposes, like testing the surface
15273bfa90b6Smrg    dirty paths in the kernel module.
15283bfa90b6Smrg    
15293bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
15303bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
15313bfa90b6Smrg
15323bfa90b6Smrgcommit 5137e8736edfab1aaebef4046baab37361584b2e
15333bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
15343bfa90b6SmrgDate:   Tue Nov 1 09:59:18 2011 +0100
15353bfa90b6Smrg
15363bfa90b6Smrg    vmwgfx: Be correct when setting up damage tracking
15373bfa90b6Smrg    
15383bfa90b6Smrg    When setting up damage tracking, previously the code would guess wether
15393bfa90b6Smrg    sw or hw was currently dirty. The caller always have that information,
15403bfa90b6Smrg    so pass it to the damage tracking setup function.
15413bfa90b6Smrg    
15423bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
15433bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
15443bfa90b6Smrg
15453bfa90b6Smrgcommit ed7bba3cda4b454eec771d3bf0ebed4fd998a82a
15463bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
15473bfa90b6SmrgDate:   Tue Nov 1 08:38:52 2011 +0100
15483bfa90b6Smrg
15493bfa90b6Smrg    vmwgfx: Add an option for direct presents
15503bfa90b6Smrg    
15513bfa90b6Smrg    With this option set to true, accelerated copies to a scanout pixmap will
15523bfa90b6Smrg    be performed as hardware presents instead of copies to an intermediate
15533bfa90b6Smrg    3D surface backing the scanout pixmap, followed by a present.
15543bfa90b6Smrg    
15553bfa90b6Smrg    Depending on the application this might be a performance boost, but since
15563bfa90b6Smrg    it might trigger device software readbacks in other situations, for example
15573bfa90b6Smrg    dri2 copy front->fake_front, it might be a performance hog in other situations,
15583bfa90b6Smrg    so disable it by default. (Before this commit it was enabled by default).
15593bfa90b6Smrg    
15603bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
15613bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
15623bfa90b6Smrg
15633bfa90b6Smrgcommit b2c4a7e682e14fa8af42415d429d6735117fefcb
15643bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
15653bfa90b6SmrgDate:   Mon Oct 31 15:14:21 2011 +0100
15663bfa90b6Smrg
15673bfa90b6Smrg    vmwgfx: Fix acceleration options.
15683bfa90b6Smrg    
15693bfa90b6Smrg    Introduce relevant acceleration options and fix up the log printout.
15703bfa90b6Smrg    
15713bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
15723bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
15733bfa90b6Smrg    Reviewed-by: Alan Hourihane <alanh@vmware.com>
15743bfa90b6Smrg
15753bfa90b6Smrgcommit da85719e9e373ee8da53388cccc71a0f9c8bbefc
15763bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
15773bfa90b6SmrgDate:   Mon Oct 31 14:40:55 2011 +0100
15783bfa90b6Smrg
15793bfa90b6Smrg    vmwgfx: Remove a couple of unused options
15803bfa90b6Smrg    
15813bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
15823bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
15833bfa90b6Smrg    Reviewed-by: Alan Hourihane <alanh@vmware.com>
15843bfa90b6Smrg
15853bfa90b6Smrgcommit b6faecc7613e8c73f0681d20a1a80e5e0ddd4058
15863bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
15873bfa90b6SmrgDate:   Mon Oct 31 14:27:29 2011 +0100
15883bfa90b6Smrg
15893bfa90b6Smrg    vmwgfx: Don't do present readbacks per crtc
15903bfa90b6Smrg    
15913bfa90b6Smrg    The kernel now takes care of doing this the right way;
15923bfa90b6Smrg    no need to duplicate that functionality.
15933bfa90b6Smrg    
15943bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
15953bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
15963bfa90b6Smrg
15973bfa90b6Smrgcommit cc7c1c961b77c139b95fbb6948204def1b4b908a
15983bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
15993bfa90b6SmrgDate:   Mon Oct 31 10:50:09 2011 +0100
16003bfa90b6Smrg
16013bfa90b6Smrg    vmwgfx: Fall back to sw cursors if needed
16023bfa90b6Smrg    
16033bfa90b6Smrg    If there is a risc that we need two simultaneous cursors,
16043bfa90b6Smrg    (two outputs showing the same contents, at least one of them explicit),
16053bfa90b6Smrg    fall back to sw cursor.
16063bfa90b6Smrg    
16073bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
16083bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
16093bfa90b6Smrg
16103bfa90b6Smrgcommit 427064b57c52c8881c7a64d9c9e21411e79e644b
16113bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
16123bfa90b6SmrgDate:   Wed Oct 26 16:33:30 2011 +0200
16133bfa90b6Smrg
16143bfa90b6Smrg    vmwgfx: Fix crtc position of transformed fb
16153bfa90b6Smrg    
16163bfa90b6Smrg    The fb allocated for transformed data always matches the scanout region,
16173bfa90b6Smrg    so set the crtc origin to (0,0)
16183bfa90b6Smrg    
16193bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
16203bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
16213bfa90b6Smrg
16223bfa90b6Smrgcommit 55113dae7cbe99bfb69869831536ff34ed445c73
16233bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
16243bfa90b6SmrgDate:   Wed Oct 26 15:08:18 2011 +0200
16253bfa90b6Smrg
16263bfa90b6Smrg    vmwgfx: Hook up vmwarectrl to the gui layout ioctl
16273bfa90b6Smrg    
16283bfa90b6Smrg    Requires drm 2.3.
16293bfa90b6Smrg    
16303bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
16313bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
16323bfa90b6Smrg
16333bfa90b6Smrgcommit c73a7f3d991dd95d332829f2ca8a88aabfea5a46
16343bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
16353bfa90b6SmrgDate:   Wed Oct 26 07:28:31 2011 +0200
16363bfa90b6Smrg
16373bfa90b6Smrg    vmwgfx: Update the connector type name array
16383bfa90b6Smrg    
16393bfa90b6Smrg    Also map connector types that are not in the array to "Unknown".
16403bfa90b6Smrg    
16413bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
16423bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
16433bfa90b6Smrg
16443bfa90b6Smrgcommit a33710b0d16c9c01a1995b60f0b0d4d482f459d3
16453bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
16463bfa90b6SmrgDate:   Fri Oct 21 11:19:36 2011 +0200
16473bfa90b6Smrg
16483bfa90b6Smrg    vmwgfx: Save the dri2 requested depth since it may differ from the drawable
16493bfa90b6Smrg    depth.
16503bfa90b6Smrg    
16513bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
16523bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
16533bfa90b6Smrg
16543bfa90b6Smrgcommit 4c08c2600936efeedb1a33436876ba82a11218e7
16553bfa90b6SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
16563bfa90b6SmrgDate:   Fri Oct 7 13:15:11 2011 -0700
16573bfa90b6Smrg
16583bfa90b6Smrg    Build fix for ABI version 12
16593bfa90b6Smrg    
16603bfa90b6Smrg    This results in the vmware driver assuming there is only one PCI domain,
16613bfa90b6Smrg    which I think is true for everywhere this is expected to run anyway.
16623bfa90b6Smrg    
16633bfa90b6Smrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
16643bfa90b6Smrg
16653bfa90b6Smrgcommit 208ccbc7179b40a570a5943e325dd22740a67577
16663bfa90b6SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
16673bfa90b6SmrgDate:   Fri Oct 7 13:10:59 2011 -0700
16683bfa90b6Smrg
16693bfa90b6Smrg    Fix build failures resulting from changes to the swaps and swapl macros in recent xorg-server
16703bfa90b6Smrg    
16713bfa90b6Smrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
16723bfa90b6Smrg
16733bfa90b6Smrgcommit de70a1d0cb79dad9e52baa43306264db80a163da
16743bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
16753bfa90b6SmrgDate:   Wed Oct 5 13:33:17 2011 +0200
16763bfa90b6Smrg
16773bfa90b6Smrg    xf86-video-vmware 11.0.99.901
16783bfa90b6Smrg    
16793bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
16803bfa90b6Smrg
16813bfa90b6Smrgcommit 26845eb54a15d43f09288a87c5f74beac8fb6ec7
16823bfa90b6SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
16833bfa90b6SmrgDate:   Tue Sep 27 19:31:22 2011 -0700
16843bfa90b6Smrg
16853bfa90b6Smrg    Use dixLookupWindow instead of LookupWindow on Xorg 1.5 & later
16863bfa90b6Smrg    
16873bfa90b6Smrg    The LookupWindow function was deprecated in xserver commit ed75b056511ccb4
16883bfa90b6Smrg    and removed during the Xorg 1.11 merge window by commit 82a8677d9175732.
16893bfa90b6Smrg    
16903bfa90b6Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
16913bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
16923bfa90b6Smrg
16933bfa90b6Smrgcommit 5c43481aa639053bbbf7fbf5f72f0edecf616731
16943bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
16953bfa90b6SmrgDate:   Thu Sep 1 13:59:10 2011 +0200
16963bfa90b6Smrg
16973bfa90b6Smrg    vmwgfx: Adapt to vmwgfx kernel driver 2.1
16983bfa90b6Smrg    
16993bfa90b6Smrg    This introduces fence objects with 2.0, and present / present readback
17003bfa90b6Smrg    ioctls with 2.1.
17013bfa90b6Smrg    
17023bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
17033bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
17043bfa90b6Smrg
17053bfa90b6Smrgcommit b5438423ad29338429321cd29118a66b715cdcac
17063bfa90b6SmrgAuthor: Matt Turner <mattst88@gmail.com>
17073bfa90b6SmrgDate:   Sun Sep 25 14:06:47 2011 -0400
17083bfa90b6Smrg
17093bfa90b6Smrg    Fix wrong-sized swaps
17103bfa90b6Smrg    
17113bfa90b6Smrg    Signed-off-by: Matt Turner <mattst88@gmail.com>
17123bfa90b6Smrg
17133bfa90b6Smrgcommit 3c2f9cc43f7d36952e78d10d224da0ba68ecefea
17143bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
17153bfa90b6SmrgDate:   Tue Aug 30 12:22:53 2011 +0200
17163bfa90b6Smrg
17173bfa90b6Smrg    vmwgfx-xorg: Avoid enabling unwanted outputs in initial configuration
17183bfa90b6Smrg    
17193bfa90b6Smrg    Add a hack so that we avoid enabling all connected outputs during the
17203bfa90b6Smrg    initial configuration. On older X servers they would be enabled as cloned,
17213bfa90b6Smrg    which didn't really cause any problem, but on later X servers they would
17223bfa90b6Smrg    initially be enabled next to eachother which looks odd.
17233bfa90b6Smrg    
17243bfa90b6Smrg    A RandR call will still show the disabled outputs as connected, and if there
17253bfa90b6Smrg    is a monitor section in the config file for the output in question,
17263bfa90b6Smrg    it will also have a connected status, so that it may be explicitly enabled
17273bfa90b6Smrg    or disabled from a config file.
17283bfa90b6Smrg    
17293bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
17303bfa90b6Smrg    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
17313bfa90b6Smrg
17323bfa90b6Smrgcommit f17abaa926fdbedab1e6236e109fa746fcc2320b
17333bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
17343bfa90b6SmrgDate:   Wed Jul 13 16:30:01 2011 +0100
17353bfa90b6Smrg
17363bfa90b6Smrg    vmwgfx: Just include vmwgfx_drm.h
17373bfa90b6Smrg    
17383bfa90b6Smrg    We do this in mesa as well
17393bfa90b6Smrg    
17403bfa90b6Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
17413bfa90b6Smrg
17423bfa90b6Smrgcommit b29d71e3adb16f2a8e3e9d534bf8b1c1f8e0d9ef
17433bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
17443bfa90b6SmrgDate:   Wed Jul 13 16:28:52 2011 +0100
17453bfa90b6Smrg
17463bfa90b6Smrg    saa: Remove superflouos headers includes
17473bfa90b6Smrg    
17483bfa90b6Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
17493bfa90b6Smrg
17503bfa90b6Smrgcommit 98ff64fd7a13d2824d6f36b0d8f13d95f8be9e48
17513bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
17523bfa90b6SmrgDate:   Mon Jul 11 12:23:32 2011 +0100
17533bfa90b6Smrg
17543bfa90b6Smrg    vmwgfx: Fix logic when checking for XA
17553bfa90b6Smrg    
17563bfa90b6Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
17573bfa90b6Smrg
17583bfa90b6Smrgcommit 858dbcdddb35b690a543a103d43dcaeb040260c1
17593bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
17603bfa90b6SmrgDate:   Sat Jul 9 22:54:41 2011 +0200
17613bfa90b6Smrg
17623bfa90b6Smrg    vmwgfx: Don't dirty the front buffer as hw when doing a dri2copyregion from it
17633bfa90b6Smrg    
17643bfa90b6Smrg    When copying from a dri2 buffer we usually dirty it as hw, since dri has
17653bfa90b6Smrg    been rendering to it, and there can only be hw contents in the buffer.
17663bfa90b6Smrg    
17673bfa90b6Smrg    However for the real front, X has already done the dirty work for us.
17683bfa90b6Smrg    
17693bfa90b6Smrg    Also remove a glxWaitX() debug message.
17703bfa90b6Smrg    
17713bfa90b6Smrg    This should fix piglit read-front.
17723bfa90b6Smrg    
17733bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
17743bfa90b6Smrg
17753bfa90b6Smrgcommit eea96a6f5ccc6a3a1e2bb2737f211076de443462
17763bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
17773bfa90b6SmrgDate:   Thu Jul 7 22:02:15 2011 +0200
17783bfa90b6Smrg
17793bfa90b6Smrg    vmwgfx: Add boolean flags for different rendering modes
17803bfa90b6Smrg    
17813bfa90b6Smrg    Basically we support three ways of getting data to the screen:
17823bfa90b6Smrg    1) Mixed mode: We mix presents and updates.
17833bfa90b6Smrg    2) Mixed present optimized: A version of mixed where copies to the front
17843bfa90b6Smrg       buffer end up as presents, saving a blit.
17853bfa90b6Smrg    3) 3D surface mode: We only present from a 3D surface. Software contents are
17863bfa90b6Smrg       first DMA'd to that surface.
17873bfa90b6Smrg    
17883bfa90b6Smrg    This change adds boolean flags to the saa struct to select which mode to use.
17893bfa90b6Smrg    
17903bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
17913bfa90b6Smrg
17923bfa90b6Smrgcommit 9cff0a84308723d9790c6365c0d4b1c107794995
17933bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
17943bfa90b6SmrgDate:   Thu Jul 7 09:21:56 2011 +0200
17953bfa90b6Smrg
17963bfa90b6Smrg    vmwgfx: Various acceleration fixes.
17973bfa90b6Smrg    
17983bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
17993bfa90b6Smrg
18003bfa90b6Smrgcommit 4ae8aac35b7209576eaeb64347470d3145b27832
18013bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
18023bfa90b6SmrgDate:   Mon Jul 4 15:39:02 2011 +0200
18033bfa90b6Smrg
18043bfa90b6Smrg    vmwlegacy: Fix server termination due to pitch inconsistency.
18053bfa90b6Smrg    
18063bfa90b6Smrg    Don't require a 32*32 bit pitch alignment when validating modes, since the
18073bfa90b6Smrg    requested virtual pitch (pVMWARE->maxWidth*bpp) must be a multiple of that
18083bfa90b6Smrg    alignment. If not, the server will terminate with a cryptic error message.
18093bfa90b6Smrg    
18103bfa90b6Smrg    This is only for validating modes. The driver will adjust the pitch to the
18113bfa90b6Smrg    host requirement when a mode is set anyway, and hopefully the host won't
18123bfa90b6Smrg    require a pitch it doesn't support.
18133bfa90b6Smrg    
18143bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
18153bfa90b6Smrg
18163bfa90b6Smrgcommit 81e7099b6bbd9fdae66a3186dfc3fff2758009cf
18173bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
18183bfa90b6SmrgDate:   Fri Jul 1 13:23:30 2011 +0200
18193bfa90b6Smrg
18203bfa90b6Smrg    vmwgfx: Require libxatracker >= 0.4.
18213bfa90b6Smrg    
18223bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
18233bfa90b6Smrg
18243bfa90b6Smrgcommit d2e27ee5c116cd914d98c2ffa4a974704c250be7
18253bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
18263bfa90b6SmrgDate:   Fri Jul 1 12:29:50 2011 +0200
18273bfa90b6Smrg
18283bfa90b6Smrg    vmwgfx: Set up XA version checking.
18293bfa90b6Smrg    
18303bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
18313bfa90b6Smrg
18323bfa90b6Smrgcommit 8a9997f060487c0aef07b8e8a95bb3a862de264f
18333bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
18343bfa90b6SmrgDate:   Fri Jul 1 11:28:52 2011 +0200
18353bfa90b6Smrg
18363bfa90b6Smrg    vmwgfx: Try to sort out format handling with composite.
18373bfa90b6Smrg    
18383bfa90b6Smrg    Try to catch all cases where we have to do readbacks or format conversions
18393bfa90b6Smrg    due to composite formats not being compatible with ordinary accel formats.
18403bfa90b6Smrg    
18413bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
18423bfa90b6Smrg
18433bfa90b6Smrgcommit 8a21da8eaa77bb1ec55ab8b5584554ae6cc41e1e
18443bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
18453bfa90b6SmrgDate:   Wed Jun 22 22:26:20 2011 +0200
18463bfa90b6Smrg
18473bfa90b6Smrg    vmwgfx: Support xa composite.
18483bfa90b6Smrg    
18493bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
18503bfa90b6Smrg
18513bfa90b6Smrgcommit c7e8388280fc047b33be4f603afa4b7615ffc585
18523bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
18533bfa90b6SmrgDate:   Wed Jun 22 11:33:14 2011 +0200
18543bfa90b6Smrg
18553bfa90b6Smrg    saa: Add driver composite.
18563bfa90b6Smrg    
18573bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
18583bfa90b6Smrg
18593bfa90b6Smrgcommit b2e116971031d1357f614e9ce1d843768489a304
18603bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
18613bfa90b6SmrgDate:   Wed Jun 22 10:50:35 2011 +0200
18623bfa90b6Smrg
18633bfa90b6Smrg    saa: Reuse code for computing composite bounds.
18643bfa90b6Smrg    
18653bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
18663bfa90b6Smrg
18673bfa90b6Smrgcommit 3650be74d5da602653b2b1d3cf3a6bb5a9cb3539
18683bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
18693bfa90b6SmrgDate:   Tue Jun 21 00:13:32 2011 +0200
18703bfa90b6Smrg
18713bfa90b6Smrg    vmwgfx: Try to match created hardware formats with the dri state tracker.
18723bfa90b6Smrg
18733bfa90b6Smrgcommit 63d7ddb35fe8b6743de182b73e6967f97f6a7eba
18743bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
18753bfa90b6SmrgDate:   Mon Jun 20 21:57:38 2011 +0200
18763bfa90b6Smrg
18773bfa90b6Smrg    vmwgfx: Fix dirty present bug
18783bfa90b6Smrg    
18793bfa90b6Smrg    Clear dirty present areas when new contents are drawn to the backing
18803bfa90b6Smrg    pixmap. Not when it is actually pushed to the screen.
18813bfa90b6Smrg    
18823bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
18833bfa90b6Smrg
18843bfa90b6Smrgcommit f71928d3f78d9f9e5a0fd240069b9035d4ccac75
18853bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
18863bfa90b6SmrgDate:   Mon Jun 20 21:48:23 2011 +0200
18873bfa90b6Smrg
18883bfa90b6Smrg    vmwgfx: Don't call xa_copy_done after a present.
18893bfa90b6Smrg    
18903bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
18913bfa90b6Smrg
18923bfa90b6Smrgcommit 4d5aec4a7e4512145c76014591488cb5a98ff0ea
18933bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
18943bfa90b6SmrgDate:   Mon Jun 20 14:13:46 2011 +0200
18953bfa90b6Smrg
18963bfa90b6Smrg    vmwgfx: Make present readbacks not cross scanout bounding box boundaries
18973bfa90b6Smrg    
18983bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
18993bfa90b6Smrg
19003bfa90b6Smrgcommit f6a4690832143b01d419b52a4cb74350cdfa38bf
19013bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
19023bfa90b6SmrgDate:   Mon Jun 20 09:58:44 2011 +0200
19033bfa90b6Smrg
19043bfa90b6Smrg    vmwgfx: Make a list of scanout bounding boxes available to each scanout pixmap
19053bfa90b6Smrg    
19063bfa90b6Smrg    This info is needed for present readback.
19073bfa90b6Smrg    
19083bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
19093bfa90b6Smrg
19103bfa90b6Smrgcommit eea0e6e242a604b1f4d85d947cf2b3f9f4977533
19113bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
19123bfa90b6SmrgDate:   Mon Jun 20 09:05:48 2011 +0200
19133bfa90b6Smrg
19143bfa90b6Smrg    vmwgfx: Import the WSBM list macros
19153bfa90b6Smrg    
19163bfa90b6Smrg    Use WSBM list handling macros for the glxWaitX flush list.
19173bfa90b6Smrg    
19183bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
19193bfa90b6Smrg
19203bfa90b6Smrgcommit eabf82fad8ad72aab071cd4e3bc9063022b0aeb3
19213bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
19223bfa90b6SmrgDate:   Fri Jun 17 11:25:53 2011 +0200
19233bfa90b6Smrg
19243bfa90b6Smrg    vmwgfx: Check for large files
19253bfa90b6Smrg    
19263bfa90b6Smrg    Fixes segfault on 32-bit servers.
19273bfa90b6Smrg    
19283bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
19293bfa90b6Smrg
19303bfa90b6Smrgcommit 7966dfa47c4d2b022ebf0f25a2db3901376e6cbd
19313bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
19323bfa90b6SmrgDate:   Fri Jun 17 08:18:13 2011 +0200
19333bfa90b6Smrg
19343bfa90b6Smrg    vmwgfx, saa: Build saa as a convenience library
19353bfa90b6Smrg    
19363bfa90b6Smrg    instead of as a shared object.
19373bfa90b6Smrg    
19383bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
19393bfa90b6Smrg
19403bfa90b6Smrgcommit d28613e557fcdc4fc69f9a138a8c5fc909a719f5
19413bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
19423bfa90b6SmrgDate:   Thu Jun 16 21:21:25 2011 +0200
19433bfa90b6Smrg
19443bfa90b6Smrg    vmwgfx: Fix up driver build process for Xserver >= 1.7.
19453bfa90b6Smrg    
19463bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
19473bfa90b6Smrg
19483bfa90b6Smrgcommit 84166d4b457244bcc2f5ace63702d594d602d0c2
19493bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
19503bfa90b6SmrgDate:   Thu Jun 16 15:55:07 2011 +0200
19513bfa90b6Smrg
19523bfa90b6Smrg    vmwgfx, saa: Initial import
19533bfa90b6Smrg    
19543bfa90b6Smrg    This imports the vmwgfx driver, based on the Gallium3D Xorg state tracker,
19553bfa90b6Smrg    as well as the saa library. A "Shadow Acceleration Architecture", which is
19563bfa90b6Smrg    optimized for the case where transfers between system (shadow) and hw memory
19573bfa90b6Smrg    is very costly.
19583bfa90b6Smrg    
19593bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
19603bfa90b6Smrg
19613bfa90b6Smrgcommit 0142bb8d10edb153c9ce79a2ea3ff92a7fb15ac5
19623bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
19633bfa90b6SmrgDate:   Wed Mar 30 12:37:24 2011 +0200
19643bfa90b6Smrg
19653bfa90b6Smrg    vmwlegacy: Don't prune modes based on the virtual size of the default mode
19663bfa90b6Smrg    
19673bfa90b6Smrg    We might be pruning modes based on the virtual size of the default mode in
19683bfa90b6Smrg    some situations. Avoid this by allowing a virtual size equal to the device
19693bfa90b6Smrg    max size, unless the user has requested something else.
19703bfa90b6Smrg    
19713bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
19723bfa90b6Smrg    Reviewed-by: Alan Hourihane <alanh@vmware.com>
19733bfa90b6Smrg
19743bfa90b6Smrgcommit 04297d435b87e3d04a427ac8ef33d314727220e6
19753bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
19763bfa90b6SmrgDate:   Wed Mar 30 12:22:43 2011 +0200
19773bfa90b6Smrg
19783bfa90b6Smrg    vmwlegacy: Fix up default mode VRefresh anc Clock calculation
19793bfa90b6Smrg    
19803bfa90b6Smrg    The VRefresh value was a factor 1000 too high.
19813bfa90b6Smrg    Calculate clock based on vrefresh and resolution.
19823bfa90b6Smrg    
19833bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
19843bfa90b6Smrg    Reviewed-by: Alan Hourihane <alanh@vmware.com>
19853bfa90b6Smrg
19863bfa90b6Smrgcommit c5ca599361c87ec816db92d4f9841143f8601934
19873bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
19883bfa90b6SmrgDate:   Wed Mar 30 11:01:06 2011 +0200
19893bfa90b6Smrg
19903bfa90b6Smrg    vmwlegacy: Fix a bug in screen dimension calculation
19913bfa90b6Smrg    
19923bfa90b6Smrg    This bug resulted in incorrect screen dimensions and DPI being calculated
19933bfa90b6Smrg    in some circumstances, leading to among other things bad aspect ratios in xine.
19943bfa90b6Smrg    
19953bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
19963bfa90b6Smrg
19973bfa90b6Smrgcommit c02d5977015983473a9bbae97ec65ce70a5faa3b
19983bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
19993bfa90b6SmrgDate:   Tue Mar 29 13:03:39 2011 +0200
20003bfa90b6Smrg
20013bfa90b6Smrg    vmwlegacy: Make sure we draw the colorkey to the right drawable
20023bfa90b6Smrg    
20033bfa90b6Smrg    Don't draw the colorkey to the screen drawable, but to the video drawable
20043bfa90b6Smrg    when possible.
20053bfa90b6Smrg    
20063bfa90b6Smrg    Also change the Xv API/ABI test to use the builtin ABI version
20073bfa90b6Smrg    functions.
20083bfa90b6Smrg    
20093bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
20103bfa90b6Smrg    Reviewed-by: Michel D�nzer <daenzer@vmware.com>
20113bfa90b6Smrg
20123bfa90b6Smrgcommit b234d7d6925b480a9c4fe23e5100e6fe7e5c0eac
20133bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
20143bfa90b6SmrgDate:   Tue Mar 29 11:18:24 2011 +0200
20153bfa90b6Smrg
20163bfa90b6Smrg    vmwlegacy: Silence a number of warnings
20173bfa90b6Smrg    
20183bfa90b6Smrg    This potentially also fixes a use of an uninitialized pointer value, which
20193bfa90b6Smrg    may cause OOM or segfaults.
20203bfa90b6Smrg    
20213bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
20223bfa90b6Smrg    Reviewed-by: Michel D�nzer <daenzer@vmware.com>
20233bfa90b6Smrg
20243bfa90b6Smrgcommit cdb04224db69a6b3beb66c99879e20917b8b0fb2
20253bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
20263bfa90b6SmrgDate:   Fri Mar 25 19:17:00 2011 +0100
20273bfa90b6Smrg
20283bfa90b6Smrg    vmwlegacy: Fix segfault and setup of initial mode.
20293bfa90b6Smrg    
20303bfa90b6Smrg    The fact that modes were added without names caused segfaults on older
20313bfa90b6Smrg    X servers. At least up to and including Xserver 1.4.
20323bfa90b6Smrg    
20333bfa90b6Smrg    Also, for some reason, at least Xserver 1.4 insists on setting the first mode
20343bfa90b6Smrg    in the modelist, even if we set another mode as the current one.
20353bfa90b6Smrg    
20363bfa90b6Smrg    Work around this by inserting a new mode with the current screen dimensions,
20373bfa90b6Smrg    and add that modename last to the array of display requested mode names.
20383bfa90b6Smrg    This means that if none of the previous mode names are found, we will at least
20393bfa90b6Smrg    find the newly inserted mode.
20403bfa90b6Smrg    
20413bfa90b6Smrg    Also, if there are no requested mode names at all, the driver previously
20423bfa90b6Smrg    chose the largest mode that fit the timings. Now we will, in that case,
20433bfa90b6Smrg    always select the newly inserted mode and thus not change resolution unless
20443bfa90b6Smrg    specified.
20453bfa90b6Smrg    
20463bfa90b6Smrg    Also add an option to not add this default mode. The option
20473bfa90b6Smrg    "AddDefaultMode" is true by default.
20483bfa90b6Smrg    
20493bfa90b6Smrg    Finally when we restore registers at exit and VT switch, make sure we
20503bfa90b6Smrg    reprogram the initial width, height and bpp for the next time we start a
20513bfa90b6Smrg    server.
20523bfa90b6Smrg    
20533bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
20543bfa90b6Smrg
20553bfa90b6Smrgcommit 9a8f0af8782fd5e9de2d71dfa86fad1d48d52b64
20563bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
20573bfa90b6SmrgDate:   Thu Mar 3 09:47:48 2011 +0100
20583bfa90b6Smrg
20593bfa90b6Smrg    Remove unused variable
20603bfa90b6Smrg    
20613bfa90b6Smrg    Signed-off-by: Cyril Brulebois <kibi@debian.org>
20623bfa90b6Smrg    Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
20633bfa90b6Smrg
20643bfa90b6Smrgcommit c208a5380b20f910ab49433abc0d39dce6bb5528
20653bfa90b6SmrgAuthor: Alan Hourihane <alanh@vmware.com>
20663bfa90b6SmrgDate:   Wed Feb 16 18:53:14 2011 +0100
20673bfa90b6Smrg
20683bfa90b6Smrg    vmwlegacy: Fix mode lookup
20693bfa90b6Smrg    
20703bfa90b6Smrg    In situations where we have trouble finding a specified mode,
20713bfa90b6Smrg    use the resolution given by the width and height device registers.
20723bfa90b6Smrg    
20733bfa90b6Smrg    Signed-off-by: Alan Hourihane <alanh@vmware.com>
20743bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
20753bfa90b6Smrg
20763bfa90b6Smrgcommit 2e5001b7e93c63c2cd25d7d8ebdee8a420c13b96
20773bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
20783bfa90b6SmrgDate:   Wed Feb 16 18:47:02 2011 +0100
20793bfa90b6Smrg
20803bfa90b6Smrg    vmwlegacy: Add a missing include
20813bfa90b6Smrg    
20823bfa90b6Smrg    The test for Xserver >= 1.2 in the affected file was always failing.
20833bfa90b6Smrg    
20843bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
20853bfa90b6Smrg    Reviewed-by: Michel Dänzer <daenzer@vmware.com>
20863bfa90b6Smrg
20873bfa90b6Smrgcommit b3c244ebd7899a66aa401d2d7b0ddc66ee56e6d7
20883bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
20893bfa90b6SmrgDate:   Wed Feb 16 17:29:47 2011 +0100
20903bfa90b6Smrg
20913bfa90b6Smrg    vmwlegacy: Don't attempt to call RRSendConfigNotify on Xservers < 1.2
20923bfa90b6Smrg    
20933bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
20943bfa90b6Smrg    Reviewed-by: Alan Hourihane <alanh@vmware.com>
20953bfa90b6Smrg    Reviewed-by: Michel Dänzer <daenzer@vmware.com>
20963bfa90b6Smrg
20973bfa90b6Smrgcommit eacfa46ada8562bfb15d3fc6a8af272d88036d2f
20983bfa90b6SmrgAuthor: Michel Dänzer <daenzer@vmware.com>
20993bfa90b6SmrgDate:   Thu Jan 27 11:09:39 2011 +0100
21003bfa90b6Smrg
21013bfa90b6Smrg    vmwlegacy: Send ConfigureNotify events on Xinerama state changes with no mode change
21023bfa90b6Smrg    
21033bfa90b6Smrg    Signed-off-by: Michel D�nzer <daenzer@vmware.com>
21043bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
21053bfa90b6Smrg
21063bfa90b6Smrgcommit cc66e4a49a4a9ac90940d7866db5bc7621cb7e16
21073bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
21083bfa90b6SmrgDate:   Thu Jan 27 11:02:44 2011 +0100
21093bfa90b6Smrg
21103bfa90b6Smrg    Fix crosscompile build for older Xservers v2
21113bfa90b6Smrg    
21123bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
21133bfa90b6Smrg
21143bfa90b6Smrgcommit d1ac343b8894a9b8a34c1dcf4b6aeb57239034c0
21153bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
21163bfa90b6SmrgDate:   Fri Jan 21 23:07:10 2011 +0100
21173bfa90b6Smrg
21183bfa90b6Smrg    Revert "Fix crosscompile build for older Xservers"
21193bfa90b6Smrg    
21203bfa90b6Smrg    This reverts commit 16e16390385d890b3666485a40369f4c690d5033.
21213bfa90b6Smrg    
21223bfa90b6Smrg    The fix was bogus as pointed out by Cyril Bruleboid <kibi@debian.org>, and
21233bfa90b6Smrg    Gaetan Nadon <memsize@videotron.ca>
21243bfa90b6Smrg
21253bfa90b6Smrgcommit 16e16390385d890b3666485a40369f4c690d5033
21263bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
21273bfa90b6SmrgDate:   Thu Jan 13 13:17:17 2011 +0100
21283bfa90b6Smrg
21293bfa90b6Smrg    Fix crosscompile build for older Xservers
21303bfa90b6Smrg    
21313bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
21323bfa90b6Smrg
21333bfa90b6Smrgcommit 5b30df47117bc65fd5f14667671041428e1d00b5
21343bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
21353bfa90b6SmrgDate:   Thu Jan 13 12:52:14 2011 +0100
21363bfa90b6Smrg
21373bfa90b6Smrg    vmwlegacy: Remove Write-Combining setups
21383bfa90b6Smrg    
21393bfa90b6Smrg    The virtual CPUs doesn't support it anyway.
21403bfa90b6Smrg    Once suggested by Michel Daenzer.
21413bfa90b6Smrg    
21423bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
21433bfa90b6Smrg
21443bfa90b6Smrgcommit 8f8f71f0075d9d5cbbfca93425462ba03c5b8046
21453bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
21463bfa90b6SmrgDate:   Tue Nov 9 14:31:30 2010 +0100
21473bfa90b6Smrg
21483bfa90b6Smrg    Bump package version to 11.0.3 for release
21493bfa90b6Smrg    
21503bfa90b6Smrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
21513bfa90b6Smrg
2152a241306cSmrgcommit 30ac6eaf64aa4831025555b72b65843686a35094
2153a241306cSmrgAuthor: Jesse Adkins <jesserayadkins@gmail.com>
2154a241306cSmrgDate:   Tue Sep 28 13:29:52 2010 -0700
2155a241306cSmrg
2156a241306cSmrg    Purge cvs tags.
2157a241306cSmrg    
2158a241306cSmrg    Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
2159a241306cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2160a241306cSmrg
2161a241306cSmrgcommit 083a663bbb186bfb854eda3b9f33d7fc24252ec5
2162a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
2163a241306cSmrgDate:   Thu Sep 16 10:08:12 2010 +0200
2164a241306cSmrg
2165a241306cSmrg    Make the modinfo string contain an optional subpatch number
2166a241306cSmrg    
2167a241306cSmrg    The idea is that the build system assigns this number if needed.
2168a241306cSmrg    As an example it might be the commit number since the last version tag.
2169a241306cSmrg    
2170a241306cSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2171a241306cSmrg
2172a241306cSmrgcommit 5a2206c328caaed95daf91aff9220d3a51b492bd
2173a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
2174a241306cSmrgDate:   Thu Sep 16 09:58:07 2010 +0200
2175a241306cSmrg
2176a241306cSmrg    Make sure we build on 1.4.99.
2177a241306cSmrg    
2178a241306cSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2179a241306cSmrg
2180a241306cSmrgcommit da0f931b90833c7f706ace24b0c9dff2672f1e97
2181a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
2182a241306cSmrgDate:   Wed Sep 8 09:57:35 2010 +0200
2183a241306cSmrg
2184a241306cSmrg    vmwlegacy: Fix a segfault in vmwareCursorCloseScreen.
2185a241306cSmrg    
2186a241306cSmrg    The segfault occured because the named function was using resources that
2187a241306cSmrg    were already taken down, because VMWARECloseScreen was called very late
2188a241306cSmrg    in the CloseScreen callchain.
2189a241306cSmrg    
2190a241306cSmrg    Make sure we wrap the CloseScreen pointers late in ScreenInit to avoid this.
2191a241306cSmrg    
2192a241306cSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2193a241306cSmrg
2194a241306cSmrgcommit 03dca39afa06da04472d56ec4888f010186c6a13
2195a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
2196a241306cSmrgDate:   Tue Sep 7 21:55:28 2010 +0200
2197a241306cSmrg
2198a241306cSmrg    vmwlegacy: A number of Xv fixes
2199a241306cSmrg    
2200a241306cSmrg    Properly init and uninit the port private clipboxes on setup and end.
2201a241306cSmrg    Clear the port private clipboxes on video stop, to force re-painting
2202a241306cSmrg    of the colorkey when the stream is resumed.
2203a241306cSmrg    Make sure the colorkey is painted *before* the overlay is flushed. Some
2204a241306cSmrg    host implementations seem picky about this.
2205a241306cSmrg    
2206a241306cSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2207a241306cSmrg
2208a241306cSmrgcommit dfb062e024dfd20789ee8d43c7f94640faa5ea9f
2209a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
2210a241306cSmrgDate:   Tue Sep 7 12:17:46 2010 +0200
2211a241306cSmrg
2212a241306cSmrg    vmware/vmwlegacy: Silence compilation errors and -warnings.
2213a241306cSmrg    
2214a241306cSmrg    Silence warnings and errors on various server versions due to incorrect
2215a241306cSmrg    usage of libc functions.
2216a241306cSmrg    
2217a241306cSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2218a241306cSmrg
2219a241306cSmrgcommit 12e4577c020c6905d09459d833fd1c5313f1647b
2220a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
2221a241306cSmrgDate:   Fri Sep 3 11:19:01 2010 +0200
2222a241306cSmrg
2223a241306cSmrg    vmwlegacy: Always scale screen dimensions to the initial DPI on modeswitch.
2224a241306cSmrg    
2225a241306cSmrg    When we switch mode we usually alter the size in a constant DPI environment
2226a241306cSmrg    rather than keeping the size constant and alter the DPI.
2227a241306cSmrg    
2228a241306cSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2229a241306cSmrg
2230a241306cSmrgcommit 81a0a1a37e703296d109022bb76a1291e84064fd
2231a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
2232a241306cSmrgDate:   Wed Sep 1 07:58:18 2010 +0200
2233a241306cSmrg
2234a241306cSmrg    vmware: Handle chain-loader failures gracefully.
2235a241306cSmrg    
2236a241306cSmrg    If the vmwlegacy driver wasn't present when expected, that would
2237a241306cSmrg    leave the X server in a confused state. Thus report loading errors properly
2238a241306cSmrg    back to the X server.
2239a241306cSmrg    
2240a241306cSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2241a241306cSmrg
2242a241306cSmrgcommit 2a72ea7a1b1519451350e0741d145f513124a208
2243a241306cSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
2244a241306cSmrgDate:   Wed Aug 18 10:57:02 2010 -0400
2245a241306cSmrg
2246a241306cSmrg    vmwarectrl: rework standalone package as a subdir of driver
2247a241306cSmrg    
2248a241306cSmrg    vmwarectrl is a unit test client tool for developers.
2249a241306cSmrg    By default, it is not built unless --enable-vmwarectrl-client is used.
2250a241306cSmrg    
2251a241306cSmrg    Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
2252a241306cSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2253a241306cSmrg
2254a241306cSmrgcommit f51ca2cb756dcd541a27f0326496f0aadab3f214
2255a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
2256a241306cSmrgDate:   Wed Aug 18 11:34:49 2010 +0200
2257a241306cSmrg
2258a241306cSmrg    Make the driver build and run without libdrm.
2259a241306cSmrg    
2260a241306cSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2261a241306cSmrg
2262a241306cSmrgcommit 2e6eca3e7bb19ea69db2cc367c9704c7d657db79
2263a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com>
2264a241306cSmrgDate:   Thu Aug 12 17:43:59 2010 +0200
2265a241306cSmrg
2266a241306cSmrg    Only set the first xinerama output as primary.
2267a241306cSmrg    
2268a241306cSmrg    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2269a241306cSmrg
2270a241306cSmrgcommit 456b74e8778ab0c44e8a70aa45f447ff5c562be3
2271a241306cSmrgAuthor: Adam Jackson <ajax@redhat.com>
2272a241306cSmrgDate:   Tue Aug 10 11:02:05 2010 -0400
2273a241306cSmrg
2274a241306cSmrg    xf86-video-vmware 11.0.2
2275a241306cSmrg    
2276a241306cSmrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
2277a241306cSmrg
22781f27ce9aSmrgcommit c29d24b2ca598011b84387006f03a9360910707f
22791f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
22801f27ce9aSmrgDate:   Fri Jul 23 21:02:33 2010 -0400
22811f27ce9aSmrg
22821f27ce9aSmrg    config: add AM_PROG_CC_C_O for per-target compilation flags
22831f27ce9aSmrg    
22841f27ce9aSmrg    The use of per-target compilation flags with C sources requires
22851f27ce9aSmrg    that the macro AM_PROG_CC_C_O be called from configure.ac
22861f27ce9aSmrg    
22871f27ce9aSmrg    If the C compiler does not accept the -c and -o options simultaneously,
22881f27ce9aSmrg    define NO_MINUS_C_MINUS_O. This macro actually tests both the compiler
22891f27ce9aSmrg    found by AC_PROG_CC, and, if different, the first cc in the path.
22901f27ce9aSmrg    The test fails if one fails. This macro was created for GNU Make
22911f27ce9aSmrg    to choose the default C compilation rule.
22921f27ce9aSmrg    
22931f27ce9aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
22941f27ce9aSmrg
22951f27ce9aSmrgcommit dfbef04f1ff9430a01ca0ca682be32a8606e9e13
22961f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
22971f27ce9aSmrgDate:   Wed Jul 21 16:49:04 2010 -0400
22981f27ce9aSmrg
22991f27ce9aSmrg    config: add comments for main statements
23001f27ce9aSmrg
23011f27ce9aSmrgcommit 0dbd97fe7d411549aa343c25dab9c70087532727
23021f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
23031f27ce9aSmrgDate:   Wed Jul 21 16:07:00 2010 -0400
23041f27ce9aSmrg
23051f27ce9aSmrg    config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES
23061f27ce9aSmrg    
23071f27ce9aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
23081f27ce9aSmrg
23091f27ce9aSmrgcommit dfaa0b6391ebc32f4e81d8add053eabea44d0881
23101f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
23111f27ce9aSmrgDate:   Wed Jul 21 14:37:42 2010 -0400
23121f27ce9aSmrg
23131f27ce9aSmrg    config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
23141f27ce9aSmrg    
23151f27ce9aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
23161f27ce9aSmrg
23171f27ce9aSmrgcommit dd0bb4ac5730331070eac2c39880718eeff3760b
23181f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
23191f27ce9aSmrgDate:   Wed Jul 21 14:05:23 2010 -0400
23201f27ce9aSmrg
23211f27ce9aSmrg    config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
23221f27ce9aSmrg    
23231f27ce9aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
23241f27ce9aSmrg
23251f27ce9aSmrgcommit f07d572611ba072c5952fea526e7178202d36685
23261f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
23271f27ce9aSmrgDate:   Wed Jul 21 09:27:42 2010 -0400
23281f27ce9aSmrg
23291f27ce9aSmrg    config: complete AC_INIT m4 quoting
23301f27ce9aSmrg    
23311f27ce9aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
23321f27ce9aSmrg
23331f27ce9aSmrgcommit 79956ca804b4ca6227f878cf794edafefa00d25a
23341f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
23351f27ce9aSmrgDate:   Tue Jul 20 21:44:58 2010 -0400
23361f27ce9aSmrg
23371f27ce9aSmrg    config: remove unrequired AC_SUBST([XORG_CFLAGS])
23381f27ce9aSmrg    
23391f27ce9aSmrg    This macro is called by PKG_CHECK_MODULES
23401f27ce9aSmrg    
23411f27ce9aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
23421f27ce9aSmrg
23431f27ce9aSmrgcommit cee7a37a38f83cd5300a19f17493e43eb532e619
23441f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
23451f27ce9aSmrgDate:   Tue Jul 20 20:24:42 2010 -0400
23461f27ce9aSmrg
23471f27ce9aSmrg    config: remove unrequired AC_HEADER_STDC
23481f27ce9aSmrg    
23491f27ce9aSmrg    Autoconf says:
23501f27ce9aSmrg    "This macro is obsolescent, as current systems have conforming
23511f27ce9aSmrg    header files. New programs need not use this macro".
23521f27ce9aSmrg    
23531f27ce9aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
23541f27ce9aSmrg
23551f27ce9aSmrgcommit 8adb672ac3f754d02e377745c16f64151b50522a
23561f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
23571f27ce9aSmrgDate:   Tue Jul 20 19:41:31 2010 -0400
23581f27ce9aSmrg
23591f27ce9aSmrg    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
23601f27ce9aSmrg    
23611f27ce9aSmrg    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
23621f27ce9aSmrg    AC_PROG_C_C99. This sets gcc with -std=gnu99.
23631f27ce9aSmrg    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
23641f27ce9aSmrg    
23651f27ce9aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
23661f27ce9aSmrg
23671f27ce9aSmrgcommit d867b84e425cdf66542eebaabd8adb95b8121960
23681f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
23691f27ce9aSmrgDate:   Tue Jul 20 18:45:19 2010 -0400
23701f27ce9aSmrg
23711f27ce9aSmrg    config: update AC_PREREQ statement to 2.60
23721f27ce9aSmrg    
23731f27ce9aSmrg    Unrelated to the previous patches, the new value simply reflects
23741f27ce9aSmrg    the reality that the minimum level for autoconf to configure
23751f27ce9aSmrg    all x.org modules is 2.60 dated June 2006.
23761f27ce9aSmrg    
23771f27ce9aSmrg    ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
23781f27ce9aSmrg    
23791f27ce9aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
23801f27ce9aSmrg
23811f27ce9aSmrgcommit 190a6b7e032e37e33dda42482038b8fd1fd9d8af
23821f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
23831f27ce9aSmrgDate:   Tue Jul 20 16:15:30 2010 -0400
23841f27ce9aSmrg
23851f27ce9aSmrg    config: upgrade to util-macros 1.8 for additional man page support
23861f27ce9aSmrg    
23871f27ce9aSmrg    Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
23881f27ce9aSmrg    The value of MAN_SUBST is the same for all X.Org packages.
23891f27ce9aSmrg
23901f27ce9aSmrgcommit e647511e4b9b924b0617171c56b3bb485674b3ff
23911f27ce9aSmrgAuthor: Julien Cristau <jcristau@debian.org>
23921f27ce9aSmrgDate:   Tue Jul 13 11:57:15 2010 +0100
23931f27ce9aSmrg
23941f27ce9aSmrg    Don't crash the server on Xorg -configure
23951f27ce9aSmrg
23961f27ce9aSmrgcommit 0bd99bb142093c0072147ec3bb665864b4cadef5
23971f27ce9aSmrgAuthor: Fernando Carrijo <fcarrijo@yahoo.com.br>
23981f27ce9aSmrgDate:   Thu Jul 1 07:18:11 2010 -0300
23991f27ce9aSmrg
24001f27ce9aSmrg    Purge macros NEED_EVENTS and NEED_REPLIES
24011f27ce9aSmrg    
24021f27ce9aSmrg    Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
24031f27ce9aSmrg    Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com>
24041f27ce9aSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
24051f27ce9aSmrg
24061f27ce9aSmrgcommit f307f77a34f3a6777f74458819f6a3519c2c3f2b
24071f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
24081f27ce9aSmrgDate:   Sun Jun 13 13:10:55 2010 -0400
24091f27ce9aSmrg
24101f27ce9aSmrg    COPYING: replace stub file with actual Copyright notices.
24111f27ce9aSmrg    
24121f27ce9aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
24131f27ce9aSmrg
24141f27ce9aSmrgcommit 423d8a069a2d86068a8f22926a73bc965670315d
24151f27ce9aSmrgAuthor: Michel Dänzer <daenzer@vmware.com>
24161f27ce9aSmrgDate:   Mon Mar 29 10:19:04 2010 +0200
24171f27ce9aSmrg
24181f27ce9aSmrg    Fix some issues pointed out by compiler warnings.
24191f27ce9aSmrg    
24201f27ce9aSmrg    * vmware_chain_module() doesn't return any values.
24211f27ce9aSmrg    * Remove an unused local variable.
24221f27ce9aSmrg
2423b68e1f86Smrgcommit cc77a36048863640fb1fa9f82b5b0dbf41326872
2424b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
2425b68e1f86SmrgDate:   Thu Mar 18 15:30:36 2010 +0100
24266df26cacSmrg
2427b68e1f86Smrg    Bump for 11.0.1 release.
24286df26cacSmrg
2429b68e1f86Smrgcommit a5fb3698a033bfe7789641fd6719d8d4fb054201
2430b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
2431b68e1f86SmrgDate:   Tue Mar 9 08:37:11 2010 +0000
24326df26cacSmrg
2433b68e1f86Smrg    Rework chainloader code to check for vmwgfx userspace driver as well
24346df26cacSmrg
2435b68e1f86Smrgcommit bf18be6f458a4612b2ebdd8d2b5894f8884891e4
2436b68e1f86SmrgAuthor: Roland Scheidegger <sroland@vmware.com>
2437b68e1f86SmrgDate:   Tue Mar 9 16:10:25 2010 +0100
24386df26cacSmrg
2439b68e1f86Smrg    fix a cursor refcounting bug, leading to segfaults
2440b68e1f86Smrg    
2441b68e1f86Smrg    this is similar to what xf86_use_hw_cursor() does, which is replaced by
2442b68e1f86Smrg    vmwareUseHWCursor (otherwise, the refcount could reach zero and hence the
2443b68e1f86Smrg    cursor deallocated while xf86CursorEnableDisableFBAccess() could still bring
2444b68e1f86Smrg    it back to life from the saved cursor).
2445b68e1f86Smrg    It is probably insane to do refcounting here, but this needs a xserver fix,
2446b68e1f86Smrg    and even if that's fixed this fix here shouldn't hurt (though would be
2447b68e1f86Smrg    unnecessary).
24486df26cacSmrg
2449b68e1f86Smrgcommit 257614ae9bea54d6a46e4477496500a84853ee37
2450b68e1f86SmrgAuthor: Roland Scheidegger <sroland@vmware.com>
2451b68e1f86SmrgDate:   Tue Mar 9 16:03:59 2010 +0100
24526df26cacSmrg
2453b68e1f86Smrg    make DEBUG_LOGGING compile
24546df26cacSmrg
2455b68e1f86Smrgcommit 29f6a2dca3e680908e938767256c9b995653ca7f
2456b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
2457b68e1f86SmrgDate:   Sun Mar 7 15:02:39 2010 +0000
24586df26cacSmrg
2459b68e1f86Smrg    Print text about none fatal error message with Fatal in it
24606df26cacSmrg
2461b68e1f86Smrgcommit 204504861a2847734a04bd976accb0c730733523
2462b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
2463b68e1f86SmrgDate:   Fri Feb 26 16:27:17 2010 +0100
24646df26cacSmrg
2465b68e1f86Smrg    Don't hardcode the module version in the source
2466b68e1f86Smrg    
2467b68e1f86Smrg    As pointed out by Julien Cristau XORG_RELEASE_VERSION
2468b68e1f86Smrg    gives us that info from configure.ac.
2469b68e1f86Smrg    
2470b68e1f86Smrg    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
24716df26cacSmrg
2472b68e1f86Smrgcommit 667263d9410bd0d5832cf08a2a28841fe6326b84
2473b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
2474b68e1f86SmrgDate:   Thu Feb 18 14:11:32 2010 +0100
24756df26cacSmrg
2476b68e1f86Smrg    Bump major for new chainloading driver
24776df26cacSmrg
2478b68e1f86Smrgcommit 048fe839f0d761aeba95c324f14bdc5488e9e634
2479b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
2480b68e1f86SmrgDate:   Mon Feb 22 13:20:06 2010 +0100
24816df26cacSmrg
2482b68e1f86Smrg    Link to drm but on for the vmware chainloader driver
24836df26cacSmrg
2484b68e1f86Smrgcommit 30964ffa31f4fdbffe563b7d7d20bfbf1ed22969
2485b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
2486b68e1f86SmrgDate:   Thu Feb 18 15:20:31 2010 +0100
24876df26cacSmrg
2488b68e1f86Smrg    Make sure that modinfo strings are unique
24896df26cacSmrg
2490b68e1f86Smrgcommit 0f2b02d72e36dc6390c09d6adba13e4101bf3df8
2491b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
2492b68e1f86SmrgDate:   Thu Feb 11 23:18:37 2010 +0100
24936df26cacSmrg
2494b68e1f86Smrg    Add modinfo for vmware_drv.so
24956df26cacSmrg
2496b68e1f86Smrgcommit c4f5bf8ea45b80c2ac4a5eec65ff58f148fb2807
2497b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com>
2498b68e1f86SmrgDate:   Thu Feb 11 22:04:53 2010 +0100
24996df26cacSmrg
2500b68e1f86Smrg    Add a chain loading module to load new vmwgfx driver if kernel module is loaded
25016df26cacSmrg
2502b68e1f86Smrgcommit 0d9d1724dbe113dcc02736a8ca80ab540057cb5e
2503b68e1f86SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
2504b68e1f86SmrgDate:   Fri Jan 15 14:13:42 2010 -0800
25056df26cacSmrg
2506b68e1f86Smrg    Update Sun license notices to current X.Org standard form
2507b68e1f86Smrg    
2508b68e1f86Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
25096df26cacSmrg
2510b68e1f86Smrgcommit e0d370ae5f307d96e9dd9384cc0ea66a0f6c06c1
2511b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
2512b68e1f86SmrgDate:   Tue Dec 15 22:01:02 2009 -0500
2513b68e1f86Smrg
2514b68e1f86Smrg    configure.ac: remove unused sdkdir=$(pkg-config...) statement
2515b68e1f86Smrg    
2516b68e1f86Smrg    The sdkdir variable isn't use, so remove the statement.
2517b68e1f86Smrg    
2518b68e1f86Smrg    Acked-by: Dan Nicholson <dbn.lists@gmail.com>
2519b68e1f86Smrg    
2520b68e1f86Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2521b68e1f86Smrg
2522b68e1f86Smrgcommit 991830e39c34d0a4530a5c5023ec92cf0d7395b0
2523b68e1f86SmrgAuthor: Michel Dänzer <daenzer@vmware.com>
2524b68e1f86SmrgDate:   Tue Dec 29 17:53:35 2009 +0100
2525b68e1f86Smrg
2526b68e1f86Smrg    Bump for 10.16.9 release.
2527b68e1f86Smrg
2528b68e1f86Smrgcommit 5a36fcb6a5899e5cfdf6d65e05e3f999d5d25b2a
2529b68e1f86SmrgAuthor: Michel Dänzer <daenzer@vmware.com>
2530b68e1f86SmrgDate:   Tue Dec 29 17:00:45 2009 +0100
2531b68e1f86Smrg
2532b68e1f86Smrg    VMWAREComposite: Only hide cursor if source picture is backed by drawable.
2533b68e1f86Smrg    
2534b68e1f86Smrg    Should fix https://bugs.freedesktop.org/show_bug.cgi?id=14208 .
2535b68e1f86Smrg
2536b68e1f86Smrgcommit 4bec18ab8dffd90ab84b986de2136a9d848d3a4a
2537b68e1f86SmrgAuthor: Michel Dänzer <daenzer@vmware.com>
2538b68e1f86SmrgDate:   Tue Dec 29 16:41:16 2009 +0100
2539b68e1f86Smrg
2540b68e1f86Smrg    vmware: Fix crash with xserver >= 1.7.
2541b68e1f86Smrg    
2542b68e1f86Smrg    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=24541 .
2543b68e1f86Smrg
2544b68e1f86Smrgcommit 74c830e61bdf700c7e422aaa5b1a0136561295dd
2545b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
2546b68e1f86SmrgDate:   Mon Nov 23 09:25:06 2009 -0500
2547b68e1f86Smrg
2548b68e1f86Smrg    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
2549b68e1f86Smrg    
2550b68e1f86Smrg    Now that the INSTALL file is generated.
2551b68e1f86Smrg    Allows running make maintainer-clean.
2552b68e1f86Smrg
2553b68e1f86Smrgcommit e8f5a924226aacc280923aed661b5a821fdaffe8
2554b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
2555b68e1f86SmrgDate:   Wed Oct 28 14:41:41 2009 -0400
2556b68e1f86Smrg
2557b68e1f86Smrg    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
2558b68e1f86Smrg    
2559b68e1f86Smrg    Automake 'foreign' option is specified in configure.ac.
2560b68e1f86Smrg    Remove from Makefile.am
2561b68e1f86Smrg
2562b68e1f86Smrgcommit edb6fcb49bae735c45d9565f7aa8313396cf3b15
2563b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
2564b68e1f86SmrgDate:   Wed Oct 28 14:09:10 2009 -0400
2565b68e1f86Smrg
2566b68e1f86Smrg    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
2567b68e1f86Smrg    
2568b68e1f86Smrg    Add missing INSTALL file. Use standard GNU file on building tarball
2569b68e1f86Smrg    README may have been updated
2570b68e1f86Smrg    Remove AUTHORS file as it is empty and no content available yet.
2571b68e1f86Smrg    Remove NEWS file as it is empty and no content available yet.
2572b68e1f86Smrg
2573b68e1f86Smrgcommit dcb3d3ed2ba2129b433eee0d18ec86e1e0a6f21f
2574b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
2575b68e1f86SmrgDate:   Mon Oct 26 12:54:23 2009 -0400
2576b68e1f86Smrg
2577b68e1f86Smrg    Several driver modules do not have a ChangeLog target in Makefile.am #23814
2578b68e1f86Smrg    
2579b68e1f86Smrg    The git generated ChangeLog replaces the hand written one.
2580b68e1f86Smrg    Update configure.ac to xorg-macros level 1.3.
2581b68e1f86Smrg    Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros
2582b68e1f86Smrg    Update Makefile.am to add ChangeLog target if missing
2583b68e1f86Smrg    Remove ChangeLog from EXTRA_DIST or *CLEAN variables
2584b68e1f86Smrg    This is a pre-req for the INSTALL_CMD
2585b68e1f86Smrg
2586b68e1f86Smrgcommit a9dc11de80966fe00efb6c061a6df00678f80b1f
2587b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
2588b68e1f86SmrgDate:   Thu Oct 22 13:06:19 2009 -0400
2589b68e1f86Smrg
2590b68e1f86Smrg    .gitignore: use common defaults with custom section # 24239
2591b68e1f86Smrg    
2592b68e1f86Smrg    Using common defaults will reduce errors and maintenance.
2593b68e1f86Smrg    Only the very small or inexistent custom section need periodic maintenance
2594b68e1f86Smrg    when the structure of the component changes. Do not edit defaults.
2595b68e1f86Smrg
2596b68e1f86Smrgcommit 082d1689a8e017d29b108ed3a251141ddf32a35d
2597b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
2598b68e1f86SmrgDate:   Thu Oct 22 12:34:18 2009 -0400
2599b68e1f86Smrg
2600b68e1f86Smrg    .gitignore: use common defaults with custom section # 24239
2601b68e1f86Smrg    
2602b68e1f86Smrg    Using common defaults will reduce errors and maintenance.
2603b68e1f86Smrg    Only the very small or inexistent custom section need periodic maintenance
2604b68e1f86Smrg    when the structure of the component changes. Do not edit defaults.
2605b68e1f86Smrg
2606b68e1f86Smrgcommit 6c8fc7b280295b823675285ed78b0fb2365bcf07
2607b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
2608b68e1f86SmrgDate:   Tue Sep 8 22:21:33 2009 -0700
2609b68e1f86Smrg
2610b68e1f86Smrg    Bump fo 10.16.8 Release
2611b68e1f86Smrg
2612b68e1f86Smrgcommit e3e3d8d2488bd289660943e9038bdbe29e11cf77
2613b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
2614b68e1f86SmrgDate:   Mon Sep 7 11:12:13 2009 -0400
2615b68e1f86Smrg
2616b68e1f86Smrg    xf86-video-vmware: Remove unused .cvsignore file #23776
2617b68e1f86Smrg    
2618b68e1f86Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2619b68e1f86Smrg
2620b68e1f86Smrgcommit cce33db3f95c6f3c8537c782063b6ca9ad68f332
2621b68e1f86SmrgAuthor: Dave Airlie <airlied@redhat.com>
2622b68e1f86SmrgDate:   Tue Jul 28 15:22:42 2009 +1000
2623b68e1f86Smrg
2624b68e1f86Smrg    vmware: change to using ABI version check
2625b68e1f86Smrg
2626b68e1f86Smrgcommit 0fddce5511b761206bb5f59dcd17652f15bda5ef
2627b68e1f86SmrgAuthor: Dave Airlie <airlied@redhat.com>
2628b68e1f86SmrgDate:   Tue Jul 28 14:11:59 2009 +1000
2629b68e1f86Smrg
2630b68e1f86Smrg    vmware: fix resource removal properly
2631b68e1f86Smrg
2632b68e1f86Smrgcommit 4605e8d3a99ddcd75314051bd00b51d8ecee06a1
2633b68e1f86SmrgAuthor: Dave Airlie <airlied@redhat.com>
2634b68e1f86SmrgDate:   Tue Jul 28 13:32:41 2009 +1000
2635b68e1f86Smrg
2636b68e1f86Smrg    vmware: update for resources/RAC API removal
2637b68e1f86Smrg
2638b68e1f86Smrgcommit 382c25f53870da0db0ee74f343c20c312e6b03af
2639b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
2640b68e1f86SmrgDate:   Mon Jul 20 18:03:47 2009 -0700
2641b68e1f86Smrg
2642b68e1f86Smrg    Bump for 10.16.7 Release.
2643b68e1f86Smrg
2644b68e1f86Smrgcommit c2d9678431a40f6a15dc7f50690507cdda8d11e2
2645b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com>
2646b68e1f86SmrgDate:   Mon Jun 1 10:47:51 2009 -0700
2647b68e1f86Smrg
2648b68e1f86Smrg        An imperfect fix for Xinerama state changes without a mode change
2649b68e1f86Smrg    
2650b68e1f86Smrg        This patch improves behaviour for Xinerama state changes (via the
2651b68e1f86Smrg        VMWARE_CTRL) extension that don't have an accompanying mode change.
2652b68e1f86Smrg        This will be the case if a new Xinerama monitor layout has a bounding
2653b68e1f86Smrg        box with an identical size to that of the previous layout.
2654b68e1f86Smrg    
2655b68e1f86Smrg        Prior to this patch, the behaviour was pretty bad. If you sent two
2656b68e1f86Smrg        Xinerama states with the same bounding box, the second state would
2657b68e1f86Smrg        be set as pending but no actual mode change would occur, because
2658b68e1f86Smrg        the X server would already be in the right video mode. This means
2659b68e1f86Smrg        that the pending mode stays pending.
2660b68e1f86Smrg    
2661b68e1f86Smrg        If another Xinerama state comes in after this, we would hit our
2662b68e1f86Smrg        "Aborting due to existing pending state" error, and the new state
2663b68e1f86Smrg        would be discarded. This means we'd drop the mode switch on the
2664b68e1f86Smrg        floor, plus we'd lie to the client and say it worked.
2665b68e1f86Smrg    
2666b68e1f86Smrg        One example of the user-visible symptoms from this: The user has
2667b68e1f86Smrg        four monitors of the same size. We'll call them A through D.
2668b68e1f86Smrg        The VM goes into full-screen mode, and they set it to use screens
2669b68e1f86Smrg        ABC. Now they switch to BCD. These have the same bounding box size,
2670b68e1f86Smrg        so no mode change occurs and a topology is still pending. Now they
2671b68e1f86Smrg        switch to monitors BC. This mode switch is dropped, so the guest
2672b68e1f86Smrg        is still in the ABC topology and the mode is too wide for BC.
2673b68e1f86Smrg    
2674b68e1f86Smrg        This patch is an incomplete fix. If we're setting a new topology
2675b68e1f86Smrg        with the same bounding box, we'll flush the Xinerama state
2676b68e1f86Smrg        immediately since we know the mode switch will never occur. This
2677b68e1f86Smrg        means we don't get stuck with xineramaNextState set when it
2678b68e1f86Smrg        shouldn't be, and we don't have the problem with dropping
2679b68e1f86Smrg        subsequent mode changes. We also do set the new Xinerama state,
2680b68e1f86Smrg        so apps that query it will see the updated state immediately.
2681b68e1f86Smrg    
2682b68e1f86Smrg        But the fix isn't perfect- as far as I can tell, there's no way
2683b68e1f86Smrg        to notify applications that the monitor layout changed without
2684b68e1f86Smrg        a mode switch. So even though we've set the new topology, most
2685b68e1f86Smrg        apps won't notice. There are ways we could hack around this,
2686b68e1f86Smrg        but none of them are pretty.
2687b68e1f86Smrg
2688b68e1f86Smrgcommit d10841493c4707f23f928d7580bc5bddb51d22a6
2689b68e1f86SmrgAuthor: Bob Long <blong@vmware.com>
2690b68e1f86SmrgDate:   Fri May 22 15:48:55 2009 -0700
2691b68e1f86Smrg
2692b68e1f86Smrg    Fix black screen after resume from hibernate.
2693b68e1f86Smrg    
2694b68e1f86Smrg    The root cause for the black screen and system lock up is
2695b68e1f86Smrg    caused by not recovering the SVGA ID register after hibernation.
2696b68e1f86Smrg    Incorrect ID register value will invalidate the FIFO memory start
2697b68e1f86Smrg    register, and driver will not retrieve correct FIFO memory start
2698b68e1f86Smrg    address and the busy read of svga FIFO sync register will lock up
2699b68e1f86Smrg    the whole system.
2700b68e1f86Smrg    
2701b68e1f86Smrg    Currently SVGA Xorg driver does not have a kernel module to handle
2702b68e1f86Smrg    the power management event, but Xorg will call driver provided
2703b68e1f86Smrg    LeaveVT before shutting down system and call EnterVT after resuming
2704b68e1f86Smrg    system from hibernation, so these two callback functions are good
2705b68e1f86Smrg    entry points to save and restore the ID register value. This patch
2706b68e1f86Smrg    saves the ID register value in LeaveVT and restores the value to
2707b68e1f86Smrg    SVGA ID register in EnterVT.
2708b68e1f86Smrg
2709b68e1f86Smrgcommit b4ea3052f843c2d1c285252cbf1bed2f4857f96c
2710b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
2711b68e1f86SmrgDate:   Tue May 12 16:48:43 2009 -0700
2712b68e1f86Smrg
2713b68e1f86Smrg    Bump for 10.16.6 release
2714b68e1f86Smrg
2715b68e1f86Smrgcommit 8e15f6669ff2cb5bf4260ac87a481a4e38044b26
2716b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com>
2717b68e1f86SmrgDate:   Tue May 12 16:46:39 2009 -0700
2718b68e1f86Smrg
2719b68e1f86Smrg    Better cursor size limit and explanation
2720b68e1f86Smrg    
2721b68e1f86Smrg    Increase the cursor size limit to 64x64, and give a
2722b68e1f86Smrg    better explanation of the host's cursor size limits.
2723b68e1f86Smrg
2724b68e1f86Smrgcommit bfa3dfc27b05d4a2deff230f8241bd44f72fb7a0
2725b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com>
2726b68e1f86SmrgDate:   Tue May 12 16:46:00 2009 -0700
2727b68e1f86Smrg
2728b68e1f86Smrg    Allow cursor updates while unhidden
2729b68e1f86Smrg    
2730b68e1f86Smrg    This change just adds a flag to our hardware cursor,
2731b68e1f86Smrg    telling Xorg that it doesn't need to hide the cursor
2732b68e1f86Smrg    when updating its shape. This fixes the cursor flicker
2733b68e1f86Smrg    in X11.
2734b68e1f86Smrg
2735b68e1f86Smrgcommit dccc9376a4fb1cba9c35b7617989608497fca7be
2736b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com>
2737b68e1f86SmrgDate:   Tue May 12 16:45:29 2009 -0700
2738b68e1f86Smrg
2739b68e1f86Smrg    Unbreak vmwarectrl setres
2740b68e1f86Smrg    
2741b68e1f86Smrg    The vmwarectrl tool's "setres" command was unusable,
2742b68e1f86Smrg    because it looks like someone added the settopology
2743b68e1f86Smrg    test without updating the argument indices for setres.
2744b68e1f86Smrg    This patch makes setres usable again.
2745b68e1f86Smrg
2746b68e1f86Smrgcommit b7dbdd28764a8f3883833ab818a7b7314632b0b2
2747b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com>
2748b68e1f86SmrgDate:   Tue May 12 16:44:42 2009 -0700
2749b68e1f86Smrg
2750b68e1f86Smrg    Fix dynamic mode edge cases
2751b68e1f86Smrg    
2752b68e1f86Smrg    The VMware Xorg driver supports dynamic modelines that can be set from
2753b68e1f86Smrg    userspace via an X extension. These are used to implement VM features
2754b68e1f86Smrg    which need to automatically change the resolution of the guest OS.
2755b68e1f86Smrg    
2756b68e1f86Smrg    This driver implements the feature using two modelines.  The driver
2757b68e1f86Smrg    would alternately update one mode then the other, so that in typical
2758b68e1f86Smrg    usage one mode is current and the other is available for the next mode
2759b68e1f86Smrg    switch.
2760b68e1f86Smrg    
2761b68e1f86Smrg    This usually worked, but there were many edge cases that could cause
2762b68e1f86Smrg    this alternating pattern to get 'out of sync', so we'd end up changing
2763b68e1f86Smrg    the resolution of the current video mode. This could end up putting
2764b68e1f86Smrg    the X server in a state where the screen resolution has been changed,
2765b68e1f86Smrg    but the hardware was never reprogrammed for the new resolution.
2766b68e1f86Smrg    
2767b68e1f86Smrg    This patch fixes the problem by explicitly searching for a dynamic
2768b68e1f86Smrg    mode that isn't currently in use. We no longer rely on the alternating
2769b68e1f86Smrg    pattern.
2770b68e1f86Smrg
2771b68e1f86Smrgcommit cfe8793180ec633dd7a17d059ad882ef461ed1d9
2772b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com>
2773b68e1f86SmrgDate:   Tue May 12 16:43:13 2009 -0700
2774b68e1f86Smrg
2775b68e1f86Smrg    Update README
2776b68e1f86Smrg    
2777b68e1f86Smrg    Updates the copyright date, and replaces the rather out-of-date
2778b68e1f86Smrg    2D documentation with a link to the updated 2D and 3D docs on
2779b68e1f86Smrg    Source Forge.
2780b68e1f86Smrg
2781b68e1f86Smrgcommit e3769142d80953d6da484eb979f5274c8a3abeb3
2782b68e1f86SmrgAuthor: Shelley Gong <shelleygong@vmware.com>
2783b68e1f86SmrgDate:   Thu Apr 16 13:28:47 2009 -0700
2784b68e1f86Smrg
2785b68e1f86Smrg    Automatically add modelines for the driver's built-in set of modes.
2786b68e1f86Smrg    
2787b68e1f86Smrg    The driver has had a built-in set of modes for a while, but there
2788b68e1f86Smrg    was nothing adding modelines to back them up, causing initial modes
2789b68e1f86Smrg    to be rejected at startup with certain Xorg versions.
2790b68e1f86Smrg    
2791b68e1f86Smrg    This change adds the actual modelines for sufficiently new versions
2792b68e1f86Smrg    of the server (>= 1.2), as the necessary calls were only introduced
2793b68e1f86Smrg    at that time.
2794b68e1f86Smrg
2795b68e1f86Smrgcommit 3c223e8f7b03e2d7f8c31faeeeeb37030c461176
2796b68e1f86SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
2797b68e1f86SmrgDate:   Fri Jan 9 16:39:07 2009 -0800
2798b68e1f86Smrg
2799b68e1f86Smrg    Remove xorgconfig & xorgcfg from See Also list in man page
2800b68e1f86Smrg
2801b68e1f86Smrgcommit 1bbef3aa7ab15ee93cd4cd47c3d484ac91f0440d
2802b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
2803b68e1f86SmrgDate:   Tue Aug 19 11:23:44 2008 -0700
2804b68e1f86Smrg
2805b68e1f86Smrg    Bump version for 10.16.5 release.
2806b68e1f86Smrg
2807b68e1f86Smrgcommit 6ea8e5000519865dd936cfe82d67efc7d107a28c
2808b68e1f86SmrgAuthor: Bankim Bhavsar <bbhavsar@vmware.com>
2809b68e1f86SmrgDate:   Tue Aug 19 11:23:02 2008 -0700
2810b68e1f86Smrg
2811b68e1f86Smrg    Add RegionEqual function for older XFree86 versions.
2812b68e1f86Smrg    
2813b68e1f86Smrg    Fixes bug : http://bugzilla.eng.vmware.com/show_bug.cgi?id=312853
2814b68e1f86Smrg    
2815b68e1f86Smrg    When we added AUTOPAINT_COLORKEY capability to our VMware video driver,
2816b68e1f86Smrg    region functions were used to keep track of colorkey painting.
2817b68e1f86Smrg    
2818b68e1f86Smrg    REGION_EQUAL was one of them.
2819b68e1f86Smrg    
2820b68e1f86Smrg    Unfortunately REGION_EQUAL was not present in regionstr.h shipped with XFree86 version
2821b68e1f86Smrg    4.3.0.
2822b68e1f86Smrg    This version is used by TurboLinux 10; causing X server to crash while playing videos.
2823b68e1f86Smrg    
2824b68e1f86Smrg    REGION_EQUAL was added in revision 1.8 of regionstr.h and available for xfree86 version
2825b68e1f86Smrg    4.3.99
2826b68e1f86Smrg    onwards.
2827b68e1f86Smrg    Reference:
2828b68e1f86Smrg    http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/include/regionstr.h.diff?r1=1.7&r2=1.8
2829b68e1f86Smrg    
2830b68e1f86Smrg    When I compiled the existing code(without my change), I see a warning was generated
2831b68e1f86Smrg    indicating REGION_EQUAL is not present.
2832b68e1f86Smrg    Too bad we missed it.
2833b68e1f86Smrg    
2834b68e1f86Smrg    This patch includes
2835b68e1f86Smrg    1) Slightly modified version of miRegionEqual from miRegion.c
2836b68e1f86Smrg    2) Some formating cleanup.
2837b68e1f86Smrg
2838b68e1f86Smrgcommit 0576b87c27d3d885cc698a3cc013bcfa4021942c
2839b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
2840b68e1f86SmrgDate:   Mon Jul 21 15:26:01 2008 -0700
2841b68e1f86Smrg
2842b68e1f86Smrg    Prepare for 10.16.4 release.
2843b68e1f86Smrg
2844b68e1f86Smrgcommit ad8f17dec71632d0e606af1bea9432ece0bc97db
2845b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
2846b68e1f86SmrgDate:   Mon Jul 21 15:23:50 2008 -0700
2847b68e1f86Smrg
2848b68e1f86Smrg    Video Overlay: Handle clipping correctly with AutoPaint colorkey.
2849b68e1f86Smrg    
2850b68e1f86Smrg    We recently added XV_AUTOPAINT_COLORKEY attribute to the X video driver
2851b68e1f86Smrg    to enable applications like Real player that rely on this attribute to
2852b68e1f86Smrg    display video frames in Linux guest.
2853b68e1f86Smrg    
2854b68e1f86Smrg    When this attribute is SET, we paint the colorkey on 1st frame and from
2855b68e1f86Smrg    there on only when the video is moved.
2856b68e1f86Smrg    
2857b68e1f86Smrg    This introduced a bug 305202 with clipping.
2858b68e1f86Smrg    
2859b68e1f86Smrg    Consider a case when the video is playing, obscure the player window
2860b68e1f86Smrg    with another window, without moving the player window, move the other
2861b68e1f86Smrg    window away. The part of the window that was obscured didn't display
2862b68e1f86Smrg    the video.
2863b68e1f86Smrg    
2864b68e1f86Smrg    With this patch instead of relying on the target rectangle, we use
2865b68e1f86Smrg    the clipBoxes supplied in every frame.
2866b68e1f86Smrg
2867b68e1f86Smrgcommit 71f1ca515cd1b3d92397682f4fcea120c392b26e
2868b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
2869b68e1f86SmrgDate:   Fri Jul 18 14:03:09 2008 -0700
2870b68e1f86Smrg
2871b68e1f86Smrg    Prepare for 10.16.3
2872b68e1f86Smrg    
2873b68e1f86Smrg    Bump up version numbers.
2874b68e1f86Smrg
2875b68e1f86Smrgcommit e7f404938b7ccd4c7e61c71c6c182ca8ee8d875f
2876b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
2877b68e1f86SmrgDate:   Fri Jul 18 13:59:34 2008 -0700
2878b68e1f86Smrg
2879b68e1f86Smrg    Video Overlay: Add XV_AUTOPAINT_COLORKEY capability to the Xv extension of Linux guest driver.
2880b68e1f86Smrg    
2881b68e1f86Smrg    Applications use XV_AUTOPAINT_COLORKEY capability to let the driver handle the painting
2882b68e1f86Smrg    of colorkey.
2883b68e1f86Smrg    
2884b68e1f86Smrg    Real Player assumes this capability as ON by default and hence prior to this patch videos
2885b68e1f86Smrg    didn't play with Real player.
2886b68e1f86Smrg    
2887b68e1f86Smrg    With this patch:
2888b68e1f86Smrg    a) If AUTOPAINT_COLORKEY is SET then the driver handles the painting of the colorkey.
2889b68e1f86Smrg    Painting is done on the 1st frame and from there on only if the video frame moves.
2890b68e1f86Smrg    
2891b68e1f86Smrg    b) Adds UYVY fourcc format to keep it consistent with Windows SVGA driver and the host backends.
2892b68e1f86Smrg    
2893b68e1f86Smrg    c) Changes the default colorkey from a pungent GREEN to a darker shade.
2894b68e1f86Smrg    Real Player sets this colorkey and it looks better when the video is moved around.
2895b68e1f86Smrg
2896b68e1f86Smrgcommit 0705e7093e42f7a5ae909477150fd5bb416f8da0
2897b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com>
2898b68e1f86SmrgDate:   Wed Jul 2 21:32:44 2008 -0400
2899b68e1f86Smrg
2900b68e1f86Smrg    Trivial fix: Delete ASSERT() statement
2901b68e1f86Smrg    
2902b68e1f86Smrg    Delete the ASSERT() statement that got introduced in the previous check-in.
2903b68e1f86Smrg
2904b68e1f86Smrgcommit f4b5158960c3402e18a0fcf0e0211b68b0f0f127
2905b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com>
2906b68e1f86SmrgDate:   Wed Jul 2 18:17:58 2008 -0400
2907b68e1f86Smrg
2908b68e1f86Smrg    Fix video overlay offscreen allocation bug
2909b68e1f86Smrg    
2910b68e1f86Smrg    When Kaffeine player stops a video, it sets the cleanup flag to FALSE and may
2911b68e1f86Smrg    start playing the next video. In its present state the driver does not check or
2912b68e1f86Smrg    clean up the offscreen area. This is a bug as the newer video might need more
2913b68e1f86Smrg    offscreen space for its frame. The fix is to check for the offscreen frame size
2914b68e1f86Smrg    in videoPlay and restart the stream if necessary.
2915b68e1f86Smrg
2916b68e1f86Smrgcommit b53bb2ad4c6f6e378cbf82a98cac917736d62740
2917b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com>
2918b68e1f86SmrgDate:   Thu Jun 12 17:34:30 2008 -0400
2919b68e1f86Smrg
2920b68e1f86Smrg    Prepare for 10.16.2
2921b68e1f86Smrg    
2922b68e1f86Smrg    Bump up version numbers.
2923b68e1f86Smrg
2924b68e1f86Smrgcommit 1f7a8390a32852d2ff0039a7d8138a292d17b50a
2925b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com>
2926b68e1f86SmrgDate:   Tue Apr 29 18:29:11 2008 -0400
2927b68e1f86Smrg
2928b68e1f86Smrg    Fix VMWARE_CTRL and Xinerama Initialization
2929b68e1f86Smrg    
2930b68e1f86Smrg    Move initialization code for the vmware control and xinerama extensions to
2931b68e1f86Smrg    VMWAREScreenInit(), so that auto-resize and multi-mon work fine after a user
2932b68e1f86Smrg    logs out and logs in again in a graphical display manager.
2933b68e1f86Smrg
2934b68e1f86Smrgcommit db027200474684c0aa4b9387f3ed53b2e5f24478
2935b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com>
2936b68e1f86SmrgDate:   Tue Apr 22 14:18:45 2008 -0400
2937b68e1f86Smrg
2938b68e1f86Smrg    More xorg and xfree86 backwards compatibility
2939b68e1f86Smrg    
2940b68e1f86Smrg    Push most of the xorg-server version checking into the configure script. With
2941b68e1f86Smrg    this change, unmodified driver source compiles in the XFree86 4.3 tree.
2942b68e1f86Smrg
2943b68e1f86Smrgcommit 6849c0a5fbf10722ca475d2ffcce7d0d95d2377a
2944b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com>
2945b68e1f86SmrgDate:   Fri Apr 18 18:00:38 2008 -0400
2946b68e1f86Smrg
2947b68e1f86Smrg    Change // comments to /*
2948b68e1f86Smrg    
2949b68e1f86Smrg    This will make it easier to compile the driver against ancient versions of X.
2950b68e1f86Smrg
2951b68e1f86Smrgcommit b6c59761e2b984be32493f35224db523dd62bcd8
2952b68e1f86SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
2953b68e1f86SmrgDate:   Thu Apr 17 23:04:45 2008 -0400
2954b68e1f86Smrg
2955b68e1f86Smrg    Compile warning fixes
2956b68e1f86Smrg    
2957b68e1f86Smrg    Major problem was prototype vmwareInitVideo not matching implementation
2958b68e1f86Smrg    vmwareVideoInit. Remaining are adding an "ansification" of a function without
2959b68e1f86Smrg    arguments, and removing/disabling unused variables/functions.
2960b68e1f86Smrg
2961b68e1f86Smrgcommit 7870dc715b1efe173af1e2664778e2066508e066
2962b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com>
2963b68e1f86SmrgDate:   Thu Apr 17 20:54:23 2008 -0400
2964b68e1f86Smrg
2965b68e1f86Smrg    Bump version to 10.16.1 in configure.ac
2966b68e1f86Smrg    
2967b68e1f86Smrg    The previous change didn't bump up the version in configure.ac.
2968b68e1f86Smrg
2969b68e1f86Smrgcommit be75c66fa7933c7dfa86e5514c744f47734c5fc8
2970b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com>
2971b68e1f86SmrgDate:   Thu Apr 17 20:39:02 2008 -0400
2972b68e1f86Smrg
2973b68e1f86Smrg    Prepare for 10.16.1
2974b68e1f86Smrg    
2975b68e1f86Smrg    Update the modinfo section and make a configure.ac fix.
2976b68e1f86Smrg
2977b68e1f86Smrgcommit 87e9b32618f037d78d7853b48e40a71533b764d2
2978b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com>
2979b68e1f86SmrgDate:   Thu Apr 17 19:16:48 2008 -0400
2980b68e1f86Smrg
2981b68e1f86Smrg    Fix build for all modular versions of Xorg
2982b68e1f86Smrg    
2983b68e1f86Smrg    This change makes the video driver compile with Xorg 7.0. There are a couple of
2984b68e1f86Smrg    trivial changes that bring down the maximum Xserver version down to 2.0. Hacky,
2985b68e1f86Smrg    but good enough for now.
2986b68e1f86Smrg
2987b68e1f86Smrgcommit e4fa13951a7c5dd53005a63392a439e2329fab9c
2988b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com>
2989b68e1f86SmrgDate:   Wed Mar 26 21:32:47 2008 -0400
2990b68e1f86Smrg
2991b68e1f86Smrg    Send down guest display topology
2992b68e1f86Smrg    
2993b68e1f86Smrg    Send down the Xinerama topology from the guest down to the host, by setting
2994b68e1f86Smrg    display topology registers in the SVGA device.
2995b68e1f86Smrg
2996b68e1f86Smrgcommit 5aced9e39a0bf7590c841824c0b66060eb7d5e03
2997b68e1f86SmrgAuthor: Adam Jackson <ajax@redhat.com>
2998b68e1f86SmrgDate:   Wed Mar 19 17:03:18 2008 -0400
2999b68e1f86Smrg
3000b68e1f86Smrg    vmware 10.16.0
3001b68e1f86Smrg
3002b68e1f86Smrgcommit cd8bb3018946e82b98207984efc26b13ac260e5e
3003b68e1f86SmrgAuthor: Adam Jackson <ajax@redhat.com>
3004b68e1f86SmrgDate:   Wed Mar 19 17:00:41 2008 -0400
3005b68e1f86Smrg
3006b68e1f86Smrg    Fix distcheck.
3007b68e1f86Smrg
3008b68e1f86Smrgcommit 1314a1cd22823a5a7202dac4ac04da3801f1ec94
3009b68e1f86SmrgAuthor: Bankim Bhavsar <bbhavsar@vmware.com>
3010b68e1f86SmrgDate:   Fri Mar 14 12:42:40 2008 -0400
3011b68e1f86Smrg
3012b68e1f86Smrg    Video Overlay: Source video parameters
3013b68e1f86Smrg    
3014b68e1f86Smrg    This patch adds parameters to the source video frame.  Applications can request
3015b68e1f86Smrg    only a subset of the source video frame to be displayed. These parameters are
3016b68e1f86Smrg    srcX, srcY, srcWidth and srcHeight. width and height represent the entire
3017b68e1f86Smrg    source video frame.
3018b68e1f86Smrg
3019b68e1f86Smrgcommit fdef3fd5ea62a2df6283d48ba18d5c60300534ef
3020b68e1f86SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
3021b68e1f86SmrgDate:   Sun Mar 9 00:08:32 2008 +0100
3022b68e1f86Smrg
3023b68e1f86Smrg    Makefile.am: nuke RCS Id
3024b68e1f86Smrg
3025b68e1f86Smrgcommit bfd8398dde2d2de238c600eece9374d24d7d8549
3026b68e1f86SmrgAuthor: Bankim Bhavsar <bbhavsar@vmware.com>
3027b68e1f86SmrgDate:   Wed Jan 23 22:13:07 2008 -0800
3028b68e1f86Smrg
3029b68e1f86Smrg    Xv extension for VMware's video driver
3030b68e1f86Smrg    
3031b68e1f86Smrg    This patch implements the Xv extension for VMware's X video driver.
3032b68e1f86Smrg    
3033b68e1f86Smrg    The Xv specification can be found here
3034b68e1f86Smrg    http://www.xfree86.org/current/DESIGN16.html
3035b68e1f86Smrg    
3036b68e1f86Smrg    I've written a trivial offscreen memory manager that allocates memory from the
3037b68e1f86Smrg    bottom part of the Video RAM and it can handle only 1 video-stream. Eventually
3038b68e1f86Smrg    we intend to support upto 32 video-streams (there is already support for
3039b68e1f86Smrg    multiple video streams in respective backends).
3040b68e1f86Smrg
3041b68e1f86Smrgcommit a33ab73ffa5d3797d16c3a265ddefc56a5a93b6b
3042b68e1f86SmrgAuthor: Vinay <vinay@vinayb-dev4.(none)>
3043b68e1f86SmrgDate:   Sat Jan 19 08:39:24 2008 -0800
3044b68e1f86Smrg
3045b68e1f86Smrg    Trivial libpciaccess related fix
3046b68e1f86Smrg    
3047b68e1f86Smrg    Fix VMWAREUnmapMem to correctly unmap memory for the libpciaccess case.
3048b68e1f86Smrg
3049b68e1f86Smrgcommit 62d898669baccfd4c312f3ed8f228d0c3217d3c3
3050b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com>
3051b68e1f86SmrgDate:   Mon Oct 8 10:54:04 2007 -0700
3052b68e1f86Smrg
3053b68e1f86Smrg    Port to libpciaccess.
3054b68e1f86Smrg
3055b68e1f86Smrgcommit 73db59fd82ced7a88f6da35d5088608e163f3d86
3056b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3057b68e1f86SmrgDate:   Tue Sep 25 16:06:38 2007 -0700
3058b68e1f86Smrg
3059b68e1f86Smrg    Update for 10.15.2 release
3060b68e1f86Smrg
3061b68e1f86Smrgcommit ee2fe14d37c9f3c8a170f8e3fcbc62403687ab8f
3062b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3063b68e1f86SmrgDate:   Mon Sep 24 11:48:12 2007 -0700
3064b68e1f86Smrg
3065b68e1f86Smrg    There are problems when running with old X releases with a
3066b68e1f86Smrg    global symbol collision with the mouse driver.
3067b68e1f86Smrg
3068b68e1f86Smrgcommit cfdb0140fa53155ae134ba961ec7d593d5d94713
3069b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3070b68e1f86SmrgDate:   Mon Sep 10 21:19:38 2007 -0700
3071b68e1f86Smrg
3072b68e1f86Smrg    Guard modinfo section against gcc.
3073b68e1f86Smrg
3074b68e1f86Smrgcommit e41aef1fb187c1b450fbea0163eb16e0c40f0435
3075b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3076b68e1f86SmrgDate:   Mon Sep 10 21:16:04 2007 -0700
3077b68e1f86Smrg
3078b68e1f86Smrg    Ready 10.15.1 release.
3079b68e1f86Smrg    
3080b68e1f86Smrg    To allow for easier detection of driver version by other VMware tools,
3081b68e1f86Smrg    we are embedding the version in a .modinfo section so that the Linux
3082b68e1f86Smrg    kernel 'modinfo' tool can be (ab)used to check it.
3083b68e1f86Smrg
3084b68e1f86Smrgcommit 2331c7d1629f9841c02cf907ef4fa8b679cc5141
3085b68e1f86SmrgAuthor: James Cloos <cloos@jhcloos.com>
3086b68e1f86SmrgDate:   Mon Sep 3 05:52:51 2007 -0400
3087b68e1f86Smrg
3088b68e1f86Smrg    Add *~ to .gitignore to skip patch/emacs droppings
3089b68e1f86Smrg
3090b68e1f86Smrgcommit ec4dc29434bbbcf382de51fe3355679654489ad7
3091b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3092b68e1f86SmrgDate:   Mon Jul 9 13:45:22 2007 -0700
3093b68e1f86Smrg
3094b68e1f86Smrg    Update copyright date.
3095b68e1f86Smrg
3096b68e1f86Smrgcommit 0c76b95e7aeac034cc598ea6a407187f76466411
3097b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3098b68e1f86SmrgDate:   Fri Feb 9 15:06:17 2007 -0800
3099b68e1f86Smrg
3100b68e1f86Smrg    Add svga_modes.h to Makefile.am
3101b68e1f86Smrg
3102b68e1f86Smrgcommit a283c62c1db9e25ba11c6d72e4d00e0d911d64a2
3103b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3104b68e1f86SmrgDate:   Fri Feb 9 11:09:17 2007 -0800
3105b68e1f86Smrg
3106b68e1f86Smrg    Filter out default modes that are larger than the hardware
3107b68e1f86Smrg    maxmimum size and add an explicit mode for the hardware
3108b68e1f86Smrg    maximum.
3109b68e1f86Smrg
3110b68e1f86Smrgcommit f4540555dc8c823dfec53dddeb82e2b7b0dbfe3d
3111b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3112b68e1f86SmrgDate:   Fri Feb 9 10:00:32 2007 -0800
3113b68e1f86Smrg
3114b68e1f86Smrg    Correct the incorrect 1080p resolution.
3115b68e1f86Smrg    
3116b68e1f86Smrg    Should be 1920x1080 and not 1900x1080. Whoops.
3117b68e1f86Smrg
3118b68e1f86Smrgcommit eca6e9f9458440feebd6598aee24f02a3fd7a75f
3119b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3120b68e1f86SmrgDate:   Thu Feb 8 18:22:16 2007 -0800
3121b68e1f86Smrg
3122b68e1f86Smrg    Bump version to 10.15.0
3123b68e1f86Smrg    
3124b68e1f86Smrg    This release adds truely usable resizing support by
3125b68e1f86Smrg    removing the restriction that the you cannot resize
3126b68e1f86Smrg    larger than the initial mode.
3127b68e1f86Smrg
3128b68e1f86Smrgcommit 2ec8c25cc935a318bd07c0d1fba9960dfe8f38d4
3129b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3130b68e1f86SmrgDate:   Thu Feb 8 18:07:19 2007 -0800
3131b68e1f86Smrg
3132b68e1f86Smrg    Fix a race condition when switching to a multihead fullscreen mode.
3133b68e1f86Smrg    
3134b68e1f86Smrg    Due to implemtation details on the host side, switching to a multihead
3135b68e1f86Smrg    fullscreen mode means multiple mode changes along the way. However,
3136b68e1f86Smrg    because rrSetScreenConfig returns before the mode change completes,
3137b68e1f86Smrg    we can enter a race, where a subsequent SetDisplayTopology overrides
3138b68e1f86Smrg    the current pending one, leading to a mode switch where the resolution
3139b68e1f86Smrg    and topology are no longer consistent.
3140b68e1f86Smrg    
3141b68e1f86Smrg    So, we fix this by ignoring any attempts to set the pending topology if
3142b68e1f86Smrg    one is already pending.
3143b68e1f86Smrg
3144b68e1f86Smrgcommit a8afe781e108773e4a575ecc3330a5aa83c1cbb9
3145b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3146b68e1f86SmrgDate:   Thu Feb 8 17:08:08 2007 -0800
3147b68e1f86Smrg
3148b68e1f86Smrg        Add a bunch of useful modes to the mode list.
3149b68e1f86Smrg    
3150b68e1f86Smrg        The X server prunes modes above the initial mode and
3151b68e1f86Smrg        the number of default modes varies with distro and
3152b68e1f86Smrg        server version. As it's easy to do, let's add a bunch
3153b68e1f86Smrg        of useful versions in the driver so that users don't
3154b68e1f86Smrg        have to mess with their config files as often.
3155b68e1f86Smrg
3156b68e1f86Smrgcommit 520f570aa3869090eac3accf6a2b3886ab188590
3157b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3158b68e1f86SmrgDate:   Thu Feb 8 13:44:57 2007 -0800
3159b68e1f86Smrg
3160b68e1f86Smrg    Update man page to remove mention of the NoAccel option which
3161b68e1f86Smrg    no longer exists as we don't do any 'acceleration'.
3162b68e1f86Smrg
3163b68e1f86Smrgcommit af8c0596a224ba8436d55c5dd6063fff688c7ad1
3164b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3165b68e1f86SmrgDate:   Thu Feb 8 13:42:31 2007 -0800
3166b68e1f86Smrg
3167b68e1f86Smrg    Remove XAA 'acceleration'.
3168b68e1f86Smrg    
3169b68e1f86Smrg    We have a lot of stale code to 'accelerate' certain operations
3170b68e1f86Smrg    through XAA. However, in practice, this acceleration is
3171b68e1f86Smrg    completely unhelpful because whenever we encounter an
3172b68e1f86Smrg    unaccelerated action, we have to sync and flush the fifo
3173b68e1f86Smrg    which kills any performance gain.
3174b68e1f86Smrg    
3175b68e1f86Smrg    As such, the virtual hardware doesn't even advertise these
3176b68e1f86Smrg    acceleration capabilities anymore, so the code is completely
3177b68e1f86Smrg    unusued.
3178b68e1f86Smrg    
3179b68e1f86Smrg    In addition, XAA is on the way out, so there's no point
3180b68e1f86Smrg    leaving in dead code which will have to go in the fairly
3181b68e1f86Smrg    near future.
3182b68e1f86Smrg    
3183b68e1f86Smrg    The one operation we can meaningfully accelerate is a
3184b68e1f86Smrg    front-only fill and when we get around to implementing
3185b68e1f86Smrg    that, we'll use EXA instead.
3186b68e1f86Smrg
3187b68e1f86Smrgcommit 3dc1ebc7c2c76f575b5150f1890ec13f8bd3e8a1
3188b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3189b68e1f86SmrgDate:   Thu Feb 8 10:33:14 2007 -0800
3190b68e1f86Smrg
3191b68e1f86Smrg    Make resizing work once and for all.
3192b68e1f86Smrg    
3193b68e1f86Smrg    This change removes the limitation on resizing larger than the
3194b68e1f86Smrg    initial size and removes the need for pitch-locking bu resizing
3195b68e1f86Smrg    the screen pixmap. Now the only limit on the screen size is
3196b68e1f86Smrg    the maximum width/height reported by the virtual hardware which
3197b68e1f86Smrg    is configured on the host side.
3198b68e1f86Smrg
3199b68e1f86Smrgcommit 188c2b44f0f47093092414f9364a52cc2d5016ad
3200b68e1f86SmrgAuthor: Eamon Walsh <ewalsh@tycho.nsa.gov>
3201b68e1f86SmrgDate:   Mon Dec 18 14:05:19 2006 -0500
3202b68e1f86Smrg
3203b68e1f86Smrg    Revert "Convert callers of LookupWindow() to dixLookupWindow()."
3204b68e1f86Smrg    
3205b68e1f86Smrg    This reverts commit 1f298c24fe1dde35f0d77cc34518eb9c2b873fc5.
3206b68e1f86Smrg
3207b68e1f86Smrgcommit 1f298c24fe1dde35f0d77cc34518eb9c2b873fc5
3208b68e1f86SmrgAuthor: Eamon Walsh <ewalsh@tycho.nsa.gov>
3209b68e1f86SmrgDate:   Fri Dec 15 17:41:52 2006 -0500
3210b68e1f86Smrg
3211b68e1f86Smrg    Convert callers of LookupWindow() to dixLookupWindow().
3212b68e1f86Smrg
3213b68e1f86Smrgcommit 9d41384616c8f6d00b53a61634f73e728d86d615
3214b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3215b68e1f86SmrgDate:   Wed Dec 6 16:48:12 2006 -0800
3216b68e1f86Smrg
3217b68e1f86Smrg    Explicitly initialise buffer to NULL for parsing xinerama topologies.
3218b68e1f86Smrg
3219b68e1f86Smrgcommit ac2a57ea7aea00c695495aa01c27402569a9514a
3220b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3221b68e1f86SmrgDate:   Tue Oct 31 19:17:39 2006 -0800
3222b68e1f86Smrg
3223b68e1f86Smrg    Update man page to document "StaticXinerama"
3224b68e1f86Smrg
3225b68e1f86Smrgcommit 4dd038bd73208184344cae4f363c492c7e61524b
3226b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3227b68e1f86SmrgDate:   Tue Oct 31 19:12:29 2006 -0800
3228b68e1f86Smrg
3229b68e1f86Smrg    Bump version to 10.14.0
3230b68e1f86Smrg
3231b68e1f86Smrgcommit 73945118a6b3cad60f4a1927b9394206d36e8281
3232b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3233b68e1f86SmrgDate:   Mon Oct 30 11:52:57 2006 -0800
3234b68e1f86Smrg
3235b68e1f86Smrg    Fix more warnings.
3236b68e1f86Smrg
3237b68e1f86Smrgcommit e0dca2ff0b695b60830cf8f10a2c0585602a4d40
3238b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3239b68e1f86SmrgDate:   Mon Oct 30 10:53:18 2006 -0800
3240b68e1f86Smrg
3241b68e1f86Smrg    Fix some warnings noted when compiling the code against
3242b68e1f86Smrg    older Xorg versions.
3243b68e1f86Smrg
3244b68e1f86Smrgcommit f96d12047725becf0515cc4df8572ca4a3956309
3245b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3246b68e1f86SmrgDate:   Wed Oct 25 18:06:13 2006 -0700
3247b68e1f86Smrg
3248b68e1f86Smrg    Refactor static Xinerama parsing.
3249b68e1f86Smrg
3250b68e1f86Smrgcommit 57b32570f84d06180be2c9d249174b04f02d9fca
3251b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3252b68e1f86SmrgDate:   Wed Oct 25 10:49:27 2006 -0700
3253b68e1f86Smrg
3254b68e1f86Smrg    Add support for a static Xinerama configuration to be specified
3255b68e1f86Smrg    in xorg.conf. This static configuration will always be used and
3256b68e1f86Smrg    any attempts to update it will be ignored.
3257b68e1f86Smrg    
3258b68e1f86Smrg    Note that all xinerama aware apps that I have seen will not
3259b68e1f86Smrg    sanity check the xinerama extents against the screen size, so
3260b68e1f86Smrg    if the screen doesn't properly enclose the xinerama extents,
3261b68e1f86Smrg    expect your apps to punish you accordingly.
3262b68e1f86Smrg
3263b68e1f86Smrgcommit c62a63b00f7c43e265079d31f1bf7ff447423056
3264b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3265b68e1f86SmrgDate:   Wed Oct 11 11:47:39 2006 -0700
3266b68e1f86Smrg
3267b68e1f86Smrg    Update .gitignore
3268b68e1f86Smrg
3269b68e1f86Smrgcommit 9345f8146ae41f7d2269e6fea5e3cba385139960
3270b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3271b68e1f86SmrgDate:   Wed Oct 11 11:47:25 2006 -0700
3272b68e1f86Smrg
3273b68e1f86Smrg    Add vmwarectrl sample client.
3274b68e1f86Smrg
3275b68e1f86Smrgcommit b35666fdd567d4cd92574aeecadb8e0d41b32d77
3276b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3277b68e1f86SmrgDate:   Wed Oct 11 11:36:22 2006 -0700
3278b68e1f86Smrg
3279b68e1f86Smrg    Add .gitignore files.
3280b68e1f86Smrg
3281b68e1f86Smrgcommit 7631f4d8db2b83878bd886204aaa978dac9c47b5
3282b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3283b68e1f86SmrgDate:   Wed Oct 11 11:32:18 2006 -0700
3284b68e1f86Smrg
3285b68e1f86Smrg    Document the 'Xinerama' option and tweak the default to reflect
3286b68e1f86Smrg    the capabilites of the underlying hardware.
3287b68e1f86Smrg
3288b68e1f86Smrgcommit 79de175986817cac2fedb267cc9a04438b3694d4
3289b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3290b68e1f86SmrgDate:   Wed Oct 11 11:26:04 2006 -0700
3291b68e1f86Smrg
3292b68e1f86Smrg    Check for xinerama in configure.ac
3293b68e1f86Smrg
3294b68e1f86Smrgcommit 34e7264e99ceab5e9e2e022ed9a56531845b0b17
3295b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3296b68e1f86SmrgDate:   Wed Oct 11 10:57:57 2006 -0700
3297b68e1f86Smrg
3298b68e1f86Smrg    Add xinerama support to the vmware video driver. (Better late than never).
3299b68e1f86Smrg    
3300b68e1f86Smrg    With this change, the VMWARE_CTRL extension is updated so that it can
3301b68e1f86Smrg    receive topology updates at runtime. I will add some sample client code
3302b68e1f86Smrg    separately.
3303b68e1f86Smrg    
3304b68e1f86Smrg    I also intend to add support for a static initial topology defined in
3305b68e1f86Smrg    xorg.conf but I haven't got around to it yet due to hating to write
3306b68e1f86Smrg    string parsing code.
3307b68e1f86Smrg
3308b68e1f86Smrgcommit dd201e23cc50ded2f316dbfa5d265608b80d994d
3309b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3310b68e1f86SmrgDate:   Wed Sep 20 11:40:54 2006 -0700
3311b68e1f86Smrg
3312b68e1f86Smrg    Add support for the upcoming PITCHLOCK register. The FIFO register
3313b68e1f86Smrg    is deprecated but support is retained so the driver works with
3314b68e1f86Smrg    Workstation 5.5 and friends.
3315b68e1f86Smrg
3316b68e1f86Smrgcommit 0850feff708ded63c27dc938ca4b9b8fcbed122b
3317b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net>
3318b68e1f86SmrgDate:   Sun Sep 3 10:45:22 2006 -0700
3319b68e1f86Smrg
3320b68e1f86Smrg    Fix https://bugs.freedesktop.org/show_bug.cgi?id=8094
3321b68e1f86Smrg    Lazily allocate the dynamic modes used for pixel precise guest
3322b68e1f86Smrg    resizing. They will not appear until they are neeed.
3323b68e1f86Smrg
3324b68e1f86Smrgcommit 86aeab28b806642946e59a98573c5b25840c35ed
3325b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net>
3326b68e1f86SmrgDate:   Fri Apr 7 21:57:24 2006 +0000
3327b68e1f86Smrg
3328b68e1f86Smrg    Unlibcwrap. Bump server version requirement. Bump to 1.1.0.
3329b68e1f86Smrg
3330b68e1f86Smrgcommit fe6963e09a8197f5c11e8a828c8da4024601a466
3331b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net>
3332b68e1f86SmrgDate:   Fri Apr 7 21:55:49 2006 +0000
3333b68e1f86Smrg
3334b68e1f86Smrg    Unlibcwrap. Bump server version requirement. Bump to 10.13.0.
3335b68e1f86Smrg
3336b68e1f86Smrgcommit ac83dff5d6a54b05e0377ceac2b133238293fa0e
3337b68e1f86SmrgAuthor: philipl <philipl>
3338b68e1f86SmrgDate:   Tue Feb 7 18:51:35 2006 +0000
3339b68e1f86Smrg
3340b68e1f86Smrg    Add VMWARE_CTRL extension.
3341b68e1f86Smrg
3342b68e1f86Smrgcommit a49f1e65147dc1ab805c74951cb0915b1352e8a9
3343b68e1f86SmrgAuthor: philipl <philipl>
3344b68e1f86SmrgDate:   Tue Jan 17 00:40:43 2006 +0000
3345b68e1f86Smrg
3346b68e1f86Smrg    Use DriverFunc to adjust physical size to keep DPI constant.
3347b68e1f86Smrg
3348b68e1f86Smrgcommit ff3f9dc930ff6bd2d6a73d56c70b0284a597cd62
3349b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org>
3350b68e1f86SmrgDate:   Wed Dec 21 02:30:04 2005 +0000
3351b68e1f86Smrg
3352b68e1f86Smrg    Update package version for X11R7 release.
3353b68e1f86Smrg
3354b68e1f86Smrgcommit aa1da8e57939081f15db04fa8c654f363f4e4cb7
3355b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net>
3356b68e1f86SmrgDate:   Mon Dec 19 16:25:56 2005 +0000
3357b68e1f86Smrg
3358b68e1f86Smrg    Stub COPYING files
3359b68e1f86Smrg
3360b68e1f86Smrgcommit 835f8000fdbdd35a6bbc5eabf1252d4040a798da
3361b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org>
3362b68e1f86SmrgDate:   Thu Dec 15 00:24:21 2005 +0000
3363b68e1f86Smrg
3364b68e1f86Smrg    Update package version number for final X11R7 release candidate.
3365b68e1f86Smrg
3366b68e1f86Smrgcommit 32a969be355c0c948739b4f18e0caa83c78960cc
3367b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org>
3368b68e1f86SmrgDate:   Tue Dec 6 22:48:41 2005 +0000
3369b68e1f86Smrg
3370b68e1f86Smrg    Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
3371b68e1f86Smrg
3372b68e1f86Smrgcommit 643a290d01553c9fefe9b4e268ae515d49cd1af9
3373b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org>
3374b68e1f86SmrgDate:   Sat Dec 3 05:49:37 2005 +0000
3375b68e1f86Smrg
3376b68e1f86Smrg    Update package version number for X11R7 RC3 release.
3377b68e1f86Smrg
3378b68e1f86Smrgcommit 9d0f12ee6bf340765317214ffef2f70883025e9e
3379b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org>
3380b68e1f86SmrgDate:   Fri Dec 2 02:16:12 2005 +0000
3381b68e1f86Smrg
3382b68e1f86Smrg    Remove extraneous AC_MSG_RESULT.
3383b68e1f86Smrg
3384b68e1f86Smrgcommit e0a08567f46f73005589876d38e3f5ff7543557b
3385b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net>
3386b68e1f86SmrgDate:   Tue Nov 29 23:30:06 2005 +0000
3387b68e1f86Smrg
3388b68e1f86Smrg    Only build dlloader modules by default.
3389b68e1f86Smrg
3390b68e1f86Smrgcommit c80ca69d0160b78e8d2bbeae01de52978f8e581f
3391b68e1f86SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com>
3392b68e1f86SmrgDate:   Mon Nov 28 22:04:15 2005 +0000
3393b68e1f86Smrg
3394b68e1f86Smrg    Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
3395b68e1f86Smrg        update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
3396b68e1f86Smrg
3397b68e1f86Smrgcommit 417099c602463ff364f70a938c4a2d2275d8a5b7
3398b68e1f86SmrgAuthor: Eric Anholt <anholt@freebsd.org>
3399b68e1f86SmrgDate:   Mon Nov 21 10:49:23 2005 +0000
3400b68e1f86Smrg
3401b68e1f86Smrg    Add .cvsignores for drivers.
3402b68e1f86Smrg
3403b68e1f86Smrgcommit 26a28492f738defa0445059c2dd6bb9cad89d0aa
3404b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org>
3405b68e1f86SmrgDate:   Wed Nov 9 21:31:21 2005 +0000
3406b68e1f86Smrg
3407b68e1f86Smrg    Bump version numbers for X11R6.9/X11R7 RC2.
3408b68e1f86Smrg
3409b68e1f86Smrgcommit 9ba2f5c58f6ffc9533f5d1852b6d7ba25fa4785a
3410b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org>
3411b68e1f86SmrgDate:   Wed Nov 9 21:15:23 2005 +0000
3412b68e1f86Smrg
3413b68e1f86Smrg    Update package version number for X11R7 RC2 release.
3414b68e1f86Smrg
3415b68e1f86Smrgcommit 731860b1fea54f2ce54fbf02ab77d7c01f381f80
3416b68e1f86SmrgAuthor: nolan <nolan>
3417b68e1f86SmrgDate:   Thu Nov 3 04:26:00 2005 +0000
3418b68e1f86Smrg
3419b68e1f86Smrg    Fix a bug where the cursor disappears. Committed on behalf of Shelley Gong
3420b68e1f86Smrg        (shelleygong@vmware.com).
3421b68e1f86Smrg
3422b68e1f86Smrgcommit 623b3c8297fc0b0d05ce0d6684ef3ab57054b0eb
3423b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org>
3424b68e1f86SmrgDate:   Tue Nov 1 15:08:57 2005 +0000
3425b68e1f86Smrg
3426b68e1f86Smrg    Update pkgcheck depedencies to work with separate build roots.
3427b68e1f86Smrg
3428b68e1f86Smrgcommit 4f1ef5a0bf2172b9d38c6b1b5dd92ae8efe01f42
3429b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org>
3430b68e1f86SmrgDate:   Wed Oct 19 02:48:06 2005 +0000
3431b68e1f86Smrg
3432b68e1f86Smrg    Update package version number for RC1 release.
3433b68e1f86Smrg
3434b68e1f86Smrgcommit 3abe1c93562dbc4bbebfd293f7e90972e90c9dcc
3435b68e1f86SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com>
3436b68e1f86SmrgDate:   Tue Oct 18 00:01:55 2005 +0000
3437b68e1f86Smrg
3438b68e1f86Smrg    Use @DRIVER_MAN_SUFFIX@ instead of $(DRIVER_MAN_SUFFIX) in macro
3439b68e1f86Smrg        substitutions to work better with BSD make
3440b68e1f86Smrg
3441b68e1f86Smrgcommit ba3716950db330db08960248827bbf9321d42d71
3442b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net>
3443b68e1f86SmrgDate:   Mon Oct 17 22:57:38 2005 +0000
3444b68e1f86Smrg
3445b68e1f86Smrg    More 1.7 braindamage: define EXTRA_DIST in terms of @DRIVER_NAME@ instead
3446b68e1f86Smrg        of indirectly
3447b68e1f86Smrg
3448b68e1f86Smrgcommit 18207a8cc41044538520dd9f0036e44d3fe26f94
3449b68e1f86SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com>
3450b68e1f86SmrgDate:   Mon Oct 17 00:09:09 2005 +0000
3451b68e1f86Smrg
3452b68e1f86Smrg    Use sed & cpp to substitute variables in driver man pages
3453b68e1f86Smrg
3454b68e1f86Smrgcommit bce0feda4d05bd8fd4db20476e117026a21f3906
3455b68e1f86SmrgAuthor: nolan <nolan>
3456b68e1f86SmrgDate:   Fri Sep 23 02:55:25 2005 +0000
3457b68e1f86Smrg
3458b68e1f86Smrg    Support for XRandR in the VMware driver. Committed on behalf of Phil
3459b68e1f86Smrg        Langdale (plangdale@vmware.com)
3460b68e1f86Smrg
3461b68e1f86Smrgcommit f06924363cd77770257db5aac6d4d3c6add89dfa
3462b68e1f86SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
3463b68e1f86SmrgDate:   Thu Aug 18 09:03:55 2005 +0000
3464b68e1f86Smrg
3465b68e1f86Smrg    Update autogen.sh to one that does objdir != srcdir.
3466b68e1f86Smrg
3467b68e1f86Smrgcommit 120d7d1c616d1e2e3c7ca0d1d119d1b0731491c6
3468b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org>
3469b68e1f86SmrgDate:   Fri Jul 29 21:22:46 2005 +0000
3470b68e1f86Smrg
3471b68e1f86Smrg    Various changes preparing packages for RC0:
3472b68e1f86Smrg    - Verify and update package version numbers as needed
3473b68e1f86Smrg    - Implement versioning scheme
3474b68e1f86Smrg    - Change bug address to point to bugzilla bug entry form
3475b68e1f86Smrg    - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
3476b68e1f86Smrg        reenable it)
3477b68e1f86Smrg    - Fix makedepend to use pkgconfig and pass distcheck
3478b68e1f86Smrg    - Update build script to build macros first
3479b68e1f86Smrg    - Update modular Xorg version
3480b68e1f86Smrg
3481b68e1f86Smrgcommit cd14003e4bf878e464437143cf18d30803ace999
3482b68e1f86SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
3483b68e1f86SmrgDate:   Tue Jul 26 23:57:30 2005 +0000
3484b68e1f86Smrg
3485b68e1f86Smrg    Build system for vmware
3486b68e1f86Smrg
3487b68e1f86Smrgcommit e5ab935718e3f6aea8edc5edef5c0bd78af0ba14
3488b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net>
3489b68e1f86SmrgDate:   Mon Jul 11 02:30:07 2005 +0000
3490b68e1f86Smrg
3491b68e1f86Smrg    Prep for modular builds by adding guarded #include "config.h" everywhere.
3492b68e1f86Smrg
3493b68e1f86Smrgcommit daa2be7a9adf977eb4b63bb601d4b8b0b2881903
3494b68e1f86SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
3495b68e1f86SmrgDate:   Fri Jul 1 22:43:21 2005 +0000
3496b68e1f86Smrg
3497b68e1f86Smrg    Change all misc.h and os.h references to <X11/foo.h>.
3498b68e1f86Smrg
3499b68e1f86Smrgcommit ae1ba62c3937e6d1067f850d3aeb0b11d316fb86
3500b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net>
3501b68e1f86SmrgDate:   Sat Jun 25 21:17:00 2005 +0000
3502b68e1f86Smrg
3503b68e1f86Smrg    Bug #3626: _X_EXPORT tags for video and input drivers.
3504b68e1f86Smrg
3505b68e1f86Smrgcommit 57d09f92c656203958bbc2040f255040f7d051ca
3506b68e1f86SmrgAuthor: nolan <nolan>
3507b68e1f86SmrgDate:   Fri Feb 18 23:15:59 2005 +0000
3508b68e1f86Smrg
3509b68e1f86Smrg    updated copyright string in man page of VMware SVGA driver.
3510b68e1f86Smrg
3511b68e1f86Smrgcommit b4379cd6f99c14a2feaabce4560f6dfd62543c62
3512b68e1f86SmrgAuthor: nolan <nolan>
3513b68e1f86SmrgDate:   Thu Sep 30 21:44:35 2004 +0000
3514b68e1f86Smrg
3515b68e1f86Smrg    Bugfix for Alpha Texture acceleration from Constantine Sapuntzakis.
3516b68e1f86Smrg
3517b68e1f86Smrgcommit 325df911a83e336d3463ea2220151af4e9f0ccfa
3518b68e1f86SmrgAuthor: nolan <nolan>
3519b68e1f86SmrgDate:   Sat Aug 14 01:03:55 2004 +0000
3520b68e1f86Smrg
3521b68e1f86Smrg    Save the register state before we write to any of them. This makes the
3522b68e1f86Smrg        VMware driver coexist with VESA fbcon.
3523b68e1f86Smrg
3524b68e1f86Smrgcommit fed82eea7b64b645926c5102563887bc424245b7
3525b68e1f86SmrgAuthor: nolan <nolan>
3526b68e1f86SmrgDate:   Tue Jun 29 02:20:25 2004 +0000
3527b68e1f86Smrg
3528b68e1f86Smrg    Send cursor hotspot through the FIFO. This fixes host cursor. Allow any bpp
3529b68e1f86Smrg        when 8BIT_EMULATION is set. Save/restore the ID register.
3530b68e1f86Smrg
3531b68e1f86Smrgcommit a3bdeecbb99c721987a22d52c8adf4b1a96e8eec
3532b68e1f86SmrgAuthor: Eric Anholt <anholt@freebsd.org>
3533b68e1f86SmrgDate:   Wed Jun 16 09:22:38 2004 +0000
3534b68e1f86Smrg
3535b68e1f86Smrg    DRI XFree86-4_3_99_12-merge import
3536b68e1f86Smrg
3537b68e1f86Smrgcommit 2e4ba05c72961b611c9c4b93038ce54ab54ab9c3
3538b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de>
3539b68e1f86SmrgDate:   Fri Apr 23 19:53:57 2004 +0000
3540b68e1f86Smrg
3541b68e1f86Smrg    Merging XORG-CURRENT into trunk
3542b68e1f86Smrg
3543b68e1f86Smrgcommit b01798791090f20fbf4907902d0d35853c05e3a2
3544b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de>
3545b68e1f86SmrgDate:   Sun Mar 14 08:33:42 2004 +0000
3546b68e1f86Smrg
3547b68e1f86Smrg    Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
3548b68e1f86Smrg
3549b68e1f86Smrgcommit 2ef56b50d6b4fc44359b2bf181ece342fb569153
3550b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de>
3551b68e1f86SmrgDate:   Wed Mar 3 12:12:28 2004 +0000
3552b68e1f86Smrg
3553b68e1f86Smrg    Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
3554b68e1f86Smrg
3555b68e1f86Smrgcommit 7218efdc0d95a5d50b3ddfc6a76921e285cf61b6
3556b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de>
3557b68e1f86SmrgDate:   Thu Feb 26 13:35:56 2004 +0000
3558b68e1f86Smrg
3559b68e1f86Smrg    readding XFree86's cvs IDs
3560b68e1f86Smrg
3561b68e1f86Smrgcommit 205e213f8b296c47a80e7c8cfb835449b064fd84
3562b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de>
3563b68e1f86SmrgDate:   Thu Feb 26 09:23:29 2004 +0000
3564b68e1f86Smrg
3565b68e1f86Smrg    Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004
3566b68e1f86Smrg
3567b68e1f86Smrgcommit 2f79bc6606f337d0d892e6c73cdf11fe211ead13
3568b68e1f86SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
3569b68e1f86SmrgDate:   Tue Nov 25 19:28:43 2003 +0000
3570b68e1f86Smrg
3571b68e1f86Smrg    XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
3572b68e1f86Smrg
3573b68e1f86Smrgcommit 118eb1bdba4191972b1ca182e34f3d3ca456daea
3574b68e1f86SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
3575b68e1f86SmrgDate:   Fri Nov 14 16:48:55 2003 +0000
3576b68e1f86Smrg
3577b68e1f86Smrg    XFree86 4.3.0.1
3578b68e1f86Smrg
3579b68e1f86Smrgcommit 0b01e22c9cd727cce23c4a9670806f7a839e1937
3580b68e1f86SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
3581b68e1f86SmrgDate:   Fri Nov 14 16:48:55 2003 +0000
3582b68e1f86Smrg
3583b68e1f86Smrg    Initial revision
3584