commit 924c310dfecbfb916f0e81c03f1142a401bed056
Author: Kevin Brace <kevinbrace@gmx.com>
Date:   Fri Dec 7 16:43:46 2018 -0800

    Version bumped to Version 2.0.0
    
    Signed-off-by: Kevin Brace <kevinbrace@gmx.com>

commit ada903eea2e138643faa721f37737ed885363bf7
Author: Kevin Brace <kevinbrace@gmx.com>
Date:   Fri Dec 7 16:21:44 2018 -0800

    Version bumped to Version 1.6.901
    
    Signed-off-by: Kevin Brace <kevinbrace@gmx.com>

commit 54f0f0723d4291a23a2f1c10fcf33560f9a4340a
Author: Kevin Brace <kevinbrace@gmx.com>
Date:   Thu Dec 6 20:49:31 2018 -0800

    Remove last remnants of old Matrox HAL
    
    Apparently, commit 94bbeb132c7eda912d1b402a1a91ca7cbbf5e6a1
    missed removing a few more files related to old Matrox HAL.
    
    Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b293b0956d518b2cc3833d0d2d846301fe35c0a0
Author: Kevin Brace <kevinbrace@gmx.com>
Date:   Thu Nov 29 10:41:23 2018 -0800

    Version bumped to Version 1.6.900
    
    Signed-off-by: Kevin Brace <kevinbrace@gmx.com>

commit c5d295f06c83ba69811c17880e033cbd0fdb52b1
Author: Henry Zhao <henry.zhao@oracle.com>
Date:   Mon Nov 26 13:15:24 2018 -0800

    Write 8 bits instead of 32 to MGAREG_CACHEFLUSH
    
    Fixes misaligned address crash when EXA is enabled on Solaris SPARC
    (Oracle Bug id 22993744)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 11abbd45e0c93b672a7e8d5730560a6b351c7a9b
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Mon Nov 26 21:12:05 2018 +0100

    Use fabs() to compute absolute value of floating point number.
    
    Fixes a warning from clang and looks like it was a real bug.
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4ce40b932cdced590af1c32f6f491f63e9a247dd
Author: Kevin Brace <kevinbrace@gmx.com>
Date:   Mon Nov 26 11:03:39 2018 -0800

    Suppression of a compilation error when XAA is not in use
    
    Signed-off-by: Kevin Brace <kevinbrace@gmx.com>

commit 4017c6e91f8938f1f1617e53e30ee1d3d10d490c
Author: Kevin Brace <kevinbrace@gmx.com>
Date:   Mon Nov 26 11:02:30 2018 -0800

    Convert most HAVE_XAA_H conditional compilation labels to USE_XAA
    
    Signed-off-by: Kevin Brace <kevinbrace@gmx.com>

commit c5922dcc3ff26c9b1291e90ecedee35f97bc51c8
Author: Kevin Brace <kevinbrace@gmx.com>
Date:   Mon Nov 26 11:01:33 2018 -0800

    Eliminate set but unused variables
    
    Signed-off-by: Kevin Brace <kevinbrace@gmx.com>

commit 8db8f6b3f323a9d9cd934172c9f4d4a93a6b7394
Author: Kevin Brace <kevinbrace@gmx.com>
Date:   Mon Nov 26 11:00:32 2018 -0800

    Eliminate unused variables
    
    Care had to be taken to properly handle XAA usage situation
    
    Signed-off-by: Kevin Brace <kevinbrace@gmx.com>

commit 94c70f888b3e3b1e4c9f324f188279f276c9cbbd
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Nov 25 14:31:30 2018 -0800

    Update configure.ac bug URL for gitlab migration
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a939aa56b3af4418d0c026a3775fde7288b0cca7
Author: Mikulas Patocka <mikulas@twibright.com>
Date:   Tue Nov 20 08:41:14 2018 -0800

    mga_drv: fix image corruption due to memcpy reordering
    
    The memcpy specification doesn't specify how the destination is written -
    and on glibc 2.19 memcpy is doing some bytewise writes with the rep stosb
    instruction. These bytewise writes confuse the hardware (because it
    expects 32-bit writes) and result in image corruption.
    
    This patch replaces memcpy with explicit writes, so that the sequential
    write order and 32-bit write size is guaranteed. We use the "volatile"
    attribute to make sure that compiler optimizations won't cause write
    reordering. When reading the memory, we use a structure with "packed"
    attribute to avoid unaligned traps on RISC machines.
    
    Tested-by: Kevin Brace <kevinbrace@gmx.com>
    Signed-off-by: Mikulas Patocka <mikulas@twibright.com>

