commit cbd56b3759f01ec18ae0705d023e4c0b2ab38c25
Author: Jakob Bornecrantz <jakob@vmware.com>
Date:   Wed Mar 26 12:45:52 2014 +0100

    Bump the version number to 13.0.2
    
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>

commit 51cdfa6f5102bde92c98630ace6650e4b286f6e2
Author: Jakob Bornecrantz <jakob@vmware.com>
Date:   Fri Feb 21 18:10:07 2014 +0100

    vmware: Fix compilation on newer X servers
    
    Found by Bryan Lee. Later versions of X.org turns dispMode pointers
    into const upsetting gcc, turn them into size_t's instead.
    
    Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>

commit 8da981712f62050076cff53e1b40ed1e307fcca8
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Jan 15 11:04:05 2014 +0100

    vmware/vmwgfx: Always allocate shared hardware surfaces.
    
    Hardware surfaces are all likely to be shared at some point, and we *really*
    don't want to change a hardware surface that is bound as a drm framebuffer.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 31bff9f7f3d9a68fd1449532e8ab50065de63857
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Thu Jan 9 13:53:59 2014 +0100

    vmware: Require libdrm 2.4.38 to build XMir.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit d6b179a5addef6456325adf241eb8dcaf8e4c3d6
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Thu Jan 9 13:28:22 2014 +0100

    vmware: Fix build errors and warnings
    
    A previous commit and the hosted merge unfortunately brought in some build
    errors / warnings on early X servers.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit f37684e7169b9c0ab23ff748d5acacb65fad82f7
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Tue Jan 7 17:55:49 2014 +0100

    vmwgfx: Block DMA to prime surfaces for now
    
    Since there is currently no _good_ way to get the surface format of a
    prime surface, we block DMA to these surfaces; we don't know if our
    software data is compatible with the surface format.
    
    This patch also makes sure that there is a hardware surface backing the
    drawable we copy from.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 97ce302ddd6e86397ea56ea9089b9549af73c3ac
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Mon Jan 6 12:37:36 2014 +0100

    vmwgfx: Enable direct dmas
    
    Enable direct dmas instead of using the xa-provided dma functionality.
    This saves a bounce-buffer software copy of all dma'd contents.
    
    This also implies that all drawables with mixed software / hardware contents
    will use a kernel buffer for software rendering.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Brian Paul <brianp@vmware.com>

commit fd636e39a3f32a6dcd107c370513d8cb9aae26c2
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Mon Dec 16 06:21:09 2013 -0800

    vmwgfx: Add support for XWayland
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit c020923597d3bc30dffa89ba0a47f3b9517dd5fb
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Mon Dec 16 06:13:25 2013 -0800

    vmwgfx: Add support for XMir v2.
    
    Use the hosted infrastructure to add support for XMir.
    Helpers go in vmwgfx_saa.c.
    
    v2: Added comments for the helpers, and added a
    vmwgfx_flush_dri2 to be executed when coming back from vt switch.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit c8e1c498431b1f8758f62c94131c302cf3d07b39
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Mon Dec 16 06:05:35 2013 -0800

    vmwgfx: Add an infrastructure to be able to run hosted under a compositor v2
    
    Figure out what's needed both for XMir and XWayland and make a common
    driver structure out of it.
    
    v2: Added a lot of comments. No code change.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit f45a551e9b70ccec8f92df02747d4e2af299cf8c
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Mon Dec 16 10:38:21 2013 +0100

    vmwgfx: Fix compile breakage on XA version 1.
    
    A recent revert brought back code that assumed XA version 2.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: trivial