commit 0f4883f0b8ebfd105d5cee93841bc69f0f2b60b7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Nov 18 13:25:33 2018 -0800

    Update README for gitlab migration
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 34f37fe119f07e1e7b79964de08ac601a0753a7f
Author: Nicolas Kaiser <nikai@nikai.net>
Date:   Sun May 29 11:36:11 2011 +0200

    fix typo in MGADRIMoveBuffersXAA()
    
    Fix typo in MGADRIMoveBuffersXAA().
    
    Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
    Reviewed-by: Cyril Brulebois <kibi@debian.org>

commit 31544d805f99da54d5d3c658ccc137813dbde52b
Author: Mikulas Patocka <mikulas@twibright.com>
Date:   Tue Feb 13 01:43:13 2018 +0100

    mga_drv: use exa by default
    
    If the Xserver doesn't support XAA, we must turn EXA on by default -
    otherwise we end up with no acceleration at all.
    
    Reviewed-by: Matt Turner <mattst88@gmail.com>
    Signed-off-by: Mikulas Patocka <mikulas@twibright.com>

commit 97c801e49251ffedf0eebd0563c737318433f114
Author: Mikulas Patocka <mikulas@twibright.com>
Date:   Tue Feb 13 01:42:41 2018 +0100

    mga_drv: fix warning
    
    Fix warnings in the MGA driver. There's no functional change.
    
    Reviewed-by: Matt Turner <mattst88@gmail.com>
    Signed-off-by: Mikulas Patocka <mikulas@twibright.com>

commit 767c19e7142da1060586b1ff2b5e7253b6d6276b
Author: Mikulas Patocka <mikulas@twibright.com>
Date:   Tue Feb 13 01:42:27 2018 +0100

    mga_drv: fix structure definition
    
    Fix missing entry in structure definition.
    
    Reviewed-by: Matt Turner <mattst88@gmail.com>
    Signed-off-by: Mikulas Patocka <mikulas@twibright.com>

commit b9aab0dcb171ab936a8581d8287aac3a90652a09
Author: Mikulas Patocka <mikulas@twibright.com>
Date:   Tue Feb 13 01:42:08 2018 +0100

    mga_drv: fix a typo
    
    Fix a typo that causes dynamic symbol lookup failure and xserver crash.
    
    Reviewed-by: Matt Turner <mattst88@gmail.com>
    Signed-off-by: Mikulas Patocka <mikulas@twibright.com>

commit 2998868964b2f3a56b6759fd8dc4462d812dbe1a
Author: Emil Velikov <emil.velikov@collabora.com>
Date:   Mon Jul 17 11:05:57 2017 +0100

    xf86-video-mga: remove the GlxSetVisualConfigs stub and friends
    
    The function was an empty since 2008 at least. Remove it alongside the
    unused GLX visuals code.
    
    With this all the GL/GLX dependencies in the driver are gone.
    
    Cc: Mathieu Larouche <mathieu.larouche@matrox.com>
    Cc: Dave Airlie <airlied@redhat.com>
    Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
    ---
    There's a GLX reference in mga_ucode.h - a file which was seemingly
    never used since day 1. I'm not going to bother with that, since I've
    taken enough of a diversion already ;-)

commit 42fabf69c33d0e803eb661cc06217611bc3c9048
Author: Mathieu Larouche <mathieu.larouche@matrox.com>
Date:   Tue Jun 13 13:43:45 2017 -0400

    xf86-video-mga: Fix to always set HiPri for G200e4 V2
    
      - Changed the HiPri value for G200e4 to always be 0.
      - Added Bandwith limitation to block resolution above 1920x1200x60Hz
    
      - (V2): Pulled out ulMemoryBandwidth of condition so it's always initialized
            as reviewed by : Stefan Dirsch <sndirsch@suse.de>
    
    Reviewed-by: Samer El-Haj-Mahmoud <smahmoud@lenovo.com>

commit e55abc95c2b7f7cb8de73e1e21688fb5b5c08d5c
Author: Mathieu Larouche <mathieu.larouche@matrox.com>
Date:   Tue Feb 7 11:12:14 2017 -0500

    xf86-video-mga: Add support for a new G200eH3 device
    
    - Added support for the new deviceID for G200eH3
    - Added PLL algorithm for the G200eH3
    - Removed the bandwidth limitation for the G200eH3
    
    Signed-off-by: Mathieu Larouche <mathieu.larouche@matrox.com>
    Reviewed-by: Dave Airlie <airlied@redhat.com>

commit 2ccc50072ccb70411e5e32644e74ef7c6b33f628
Author: Mihail Konev <k.mvc@ya.ru>
Date:   Thu Jan 26 14:00:22 2017 +1000

    autogen: add default patch prefix
    
    Signed-off-by: Mihail Konev <k.mvc@ya.ru>

commit b9f57d1717fe9035d354b47e877ae110546d6f28
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Mon Mar 9 12:00:52 2015 +0000

    autogen.sh: use quoted string variables
    
    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
    fall-outs, when they contain space.
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 0b8e81d2a435e190e1a1b81e776423d255b4cb9a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Jan 24 10:32:07 2017 +1000

    autogen.sh: use exec instead of waiting for configure to finish
    
    Syncs the invocation of configure with the one from the server.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>

commit 7407e79cd62f7209a5fe0265882d0ee3d0007196
Author: Colin Walters <walters@verbum.org>
Date:   Wed Jan 4 17:37:06 2012 -0500

    autogen.sh: Implement GNOME Build API
    
    http://people.gnome.org/~walters/docs/build-api.txt
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 9ae2ad4ee9b0a9ad64fec0f88b68886d7b0b8663
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Jan 26 11:18:06 2017 +1000

    configure: Drop AM_MAINTAINER_MODE
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 979e0e73eb3424b6a97746e29c8b4a5b7e86196e
Author: Matt Turner <mattst88@gmail.com>
Date:   Tue Jan 17 14:40:48 2017 -0800

    xf86-video-mga 1.6.5
    
    Signed-off-by: Matt Turner <mattst88@gmail.com>

commit fc5d7acc23fcec9d87ca26fadf466fcf107671c0
Author: Mathieu Larouche <mathieu.larouche@matrox.com>
Date:   Wed Jul 20 09:18:49 2016 -0400

    xf86-video-mga: Add support for the new G200e chipset -- V2
    
    - Added PLL algorithm for a new rev of G200e
    - Removed the bandwidth limitation for the new G200e
    
    Fixes : https://bugs.freedesktop.org/show_bug.cgi?id=92540
    
    Change from V1 :
    - Make sure we don't cause issue on previous chips. (Dave Airlie review)
    
    Signed-off-by: Mathieu Larouche <mathieu.larouche@matrox.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 12781f2e3deb7f6d86fde53134384996a6004894
Author: Mathieu Larouche <mathieu.larouche@matrox.com>
Date:   Fri Jun 17 10:52:42 2016 -0400

    xf86-video-mga: Add support for a new G200eW3 chipset
    
    - Added support for the new deviceID for G200eW3
    - Added PLL algorithm for the G200eW3
    - Added some initialization code for G200eW3
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=92541
    
    Signed-off-by: Mathieu Larouche <mathieu.larouche@matrox.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit df094bfffe4ef097bfd9a569f2d2e35649c1a3c7
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Jul 19 10:03:56 2016 -0400

    Adapt Block/WakeupHandler signature for ABI 23
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 72a8b5ef0bcb08d4cde7b329a13a59db35342f58
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Mon Feb 23 13:26:14 2015 +0100

    Use correct type in function call.
    
    Fixes
    passing argument 2 of 'pci_device_cfg_read_u32' from incompatible pointer type
    pciaccess.h:153:5: note: expected '__uint32_t *' but argument is of type 'CARD32 *'
    
    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
    Reviewed-by: Connor Behan <connor.behan@gmail.com>