commit 93228f3dd3355a25583d22dbb96791678b93be3e
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Dec 11 06:54:02 2013 -0800

    vmwgfx: Really allow XA version 2.
    
    When XA starts to correctly advertise version 2, we didn't allow it.
    Fix this.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 4af6062ce281a7f4aaa50985fe757e9569208ee1
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Dec 11 04:59:49 2013 -0800

    Revert "vmwgfx: Get rid of device-specific DMA code"
    
    This reverts commit 45b2457516a9db4bd1d60fbb24a1efbe2d9dd932.
    
    Reverting this because using direct DMA for shared pixmaps should
    boost performance. It should be usable both in a composited environment
    and when running hosted. Need to retest the DMA flaws I saw before disabling
    this code.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit c36cbcefb8526944141eb431e1e736dc4485a36e
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Mon Dec 9 00:19:55 2013 -0800

    vmwgfx: Remove stray 1
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit a40cbd7b4fa19219849b4b0a48f07538772c3e22
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Thu Dec 5 02:58:47 2013 -0800

    vmwgfx: Support also XA version 1 v2
    
    We need to support also XA version 1, since we want to be backwards
    compatible with older mesa releases.
    Unfortunately, the intended way of detecting XA major version at
    compile-time was broken on mesa 10 so we need a workaround that tests
    for XA version 2 at config time.
    
    v2: Update the test for XA version 2.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 7ac45326eccbf3bea9a4a8f95b9662a36ab58eb0
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Thu Nov 28 02:02:20 2013 -0800

    vmwgfx: Fix some compilation warnings and indentations
    
    Most of the compilation warnings we're seeing are due to bad xorg headers,
    but fix the ones we can fix in the driver. Some indentation fixes as well.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit e26dec8f5278df74a102493bf6d2d8444dab5d6d
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Oct 28 18:21:29 2013 -0400

    vmwgfx: handle changes of DamageUnregister API in 1.14.99.2
    
    Fix is inspired from the intel driver.
    
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>

commit 45b2457516a9db4bd1d60fbb24a1efbe2d9dd932
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Sep 19 21:50:40 2012 +0200

    vmwgfx: Get rid of device-specific DMA code
    
    It's rarely used and things seem to work well enough on top of XA.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Zack Rusin <zackr@vmware.com>

commit 7192acf9f0bf8e7176ab0b803b861a858623f709
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Sep 19 20:36:57 2012 +0200

    vmwgfx: Implement textured video completely on top of XA.
    
    Remove device-specific hacks. This may increase resource usage a little
    on old hardware revisions, but we don't need separate code paths on
    different hardware revisions.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Zack Rusin <zackr@vmware.com>

commit 835ce4698f916ba080f4132988fd4caf898e0b1e
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Thu Sep 26 01:25:33 2013 -0700

    vmwgfx: Avoid HW operations when not master
    
    Note that for DRI2, a dri2_copy_region becomes a NOP when not master.
    Additionally, all dri2 operations that lead to a potential kernel
    access will return FALSE.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 0945bea5fc32eacb7bf42639efbd45dcd43e7ab5
Author: Rob Clark <robdclark@gmail.com>
Date:   Mon Jun 10 13:31:31 2013 -0400

    vmwgfx: update for XA API changes
    
    Signed-off-by: Rob Clark <robdclark@gmail.com>
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
    Tested-by: Jakob Bornecrantz <jakob@vmware.com>

commit b3345886332ee2b9fd1348dc2cd36257dfd71986
Author: Jakob Bornecrantz <jakob@vmware.com>
Date:   Wed Apr 17 12:03:32 2013 +0200

    Bump the version number to 13.0.1

commit d13a6334fe76f4e869b2cb8c0a6a13c185b1bedd
Author: Loïc Yhuel <loic.yhuel@gmail.com>
Date:   Thu Apr 11 11:29:10 2013 +0200

    vmwgfx: Use myGlyphs to fix crashes
    
    Tested-by: Christian Hesse <mail@eworm.de>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
    Signed-off-by: Loïc Yhuel <loic.yhuel@gmail.com>
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>

commit 23d87c92b7211cc5249eefe4ab3a2c7f370e279e
Author: Zack Rusin <zackr@vmware.com>
Date:   Thu Feb 14 14:33:01 2013 -0800

    Kill mibstore
    
    It was a noop for at least 5 years and it has been removed.
    
    Signed-off-by: Zack Rusin <zackr@vmware.com>