commit f1e6c73be073c8816319104b2fde329bc286f5ec
Author: Connor Behan <connor.behan@gmail.com>
Date:   Mon Aug 24 13:48:29 2015 -0400

    Composite fixup
    
    A driver like this that tries to composite a lot will definitely need to
    avoid crashing for solid pictures.
    
    Signed-off-by: Connor Behan <connor.behan@gmail.com>

commit e6770f7cc11800ab6cc2e88790f357189de7ce32
Author: Connor Behan <connor.behan@gmail.com>
Date:   Mon Aug 24 11:48:16 2015 -0400

    Remove DownloadFromScreen
    
    This hook was broken and did the same thing as a software fallback.
    
    Signed-off-by: Connor Behan <connor.behan@gmail.com>

commit 04432b9c1db255e8e3d39a924f8803f83c407acc
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue May 5 11:05:44 2015 -0400

    Enable write-combining on the framebuffer BAR
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit da1223394ac9b6f3974b0b2570cbf46a2425fc11
Author: Matthew Rezny <matthew@reztek.cz>
Date:   Sun Jun 21 19:50:43 2015 +0200

    MGA DDX: make it possible to find EXA support
    
    Newer versions of the xserver stricter requirements on header order
    which caused the configure tests for EXA support to erroneously fail.
    Since XAA was already removed from an earlier version of xserver, the
    configure failure meant no acceleration was possible. Patch configure
    tests similar to r128.
    
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit 8ed77eb7920f375e9490a31f907eccb02fb123cd
Author: Matt Turner <mattst88@gmail.com>
Date:   Thu Feb 19 13:39:18 2015 -0800

    xf86-video-mga 1.6.4

commit 132dee029e36c9a91a85f178885e94a9f9b5ee37
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Jul 29 14:35:46 2014 -0400

    undef DISABLE_VGA_IO
    
    Dead conditional ever since m12n, must not be needed.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit cf46b1017a2663c59f07abd417573b9580f0145f
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Jul 29 09:14:15 2014 -0400

    dri: Stop (uselessly) initializing the ValidateTree hooks
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 1a5bc65f27e76263818a44ddbc4197f6083077cf
Author: Adam Jackson <ajax@redhat.com>
Date:   Thu May 22 12:48:27 2014 -0400

    man: Don't mention the HAL
    
    I mentioned it once, but I think I got away with it all right.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit d2c65c24e94dca1e8fb16c851d0e2fe41bf5d1c6
Author: Mikulas Patocka <mpatocka@redhat.com>
Date:   Thu Mar 13 23:17:52 2014 -0400

    fix a type in previous lockup in the mga driver fix
    
    Oh, I had a typo in that patch - so please commit this to fix it.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 0789f3f2799e6497e9e2e7488da679c03b7fa468
Author: Mikulas Patocka <mpatocka@redhat.com>
Date:   Thu Mar 13 18:25:56 2014 -0400

    xf86-video-mga: fix a lockup in the mga driver
    
    I've had a Xserver lockup in the mga driver, examining it with gdb showed
    this obviously broken loop:
    	count = INREG(MGAREG_VCOUNT) + 2;
    	while(INREG(MGAREG_VCOUNT) < count);
    
    It reads the line counter and waits until the counter advances by two. The
    cause of the lockup is this - if the kernel reschedules the Xorg process
    and lets it run in such a moment when INREG(MGAREG_VCOUNT) returns the
    maximum (or maximum minus 1) line count, the loop never exits.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 62ba63f687d7b99aff7c88ffd2774f15a2471ce0
Author: Mikulas Patocka <mpatocka@redhat.com>
Date:   Fri Jan 17 16:04:26 2014 -0500

    xf86-video-mga: set the pan_ctl register
    
    On my Matrox G550 most videomodes in Xorg didn't work. I found out that it
    works if Xorg pixel clock is similar to the pixel clock set on framebuffer
    console.
    
    Further analysis showed that the Linux framebuffer driver sets the pan_ctl
    register (the register 0xa2) according to the pixel clock, the Xorg driver
    doesn't set it.
    
    I copied the code to set the pan_ctl register from the Linux kernel to the
    Xorg driver, and most videomodes in Xorg work.
    
    The pan_ctl register is required for both analog and digital output.
    
    The pan_ctl register is saved and restored, this is required so that we
    restore text-mode screen or Linux framebuffer correctly.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit f647727a2c1d4c2a9261c411cd3df71c3c9f0c06
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Dec 5 12:09:27 2013 +1000

    mga: bump release to 1.6.3