commit 686859fba16ed2616c38bbe5d4e38abf4c5b7ae9
Author: Zack Rusin <zackr@vmware.com>
Date:   Tue Jan 15 12:05:45 2013 -0800

    Bump the version number to 13.0.0
    
    New abi and various fixes
    
    Signed-off-by: Zack Rusin <zackr@vmware.com>

commit adf375f3d400e51b1e445e89de6bd82be0bb4ef3
Author: Zack Rusin <zackr@vmware.com>
Date:   Thu Dec 6 16:40:13 2012 -0500

    xf86-video-vmware 12.0.99.901
    
    Internal release for a round of QE testing
    
    Signed-off-by: Zack Rusin <zackr@vmware.com>

commit 007bed30270ca9548dfe6e359972b56cbb8e2f13
Author: Jakob Bornecrantz <jakob@vmware.com>
Date:   Tue May 29 23:01:14 2012 +0200

    vmwgfx: Guard against null rotate pixmap in shadow destroy
    
    Reviewed-by: Thomas Hellström <thellstrom@vmware.com>
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>

commit e5ac80d8f72963313358e31cfb1ab98583e26f23
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Jul 3 13:50:30 2012 +0100

    vmware: avoid warnings about shadowing 'i'
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 46c0862d205eefa985e36a74391ca392640cb898
Author: Dave Airlie <airlied@redhat.com>
Date:   Sat Jun 16 14:43:52 2012 +0100

    vmware: drop infoFromScreen inline in favour of new interface
    
    This also should fix the build regression introduced with the fix
    for this macro.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 50c01998c7800bc02fd6656cc14efa715bf63e08
Author: Robert Hooker <sarvatt@ubuntu.com>
Date:   Fri Jun 15 11:56:59 2012 -0400

    vmware: Fix up some warnings after new compat API change.
    
    Fixes multiple instances of these warnings on x86_64:
    ../../src/vmware.h:180:5: warning: implicit declaration of function 'xf86ScreenToScrn' [-Wimplicit-function-declaration]
    ../../src/vmware.h:180:5: warning: nested extern declaration of 'xf86ScreenToScrn' [-Wnested-externs]
    ../../src/vmware.h:180:5: warning: return makes pointer from integer without a cast [enabled by default]
    Function `xf86ScreenToScrn' implicitly converted to pointer at ../../src/vmware.h:180
    
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
    Signed-off-by: Robert Hooker <sarvatt@ubuntu.com>
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>

commit 61df95a86f4997e342d50d7779b00aba2e8849a6
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed Jun 6 09:58:01 2012 +0100

    vmware: port vmware driver to new compat API
    
    This is a port of the vmware driver to the new compat API.
    
    Tested-by: Jakob Bornecrantz <jakob@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>

commit 46cdf0ed0ad9df66f36f95e27b209d454f67d526
Author: Brian Paul <brianp@vmware.com>
Date:   Fri Apr 20 14:24:26 2012 -0600

    vmwgfx: set the XA_FLAG_SHARED flag for composite dest surfaces
    
    This fixes a failed assertion in the gallium/svga driver in the
    svga_texture_get_handle() function.  The texture resource wasn't
    getting created with the PIPE_BIND_SHARED flag so the !cachable
    assertion would fail and the X session would abort.  This didn't
    happen with release builds.
    
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 4d76cfe5e8e5d594ec357b0ef3339f56eeca9c64
Author: Jakob Bornecrantz <jakob@vmware.com>
Date:   Tue Mar 20 22:05:30 2012 +0100

    Bump version number for the release
    
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>

commit c6f27561c7cf7c30f89493d64e3c5694b5f53469
Author: Jakob Bornecrantz <jakob@vmware.com>
Date:   Mon Mar 19 14:53:34 2012 +0100

    vmware/legacy: Fix crash on Xserver 1.12.0
    
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
    Reviewed-by: Zack Rusin <zackr@vmware.com>

commit b70116b907aa8545f0275589a52275235083bb40
Author: Zack Rusin <zackr@vmware.com>
Date:   Thu Mar 15 11:37:26 2012 -0400

    Fix a memory corruption due to a redundant free.
    
    We use the empty rect purely as a placeholder and never
    initialize it with its own memory so lets not try to free
    it.
    Spotted by Dave Airlie.
    
    Signed-off-by: Zack Rusin <zackr@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 57f1204292a116b35d5930752bc06f9065332879
Author: Jakob Bornecrantz <jakob@vmware.com>
Date:   Tue Mar 13 21:41:11 2012 +0100

    Bump version number for the release
    
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>

commit e585f9ea04bbd17398d2fa804be38a4e75bc60e4
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Mar 13 09:44:46 2012 -0400

    config: move AC_SYS_LARGEFILE in autoconf init section
    
    There is no need for this statement to be conditionally included.
    It adds support for large files without taking anything away.
    
    http://www.gnu.org/software/autoconf/manual/autoconf.html
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>

commit 04169f3860e4a7d03485631bee40c05fc45b72c6
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Mar 12 14:51:38 2012 -0400

    config: include saa and vmwgfx subdirs in the tarball
    
    Use AM_CONDITIONAL. Automake knows what to distribute.
    It needs to be able to navigate down the subdirs to find what
    needs to be included in the tarball.
    
    To test reliably, create a tarball and expand it into a separate
    directory and build with xatracker. Distcheck will not detect
    missing code when such code is configured not to build.
    
    The content of a tarball *must* always be identical, regardless
    of the configuration options used or on which platform it was configured.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>

commit e6836ff099e5565dea58a53bba9b2df377241ef7
Author: Zack Rusin <zackr@vmware.com>
Date:   Thu Mar 8 09:55:07 2012 -0500

    Bump version number for the release
    
    Signed-off-by: Zack Rusin <zackr@vmware.com>

commit c5c38bab8c493985349356be5fadc14d3aee8040
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Feb 8 15:00:20 2012 +0100

    vmware/legacy: Fix initial mode size v2
    
    Commit "vmwlegacy: Make the default be a minium of 800x600..."
    read the dimensions from the incorrect register pair.
    
    v2: Also treat initial widths and heights larger than the maximum
    values as an error and revert back to the minimum.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 49b4cbc5100ce9a4cc40132c2839f9401a58b92e
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Mon Feb 6 19:48:57 2012 +0100

    saa: Try to avoid readbacks during polyFillRect
    
    This significantly improves performance of shaped windows on top of 3D
    contents
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
    Reviewed-by: Zack Rusin <zackr@vmware.com>

commit ecf6c5b1081e70ec64132a8188c8cc15945c2290
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Thu Feb 2 10:24:26 2012 +0100

    vmware: Kill warnings on Xserver 1.12
    
    Compile-tested on servers 1.0 through 1.12.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>

commit 3e18d43c7f8ab5dcb94ac285a687eaaa1a578250
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Feb 1 17:30:52 2012 +0100

    vmwgfx: Kill a deprecation warning on server 1.12
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>

commit bfb286bea967c26426aebda2a581f35da0d86884
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Feb 1 17:25:19 2012 +0100

    vmwgfx: Fix up swap[sl] for server 1.12
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>

commit 8ff19c2b2f288d6851b444dbda39544980837b73
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Feb 1 16:59:13 2012 +0100

    vmwgfx: Avoid including a library header and use pixman for type conversion
    
    The PictTransform type is a typedef of a pixman type.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>

commit 193b5118199028ea0180785bb3f4c8a16359b8b0
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Fri Jan 13 17:01:02 2012 +0100

    Bump version number for release
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit c5af120177949c82cbd0611da565fef9c2c829cb
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Fri Jan 13 17:14:47 2012 +0100

    Make the driver build pass "make distcheck"
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit e6d03aceb1195de0b490f39024f34a33b1a8f6fc
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Thu Jan 12 14:00:41 2012 +0100

    vmwgfx: Adapt to new XA version number v2
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 59435d2d3af8a9f64ee40eac4f0479470ba6badf
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Thu Jan 12 17:57:37 2012 +0100

    vmwgfx,saa: Fix a bunch of compilation warnings
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 0628ad20f31a239f99fcbbfe42197c56a5ae8864
Author: Jakob Bornecrantz <jakob@vmware.com>
Date:   Fri Dec 9 07:34:58 2011 +0100

    vmwlegacy: Make the default be a minimum of 800x600
    
    This patch and the corresponding vmwgfx patch formalizes both drivers
    on the same behviour. The minimum is 800x600 (unless the max size is
    smaller). This makes it unnecessary to check against VRAM size since
    it is always at least large enough to fit the max values.
    
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>

commit 8ddbb3216d29b2ecd336d50461216feef0900fd9
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Thu Jan 12 10:00:41 2012 +0100

    vmware: Make sure the driver builds on old servers
    
    Move things around a bit so the driver compiles with
    servers back to Xserver 1.0.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 194ff6f1517d0a8250e64c3d768a9b7ae9ed3140
Author: Thomas Hellström <thellstrom@vmware.com>
Date:   Wed Jan 11 14:49:56 2012 +0100

    vmware: Update Manpage
    
    Update the Manpage with new options and a brief modesetting- and 3D
    description.
    
    Signed-off-by: Thomas Hellström <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit b5546fb1de3f3859151a91e98ab0bd24b6789e2e
Merge: abf9cb7 5748c33
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Mon Dec 19 20:25:43 2011 +0100

    Merge branch 'vmwgfx_branch'

commit 5748c33535bc7d3009b9758653885e6ae0e73002
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Dec 14 12:38:27 2011 +0100

    saa, vmwgfx: Fix saa_copy_composite
    
    The traditional accelerated copy methods aren't format aware.
    Make saa copy format aware,and pass formats on to the driver copy function
    if available. If the driver can't handle format conversions it needs to
    return FALSE.
    
    This fixes format confusion in the copy composite fastpath.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit f664e31d73bd31594e069d8bcca872687b84d8d9
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Dec 14 10:22:22 2011 +0100

    saa: Always read back hw contents on poly_fill_rect
    
    The damage region may be much larger than the actual area
    filled, so make sure we read back any hw contents in the damage region
    since we use it to mark sw dirty.
    Revisit this in the future since it may increase readbacks in an
    undesired way. There are workarounds.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 0eef22437093d29f572abea845fff9c03fca5e4e
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Dec 14 10:18:16 2011 +0100

    saa: Only try to accelerate pixmaps that are driver pixmaps
    
    Trying to accelerate scratch pixmaps doesn't work currently,
    and I'm not sure it's a big benefit either.
    
    This is in line with what EXA does.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrants <jakob@vmware.com>

commit afd2f828b8a8b2ccc6ebe4d56104db3d03d08493
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Thu Dec 8 13:14:57 2011 +0100

    vmwgfx: Reduce system resource usage with textured video
    
    Use U and V textures and corresponding dma buffers that match
    the size of the input UV data rather than using textures and DMA buffers
    that match the Y data. This simplifies data copy and reduces the amount of
    image data transfered to the host by up to 50% (YV12).
    
    It also reduces dma buffer- and surface memory usage correspondingly.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 121dba0093d24eb0aefa3d27a22f05f85ac66f72
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Dec 7 20:19:34 2011 +0100

    vmwgfx: Hook up XV color conversion control attributes
    
    This enables the standard XV color conversion control attributes
    contrast, scaling, saturation and hue.
    
    Currently the attribute change takes effect on the next image only.
    If we ever implement a ReputImage callback, we can use it to update
    the image immediately on attribute change.
    
    The attribute ranges follow those used by the proprietary Nvidia driver.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 8bdc6004d34e274d815bb3f3e0aa223085ea848c
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Dec 7 14:17:45 2011 +0100

    vmwgfx: Adapt to new interface of xa_yuv_planar_blit
    
    Also make it easier to modify the color conversion matrix based on
    yuv encoding properties.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit dba7b865d36ebe06b54987176b1a83cdbc2f846a
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Tue Dec 6 10:00:00 2011 +0100

    vmwgfx: Fix MessageType members that are incorrectly typed as Bool
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 2c438ad8b82f47ac3252403052df16655184acbd
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Tue Dec 6 09:53:16 2011 +0100

    vmwgfx: Add an option to enable rendercheck mode
    
    Rendercheck mode is used to enable acceleration of all supported composite
    operations, regardless of the current data location. The mode is off by
    default, but could be turned on to test the hardware composite operation
    implementation. Due to excessive data migration, rendercheck mode will be
    slow.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 1736a76246f0a0dab01f5a1066332168d34b2803
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Tue Dec 6 09:21:25 2011 +0100

    vmwgfx: Adapt to the dri state tracker sending depth instead of bpp
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit fb35176958bba2f86d6d466ccb7baadcff806512
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Mon Dec 5 20:58:45 2011 +0100

    vmwgfx: Don't register back buffers as "hw_is_dri2_fronts" v2
    
    That is reserved for dri2 front or fake front pixmaps that need
    immediate flushing of software contents to hardware.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 3c2486e05e98f2ff8f4e3d2633d91e14140a676e
Author: Jakob Bornecrantz <jakob@vmware.com>
Date:   Thu Dec 1 16:47:41 2011 +0100

    vmwgfx: Include drm.h from correct path
    
    Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
    Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>

commit 995d86ceb0ae8cf2904100405ba6710c89f7f1b7
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Mon Nov 28 14:51:36 2011 +0100

    vmwgfx: Make the drm device name persistent
    
    The DRI2 code doesn't copy the device name, but assumes the storage
    is persistent.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
    Reviewed-by: Alan Hourihane <alanh@vmware.com>

commit 08ca819238f2c2a0494b0bd8452393fc62907cc1
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Fri Nov 25 14:38:45 2011 +0100

    vmwgfx: Get the drm device name from the open file descriptor
    
    Rather than hardcoding it.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit d7576c2c50dd0f3b7f70f97d9bde4e8b859e89e5
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Fri Nov 25 11:27:26 2011 +0100

    vmwgfx: Use config options to optionally set GUI topology
    
    Use option "StaticXinerama" or "GuiLayout" to set initial GUI topology,
    similar to how these options are used with the legacy driver.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 22d3e58b8810a73c4818d4d3943776a387147b83
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Nov 23 11:02:00 2011 +0100

    vmwlegacy: Factor out code that can be common for vmwgfx and vmwlegacy
    
    In this case it's the parsing of the gui / statix xinerama topology.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 2e8aac7031a83f507169f6fe42924c51bdaf7326
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Nov 23 10:49:33 2011 +0100

    vmwlegacy: Accept option "GuiLayout" as a synonym for "staticXinerama"
    
    It's more user-friendly and in line with what it's being used for in the
    vmwgfx driver.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 31e80b2a609631d85341025d7f2d0fb818f386f5
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Fri Nov 25 09:42:16 2011 +0100

    vmware: Update library dependencies
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit da29c648051208b98704860f851564a80bd3b123
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Tue Nov 22 21:06:24 2011 +0100

    vmwgfx: Pre-init fixes
    
    A bunch of fixes that makes the fallback from vmwgfx to vmwlegacy easier.
    
    1) Allow only 16 and 24 bit depths with vmwgfx. We may revisit this later.
    2) Try to reclaim some resources if pre_init fails.
    3) Print error messages so the user understands what happens on fallback.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit e52b1505cfc4a7d0507e14c3b6335a9b9652c50f
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Fri Nov 25 09:15:32 2011 +0100

    vmware: Update the vmware register definition
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 1c77e3d7434f04c59233ce7e497a949e386e1630
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Tue Nov 22 19:56:20 2011 +0100

    vmware: Hook up vmwgfx to be tried before falling back to legacy
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 2aa256c96496ed6dd9dbd5880c278f4422500b0f
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Tue Nov 22 18:37:44 2011 +0100

    vmwlegacy: Factor out bootstrap functions
    
    Preparing for choosing driver path in preinit instead of using
    shim loader.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit abf9cb75630cb27bb4741d194cb23014fe3d09b1
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Thu Nov 17 16:38:22 2011 +0100

    vmwlegacy: Fix up Xinerama / panoramiX replies.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit be23efbc91f47a6a34fbe24f167ee29fdf58f541
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Nov 16 10:23:10 2011 +0100

    vmwlegacy: Fix device fifo communication
    
    This fixes two issues with the device fifo communication:
    1) Idle the fifo before initializing it. If the fifo is already up and
    processing data due to an uncleanly shut down server, and init could
    otherwise confuse the device.
    
    2) Mark fifo memory volatile when writing to it and make sure commands
    are written before telling the device they are available.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 70487eee975c63b5ed1492927bbc661425278276
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Wed Nov 9 11:34:16 2011 +0100

    vmwgfx: Make sure we don't render when VT switched
    
    When compiz is enabled, we may try to DMA sw rendered contents of dri2
    drawables to surfaces while VT switched. I'm not sure how this could be
    happening, but queue the DMA until the next block handler.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Alan Hourihane <alanh@vmware.com>

commit e1810e0b09e07bdab05a57fdef74450a507e9dfa
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Tue Nov 8 15:28:40 2011 +0100

    vmwgfx: Fix rendering errors when rotating / unrotating a screen.
    
    The dirty trackers weren't correctly translated to
    pending presents / updates when a pixmap was bound as a scanout.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrants <jakob@vmware.com>

commit d0b493d67afd1b5e8c8397c7938752ecd56c91ba
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Tue Nov 8 14:49:36 2011 +0100

    vmwgfx: A number of damage fixes
    
    A damage tracker was sometimes attached to a pixmap in the middle of an
    operation. That meant that damage was never registered for that operation
    which caused dirty-tracking to fail. Instead, add a damage tracker as
    soon as we have storage attached to the pixmap.
    
    Also, when a pixmap was resized, the dirty region trackers could become
    stale, and cause DMA operation extending outside of the pixmap with
    server crashes as a result. This commit fixes that.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit aff799d007c8383321213ad177e5a9deec2b3978
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Tue Nov 1 15:39:07 2011 +0100

    vmwgfx: Add an option to use a scanout surface
    
    With this option enabled, we compose all contents (both sw and hw) in
    the guest before presenting it. Just like the old xorg state tracker did
    when 3D was enabled. It's not as bad as the old xorg state tracker was for
    interactivity, but there's a small but noticeable lag when moving windows.
    
    It's mainly intended for testing purposes, like testing the surface
    dirty paths in the kernel module.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit 5137e8736edfab1aaebef4046baab37361584b2e
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Tue Nov 1 09:59:18 2011 +0100

    vmwgfx: Be correct when setting up damage tracking
    
    When setting up damage tracking, previously the code would guess wether
    sw or hw was currently dirty. The caller always have that information,
    so pass it to the damage tracking setup function.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit ed7bba3cda4b454eec771d3bf0ebed4fd998a82a
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Tue Nov 1 08:38:52 2011 +0100

    vmwgfx: Add an option for direct presents
    
    With this option set to true, accelerated copies to a scanout pixmap will
    be performed as hardware presents instead of copies to an intermediate
    3D surface backing the scanout pixmap, followed by a present.
    
    Depending on the application this might be a performance boost, but since
    it might trigger device software readbacks in other situations, for example
    dri2 copy front->fake_front, it might be a performance hog in other situations,
    so disable it by default. (Before this commit it was enabled by default).
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>

commit b2c4a7e682e14fa8af42415d429d6735117fefcb
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Mon Oct 31 15:14:21 2011 +0100

    vmwgfx: Fix acceleration options.
    
    Introduce relevant acceleration options and fix up the log printout.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
    Reviewed-by: Alan Hourihane <alanh@vmware.com>

commit da85719e9e373ee8da53388cccc71a0f9c8bbefc
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Mon Oct 31 14:40:55 2011 +0100

    vmwgfx: Remove a couple of unused options
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