commit 55525bdfc00b0b746401f6ea6ed289048e9d06eb
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Dec 5 11:51:39 2013 +1000

    mga: fix XAA runtime
    
    XAA->USE_XAA add USE_XAA.
    
    Tested-by: Avengence on #xorg-devel
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 6aa94687233f55a8044efe83cac82b04ab19609f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Nov 17 10:27:42 2013 -0800

    Remove mga_esc.c vestigal stub
    
    Previously contained MGA HAL code, was left an empty shell by the
    removal of USEMGAHAL in commit 94bbeb132c7eda.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>

commit e9109a0b04695d6971c94abe271dda2dc1a5e886
Author: Tormod Volden <debian.tormod@gmail.com>
Date:   Thu Oct 31 22:48:18 2013 +0100

    mga: Use exaGetPixmapFirstPixel() instead of devPrivate.ptr
    
    Signed-off-by: Tormod Volden <debian.tormod@gmail.com>

commit a77b9c5143591672fbe56f4428ced439c1f4d0f3
Author: Egbert Eich <eich@freedesktop.org>
Date:   Mon Jul 29 13:02:21 2013 +0200

    Disable HW cursor by default on G200 server chips
    
    Disable HW cursor by default on G200 server chips as these chips a
    re often used with a remote graphics link which cannot display
    the HW cursor.
    This can be overridden by a config option.
    Most desktops today use ARGB cursors anyhow which are not
    supported by this driver anyhow. Thus the performance penalty
    should be irrelevant.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>

commit dba8778b9214dc3794198029fc6d59b3e97700d4
Author: Egbert Eich <eich@freedesktop.org>
Date:   Mon Jul 29 13:01:45 2013 +0200

    Restructure code to make it more readable
    
    With the previous structure it wasn't immediately clear when SecondCrtc
    and HWCursor were set to which value. Make the code more readable.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>

commit cbcee5de1ba02c8a58bae932a0cb98093dccefd9
Author: Tormod Volden <debian.tormod@gmail.com>
Date:   Thu Oct 17 22:01:20 2013 +0200

    Fix dual head crash without XAA
    
    https://launchpad.net/bugs/1180986
    
    Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
    Reviewed-by: Robert Jacobs <robert.n.jacobs@gmail.com>
    Tested-by: Robert Jacobs <robert.n.jacobs@gmail.com>

commit 15815c8612694a89d0d8593b3e603fdcdeacdd05
Author: Andy MacLean <andy-ub1@themacleans.org.uk>
Date:   Thu Oct 17 19:51:36 2013 +0200

    Unbreak dual head (xinerama)
    
    This patch has been used in Debian, Ubuntu and Gentoo for years.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=18472
    https://launchpad.net/bugs/292214
    https://bugs.gentoo.org/show_bug.cgi?id=265100
    
    Signed-off-by: Andy MacLean <andy-ub1@themacleans.org.uk>
    Reviewed-by: Cyril Brulebois <kibi@debian.org>
    Reviewed-by: Robert Jacobs <robert.n.jacobs@gmail.com>
    Tested-by: Robert Jacobs <robert.n.jacobs@gmail.com>

commit 12af175fee1d3f6f17f8391ec642d904deca3783
Author: Egbert Eich <eich@freedesktop.org>
Date:   Tue Jun 7 19:31:16 2011 +0200

    Disable Linear Expansion on BE
    
    Linear Expansion doesn't work on BE as the bit order in
    a word is reversed. ScreenToScreenColorExpansion allows
    to adjust the bit order in a byte, still the bytes have
    the wrong order.
    
    Reviewed-by:  <wharms@bfs.de>
    Signed-off-by: Egbert Eich <eich@freedesktop.org>

commit 49381ff2c3aa98be5bb84494b2ad3f81a0d31bcc
Author: Julien Cristau <jcristau@debian.org>
Date:   Mon Jan 7 23:04:36 2013 +0100

    Restrict kernel driver matching to g200 server chips
    
    Otherwise we might catch devices handled by matroxfb, not the mgag200
    kms driver.
    
    Debian bug#697532
    
    Reported-by: olafBuddenhagen@gmx.net
    Reviewed-by: Dave Airlie <airlied@redhat.com>
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit fcd27b2b4ab2a181d5263296e71cda2d8772ba2d
Author: Dave Airlie <airlied@redhat.com>
Date:   Fri Sep 28 11:36:44 2012 +1000

    mga: bump release to 1.6.2

commit 29de36da0ed031815bd302f55f2ef5cc0cce6cc6
Author: Dave Airlie <airlied@redhat.com>
Date:   Fri Sep 28 10:54:00 2012 +1000

    mga: bring dri1 back to life.
    
    we need to at least setup the memory manager bits so dri1 clients
    get a backbuffer. this at least gets gears working again without XAA.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit e777a2845bfeefad386db35d694e4b1cd74a0dd5
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed Sep 26 15:18:44 2012 +1000

    mga: add stub storm functions if not using XAA
    
    If we aren't using XAA just add stub storm init/sync functions.
    
    This lets the driver load yay.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 220e06fefe77175d9827954e61549eadda245d9a
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Sep 25 08:54:42 2012 -0400

    Remove mibstore.h
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit cd41eacaeabf8227197d605b055713ca654633d5
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Jul 17 16:05:09 2012 +1000

    xf86-video-mga: bump to version 1.6.1
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit f11a407ceb0857bb0d33811511117b490a8ae6ee
Author: Dave Airlie <airlied@gmail.com>
Date:   Sun Jul 15 19:41:28 2012 +1000

    mga: fix after XAA removal
    
    Fix mga build after XAA removal.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit fa0f3092ed38ce71ba9f65156bde306eb63feaf8
Author: Dave Airlie <airlied@redhat.com>
Date:   Mon Jul 2 12:08:05 2012 +0100

    mga: bump to 1.6.0
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 7b6dcc4d5768cc8d17a1f664155ebdc8ca8c042e
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed Jun 6 09:23:31 2012 +0100

    mga: port to new compat API.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 0cb8ba6dc5e7bf4179174f9f17e211df7d89bd41
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed May 23 23:40:32 2012 -0700

    Add const qualifier to char *from in MGAdoDDC
    
    Only used to store arguments to pass as printf %s strings to xf86DrvMsg
    
    Fixes gcc warnings:
    mga_driver.c: In function 'MGAdoDDC':
    mga_driver.c:1338:7: warning: assignment discards qualifiers from pointer target type
    mga_driver.c:1343:11: warning: assignment discards qualifiers from pointer target type
    mga_driver.c:1351:8: warning: assignment discards qualifiers from pointer target type
    mga_driver.c:1359:8: warning: assignment discards qualifiers from pointer target type
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Dave Airlie <airlied@redhat.com>

commit 3d9631b819c5c6f64ebf9bda8aab93e1cc7f391f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed May 23 23:34:07 2012 -0700

    Move PCI vendor/device id defines into mga.h instead of using xf86PciInfo.h
    
    Silences deprecation warnings from xf86PciInfo.h in current Xorg servers
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Dave Airlie <airlied@redhat.com>

commit 0af7dba78559ce82b4c3eed0862415efcde51863
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu May 17 10:19:21 2012 +0100

    mga: don't bind to device if there is a kernel driver
    
    this should only pick up KMS drivers and not old drm drivers.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 3991971c23ebe596742c004b1e583dfb1aa14ec4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 23 19:02:40 2012 -0700

    xf86-video-mga 1.5.0
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4c4beaf628c9c5dd531605e40696ed31db0e97b8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Jan 4 15:15:07 2012 +1000

    Untangle XF86DRI from the driver-specific DRI define
    
    XF86DRI is defined by xorg-server.h, so --disable-dri in the driver
    itself does exactly nothing other than not fill in the CFLAGS
    and thus stop the driver from compiling.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 9223c44a731f48c66c226eb88dcb6f9d574cb599
Author: Julien Cristau <jcristau@debian.org>
Date:   Tue Jan 3 23:35:18 2012 +0100

    When we can't load the xaa or exa modules, use shadowfb instead
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit cc9d2e808de20723c9035952242d966455d583b7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Dec 28 19:44:40 2011 -0800

    Check MGAAllocAdaptor() for memory allocation failure
    
    If it couldn't allocate memory, don't attempt to write a bunch of values
    to the NULL pointer before returning it, but just pass the NULL along
    right away.
    
    Resolves parfait warnings of the form:
    
    Error: Null pointer dereference (CWE 476)
       Write to null pointer 'adapt'
            at line 322 of src/mga_video.c in function 'MGASetupImageVideoTexture'.
              Function 'MGAAllocAdaptor' may return constant 'NULL' at line 237, called at line 320.
              Null pointer introduced at line 237 in function 'MGAAllocAdaptor'.
    
    repeated for every line writing to the adapt pointer in each function.
    
    [ This bug was found by the Parfait 0.4.2 bug checking tool.
      For more information see http://labs.oracle.com/projects/parfait/ ]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>

commit 644ba5d11049e63ea61b5cc4fb889b0f840965ff
Author: Christian Toutant <ctoutant@matrox.com>
Date:   Wed Dec 7 15:42:39 2011 -0500

    Add support for Video Memory greater then 8M
    
    Expand memory mapping of framebuffer from 8 to 16MB
    
    Fix segfault on redhat distibution
    
    Signed-off-by: Christian Toutant <ctoutant@matrox.com>

commit d9cf07a4f424b2beb844ea1b3ec5d468e79a747c
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat Oct 29 16:34:41 2011 -0700

    Include "xf86Modes.h" for xf86ModeBandwidth
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit f9acf37be49844bea8165be9786afe37fd999229
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat Oct 29 16:31:08 2011 -0700

    Include <unistd.h> for usleep
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 07792ef41f33aa5419168263637e34ee614f26e2
Author: Matt Turner <mattst88@gmail.com>
Date:   Mon Sep 26 22:38:17 2011 -0400

    Remove calls to xf86IsPc98()
    
    Reviewed-by: Jamey Sharp <jamey@minilop.net>
    Signed-off-by: Matt Turner <mattst88@gmail.com>

commit 560967b4ffdb103f95121c43708dd5fc680a5045
Author: Matt Turner <mattst88@gmail.com>
Date:   Mon Sep 26 22:37:04 2011 -0400

    Fix printf format specifier warning
    
    Signed-off-by: Matt Turner <mattst88@gmail.com>

commit 1036e32e006d496023553ea566cb13ae93933719
Author: Matt Turner <mattst88@gmail.com>
Date:   Mon Sep 26 22:35:48 2011 -0400

    Remove if(E != NULL) checks around free(E)
    
    Reviewed-by: Jamey Sharp <jamey@minilop.net>
    Signed-off-by: Matt Turner <mattst88@gmail.com>

commit ee09a9a340f8946f2d4a71a431b64189dbb5c256
Author: Matt Turner <mattst88@gmail.com>
Date:   Mon Sep 26 22:22:09 2011 -0400

    Remove xalloc/xcalloc/xrealloc/xfree
    
    Reviewed-by: Jamey Sharp <jamey@minilop.net>
    Signed-off-by: Matt Turner <mattst88@gmail.com>

commit 94bbeb132c7eda912d1b402a1a91ca7cbbf5e6a1
Author: Jamey Sharp <jamey@minilop.net>
Date:   Thu Sep 15 10:29:11 2011 -0500

    Delete support for MGA's proprietary HAL: unifdef USEMGAHAL.
    
    This patch produced with:
    	for f in `git grep -Fwl USEMGAHAL`; do
    		unifdef -B -UUSEMGAHAL $f | sponge $f
    	done
    
    Adam Jackson wrote:
    
    	Hey, so, remember back in the dark ages when dualhead was this
    	insanely wild differentiating feature?  Matrox thought it was so
    	special, in fact, that they hid most of the implementation of it
    	(and a bunch of other stuff) in a binary-only blob called the
    	HALlib.  As you'd expect it was pretty much a cut-and-paste of
    	the relevant Windows code, and then some open glue to keep it
    	working; clientlx.c is that glue.
    
    	I guess the theory was that if you don't tell people which
    	registers to duplicate to implement a second pipe in their own
    	hardware, they won't figure it out?  A pretty eyeroll-worthy
    	idea even at the time, and definitely not something we should be
    	condoning anymore.
    
    	Kill it with fire, but while you're at it, untangle the hideous
    	mess of MGA_HAL() macros too.
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>
    Cc: Adam Jackson <ajax@redhat.com>

commit ae90c47503bc1015a50e7ea6d22ec10e5e0d4113
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Sep 13 16:01:57 2011 -0500

    Nothing uses clientlx.c, so delete it.
    
    Adam Jackson wrote:
    
    	Hey, so, remember back in the dark ages when dualhead was this
    	insanely wild differentiating feature?  Matrox thought it was so
    	special, in fact, that they hid most of the implementation of it
    	(and a bunch of other stuff) in a binary-only blob called the
    	HALlib.  As you'd expect it was pretty much a cut-and-paste of
    	the relevant Windows code, and then some open glue to keep it
    	working; clientlx.c is that glue.
    
    	I guess the theory was that if you don't tell people which
    	registers to duplicate to implement a second pipe in their own
    	hardware, they won't figure it out?  A pretty eyeroll-worthy
    	idea even at the time, and definitely not something we should be
    	condoning anymore.
    
    	Kill it with fire ...
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit 01ca2186ea028b2549de509b51726aa08519fce0
Author: Christian Toutant <ctoutant@matrox.com>
Date:   Tue Sep 20 13:07:16 2011 -0400

    Reset tagfifo for renesas.
    
    For renesas, we need to reset tagfifo after a mode switch.
    
    Signed-off-by: Christian Toutant <ctoutant@matrox.com>

commit c083bf0a66bef9a4345847f39be5fb895c211f79
Author: Christian Toutant <ctoutant@matrox.com>
Date:   Wed Aug 3 09:45:13 2011 -0400

    Added support for G200SE Pilot3
    
    Optimize use of bandwidth and increase maximum resolution to 1920x1200
    
    Signed-off-by: Christian Toutant <ctoutant@matrox.com>

commit 43280e6521815582f219d42821d896093c9c0d5f
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Jun 22 17:02:29 2011 -0400

    Don't include xf86Priv.h
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 5f1b04e86e79938c8158055a777280a649f95510
Author: Yannick Heneault <yheneaul@matrox.com>
Date:   Fri Dec 17 09:00:46 2010 -0500

    added support for G200ER.

commit f7a2ef60e18e2cc464f69c1cad4681096c645651
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Oct 30 09:38:31 2010 -0700

    Sun's copyrights now belong to Oracle
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 636c3c88e7e9cb30010fe1731cd7356849f3f172
Author: Adam Jackson <ajax@redhat.com>
Date:   Thu Oct 14 14:36:06 2010 -0400

    Don't allow the config file to override BIOS location
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 0bd44fad450843b7f1c35c70ab356a2b250d107d
Author: Jesse Adkins <jesserayadkins@gmail.com>
Date:   Tue Sep 28 13:29:51 2010 -0700

    Purge cvs tags.
    
    Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 951474c7fcd1b28d3178a6644d58958cb3bdf5a8
Author: Yannick Heneault <yheneaul@matrox.com>
Date:   Wed Aug 25 11:16:27 2010 -0400

    modified G200SE conditionnal statement about revision register for products compatibility.

commit c08b112bfe14fbfe713e4757eb0b704c8ed1f339
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Aug 10 10:58:41 2010 -0400

    xf86-video-mga 1.4.13
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 411570523550e1997bbd83815990bdda8cfd129c
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jul 21 16:49:04 2010 -0400

    config: add comments for main statements

commit 99892c4f416e9669a62963d29e7dee760382da95
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jul 21 16:07:00 2010 -0400

    config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 1f78a33e576898a0b7fd542f772064ad2f01e2f9
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jul 21 14:37:41 2010 -0400

    config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit fb311dc7e72a956c5a03e63757ec96b6626afb3a
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jul 21 14:05:22 2010 -0400

    config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit f2c386e5a7b9b5682db40d53e9f7b92e7d41ceba
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jul 21 09:27:42 2010 -0400

    config: complete AC_INIT m4 quoting
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 01d47165804c6c3a674fda7a9629e2f1d0f8b2db
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Jul 20 21:54:11 2010 -0400

    config: remove unrequired AC_SUBST([DRI_CFLAGS])
    
    This macro is called by PKG_CHECK_MODULES
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
