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

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

commit 6562444ed998b2c33be690dd9b1d729b3a4ecedd
Author: Dave Airlie <airlied@gmail.com>
Date:   Mon Jul 16 19:20:38 2012 +1000

    xgixp: fix build against XAA-less server.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit f526b428847bf03abcc74a2e4b0ea08d3f1e167c
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Jun 7 16:27:49 2012 +0100

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

commit 8130a2ac8332ff1f83f9f35acca3053d4076f443
Author: Adam Jackson <ajax@redhat.com>
Date:   Mon Dec 19 17:43:52 2011 -0500

    Fix for new vgaHW ABI
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 6de4e59b48cd1229a4c91b190d239976f7bb3e30
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat Oct 29 19:22:09 2011 -0700

    Add missing prototypes to headers to silence warnings
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit d5fe4c4aa83db6e5f9c37eaecad006b6cfc466e8
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat Oct 29 19:25:23 2011 -0700

    Silence warning about xg47_CrtcInit returning a value when it should return void
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 447f63b6d49de6b4678a0ea54d0152fc808c5e04
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat Oct 29 19:23:55 2011 -0700

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

commit c97f4b0a5450eb1abdd45f3c884a829efbb52d02
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat Oct 29 19:17:18 2011 -0700

    Remove calls to loader symbol list API
    
    These were removed a while ago and were noops before then.
    
    cf xserver commit 71a83d68ab07536c0778d13cd7da974c40e77457
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 881ac08b1dfed4822b1239ab8a0da4dc7aa2ee43
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat Oct 29 19:13:28 2011 -0700

    Silence printf format warnings
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 4b4a2dcd75b329311b21e6203e9b12df7fa06a8b
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat Oct 29 19:09:26 2011 -0700

    Silence compiler warnings by including header
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 1ccae1f9d9b1f62a86c58837c6a737f2aea9c119
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat Oct 29 19:07:38 2011 -0700

    Use malloc/calloc/realloc/free directly
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 86258a6fd8fc8bb09a52ee446b37abe6bd0843ef
Author: Adam Jackson <ajax@redhat.com>
Date:   Fri Mar 25 18:46:55 2011 -0400

    API compat fix for DRAWABLE_BUFFER
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

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

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

commit 9a15f0b16f03c57d7ecf81b2ec1f7e6ee1ddd880
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Aug 10 11:18:47 2010 -0400

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

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

    config: add comments for main statements

commit ec3b8f1f8b6a0dbffbf88797744d7a19052090a9
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 c266cdef03434e5bf06a6537527cdeec4df18dec
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jul 21 14:37:42 2010 -0400

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

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

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

commit 299a72b3eb0014ba026656e5c1090cba25dce40b
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 360d207adc9be6601a480278e01ecea36a5d01c3
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Jul 20 21:44:58 2010 -0400

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

commit 85e5f14e34f21e574ff009bd66ceb130265e79ce
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Jul 20 20:24:42 2010 -0400

    config: remove unrequired AC_HEADER_STDC
    
    Autoconf says:
    "This macro is obsolescent, as current systems have conforming
    header files. New programs need not use this macro".
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit f6f2ea0f9193d70deefafca50c681fe7de18a7b3
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Jul 20 19:41:31 2010 -0400

    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
    
    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
    AC_PROG_C_C99. This sets gcc with -std=gnu99.
    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit d3e27797f53857e9dbc6a7efeb86e1c1452eb93f
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Jul 20 18:45:19 2010 -0400

    config: update AC_PREREQ statement to 2.60
    
    Unrelated to the previous patches, the new value simply reflects
    the reality that the minimum level for autoconf to configure
    all x.org modules is 2.60 dated June 2006.
    
    ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 913c0f09a6f7aa93962395835c83eeba6a434ee4
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Jul 20 16:15:30 2010 -0400

    config: upgrade to util-macros 1.8 for additional man page support
    
    Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
    The value of MAN_SUBST is the same for all X.Org packages.

commit e544190816abd0c301ab0ecee99758487bb9bd1c
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Jun 13 13:38:50 2010 -0400

    COPYING: add file with actual Copyright notices.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 4157147d56587ca550abf40870324eb1b45005aa
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue May 18 13:18:50 2010 -0400

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

commit da8067534ab5398cbc94ba35490f84fdf5107572
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Jan 15 15:53:47 2010 -0800

    Update Sun license notices to current X.Org standard form
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 458c0109935bd6fab371b46a2c3a54721c86a022
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Dec 15 21:47:57 2009 -0500

    configure.ac: use backticks rather than $() for cmd subs
    
    Use "$PKG_CONFIG" rather than hard coded "pkg-config"
    
    Acked-by: Dan Nicholson <dbn.lists@gmail.com>
    Acked-by: Daniel Stone <daniel@fooishbar.org>
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 84add25d6e266faff4ebb289b7bd8c6f5c954c83
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Nov 23 09:25:06 2009 -0500

    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
    
    Now that the INSTALL file is generated.
    Allows running make maintainer-clean.

commit 3e9507b7dd53fda2663f87ae4379d192083e0c36
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Oct 28 14:41:41 2009 -0400

    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
    
    Automake 'foreign' option is specified in configure.ac.
    Remove from Makefile.am

commit f06056a683859f9d9afb858cfa2898e07eb26511
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Oct 28 14:09:10 2009 -0400

    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
    
    Add missing INSTALL file. Use standard GNU file on building tarball
    README may have been updated
    Remove AUTHORS file as it is empty and no content available yet.
    Remove NEWS file as it is empty and no content available yet.

commit 573e48bbaad584d968a21b5b30ef355d2ae71362
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Oct 26 12:54:23 2009 -0400

    Several driver modules do not have a ChangeLog target in Makefile.am #23814
    
    The git generated ChangeLog replaces the hand written one.
    Update configure.ac to xorg-macros level 1.3.
    Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros
    Update Makefile.am to add ChangeLog target if missing
    Remove ChangeLog from EXTRA_DIST or *CLEAN variables
    This is a pre-req for the INSTALL_CMD

commit 24deadfff2dc0c8aaee722e875918072ec6a0067
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Oct 22 12:34:18 2009 -0400

    .gitignore: use common defaults with custom section # 24239
    
    Using common defaults will reduce errors and maintenance.
    Only the very small or inexistent custom section need periodic maintenance
    when the structure of the component changes. Do not edit defaults.

commit a8af3c77170e4a61b4569173019c923105900180
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Sep 8 13:15:49 2009 +1000

    xgi 1.7.99.4

commit 8889b673c07afef710a2937f3a71cb93183da09e
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Sep 8 13:15:37 2009 +1000

    xgi: make build without drm header file

commit 439af09aff27f7b66dab5f7a7fb939270b304836
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Jul 28 15:23:25 2009 +1000

    xgixp: change to using ABI version check

commit d99a9192b7f8d55ffb6f9dd4c4afd344128a72f5
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Jul 28 13:50:33 2009 +1000

    xgixp: rac/resources cleanup

commit 9b40a023cc8b2d2cf035ccd847b0db0c5b980fb8
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Jan 30 20:08:44 2009 -0800

    Add README with pointers to mailing list, bugzilla & git repos

commit 5e73ad8d4529b82aae1705ed7996005701a2d686
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Jan 30 20:07:39 2009 -0800

    Correct names in man page
    
    Also strip ^M's

commit 6d72d43af6d5f14f94b4363d686db1b3477b6289
Author: Benjamin Close <Benjamin.Close@clearchain.com>
Date:   Thu Dec 11 02:34:15 2008 +1030

    Fix build due to xf86Version -> xorgVersion changes

commit 2ed8fbf31329293f3ddeb65f7597b1e0a4c473f3
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jun 12 20:03:21 2008 -0700

    dvi: Detect digital monitors differently from analog monitors
    
    If a display is connected only to the VGA port, it can be
    "accidentally" detected as both DVI and analog VGA.  If EDID is
    supported, determine whether the EDID block says the monitor is
    digital.  If EDID is not supported, then assume that it can't be
    digital.
    
    Sound familiar?

commit 4f16bba339cef8f815cb9a3f969b8a1d1e1d0e33
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jun 12 18:43:17 2008 -0700

    biosBase is never used.  Remove it.

commit 6d1eebdc5d7f0d7e39e15aeca000f07461bdb3bc
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jun 12 15:37:45 2008 -0700

    DRM: bump kernel version
    
    The reflects the requirement of the non-TTM fence interface.  Matching
    DRM update is required.

commit 12d6b6092d945c4959e324be7f19fc941a7230fe
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jun 12 12:54:19 2008 -0700

    VGA: Detect analog monitors differently from digital monitors
    
    If a display is connected only to the DVI port, it can be
    "accidentally" detected as both DVI and analog VGA.  If EDID is
    supported, determine whether the EDID block says the monitor is
    digital.  If EDID is not supported, do some voodoo to determine if
    there is a monitor load present.

commit e18cf68049a8567876bb37db79f5ecc8a63790d4
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Jun 11 17:20:31 2008 -0700

    dvi: Enable DVI output.  Only one CRTC is supported still.

commit 635e85bc263bae8570ee9d2d5b8a36448ee9a51d
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Jun 11 17:15:36 2008 -0700

    i2c: Add support for DVI port I2C

commit e3ef053f834ab2e4ec9aab50b399d9c1ffbcf242
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Jun 11 17:12:50 2008 -0700

    Enable per-output I2C interface

commit 44893ae0d9d3bfe22216e98d31f46fce03a84e65
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Jun 10 22:19:24 2008 -0700

    Remove dependency on TTM fences.

commit 0b1feeebc0c7bb5a8ab945e52598e070102986be
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon May 12 17:05:23 2008 -0700

    Remove dead XGIDPMSSet function

commit a835365ccb6a8b6abbd10d1ba386640b5ae0b368
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon May 12 17:04:25 2008 -0700

    Use libwfb to do byte-swapping on big-endian.

commit 0fbe9a5baab742cc2f03591487b844a6aceed142
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu May 1 13:03:44 2008 -0700

    Correct version number.

commit 88f46d2fb5e17b4ae07030b1b6e645aaae5d7e47
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Apr 30 12:31:19 2008 -0700

    Remove dead --with-native-mode-setting configure option

commit ab2c9a1340543892d8f8f49765cc3f2cdd7b284c
Merge: f50b5bb 9aa97d2
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Apr 30 10:56:44 2008 -0700

    Merge branch 'randr-1.2'

commit 9aa97d2195eb74b83c4f0c5785bba1177e1c0373
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Apr 30 10:49:35 2008 -0700

    Fix font restore problem on server exit

commit 6c3cda87113775458e14aad714d17c075e0dd024
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Apr 30 10:02:43 2008 -0700

    Hack to make acceleration work again
    
    For reasons that I do not understand, if the mode is not set before
    calling XGIDRIFinishScreenInit, acceleration will not work.  I assume
    that there is some register setting that should be done in the kernel
    but is only done in the mode setting code.

commit fbcbf2c9c92d20598a9363868844e3a838846d8b
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Apr 30 09:45:36 2008 -0700

    Remove several pieces of '#if 0' code

commit e20644c9671be68a5f9b9e227db923166052174c
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Apr 25 13:28:21 2008 -0700

    Always select the programmable clock in alt clock select
    
    This fixes mode setting in RANDR, but acceleration is toast.

commit 91c3de57f3cd4d4480b2b753ffbae6a3f1cf51fd
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Apr 25 13:28:00 2008 -0700

    Include xgi_regs.h to make it compile.

commit 58e3adb8e8c4591e6f5f179e542387cd4ab20b73
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Apr 25 10:37:36 2008 -0700

    randr: Initial attempt at (non-working) RANDR support

commit f50b5bbfbee823457ff0777a428c4efee1e7785d
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Apr 24 15:44:43 2008 -0700

    Remove xf1bpp.h and xf4bpp.h

commit 57bd3d18426eb3da0d55af85db5b5fed38f484fe
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Apr 15 09:21:33 2008 -0700

    Use fbdevHWLoadPaletteWeak, directly use XG47{SetOverscan,LoadPalette}
    
    The changes allows the removal of xgi_mode.[ch].

commit 3eb1f2a530626162f6791215c01f1ece7617b216
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Apr 15 09:12:30 2008 -0700

    Remove prototypes for functions removed in previous commits

commit 06c189acc994e656064b210da5f572363f4e0f91
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Apr 14 16:39:24 2008 -0700

    Remove anything related to BIOS mode setting

commit 190559d2da3da9500553e159475086ea2f870a5f
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Apr 14 13:14:27 2008 -0700

    Rework mode setting
    
    Split mode setting into one part that calculates the register values
    and one part that sets the registers.  This matches the way most
    drivers work, and it gets XGIRestore mostly working with native mode
    setting.

commit 54aa7e0081ecc1ee56e2d39a53fc0a6962dfa1fb
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Apr 11 14:45:55 2008 -0700

    Trivial code clean-ups

commit f4dfb7ba1ae01ce1b401536328fee348322b8423
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Apr 11 14:22:07 2008 -0700

    Load required modules and symbols from XGISetup

commit 044583037a109894f43ccb9a0b9c9e95266d004a
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Apr 11 14:08:41 2008 -0700

    Use fbdevHW*Weak functions
    
    This changes allows some other trivial clean-ups.

commit 8a4a9d72ecad1ffabb42a3dab05a49c53e0b1ab1
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Apr 11 12:39:05 2008 -0700

    Eliminate XGIFBLayout structure
    
    This was missed in the previous commit.

commit 866eca6fad8a1dc9bfd5064fe166701ba9a78d3f
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Apr 11 12:38:25 2008 -0700

    Eliminiate useless currentLayout field.

commit e8374c7916610858a6bbb99cac4c64aa2f75d1a4
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Apr 11 12:35:28 2008 -0700

    Eliminate useless isNeedCleanBuf flag.

commit b56a17e260748a75e94db452897623156360fd1d
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Apr 9 12:30:26 2008 -0700

    Add correct I2C support for the CRT I2C bus on XG47
    
    This makes monitor DDC work.  Finally!

commit 49a30a4d6adcaed1fdb8e1740ba16ca7e52ebdb5
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Apr 9 12:06:04 2008 -0700

    Update to match changes in DRM fence API

commit 1a436e56b2cacd5544de65a98cccb5e825e1e432
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Jan 18 16:29:33 2008 -0800

    Enable native mode setting via configure option --with-native-mode-setting

commit 24a5d250329991a85dded8743b1b8391649c8144
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Jan 18 16:23:06 2008 -0800

    ifdefs around native mode setting code

commit c351867da13b46d9834a52837032c9e41ca12315
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Jan 18 16:22:49 2008 -0800

    Add fields to XGIRegRec needed by native mode setting code

commit 6f52c837fa601135329743b9f38dafbb09a4f907
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Jan 18 16:21:46 2008 -0800

    Use table for VCLK values and fix bug in horiz param overflow register setting
    
    These changes fix most 1600x1200 (and higher) problems.

commit 8331c5faeccd241ac7e8b4efa34a555c6b05bf87
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Jan 18 15:58:02 2008 -0800

    Add missing header files

commit 724e420a1dd117e6fab2fdaa9d0186d5fb56fae0
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Jan 18 15:56:13 2008 -0800

    ifdef out code when NATIVE_MODE_SETTING is defined

commit f91a5f2bf865f0e239174392f6b36a341746676f
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Jan 18 15:55:22 2008 -0800

    Replace xg47_BeginCmdList with xg47_BeginCmdListType
    
    xg47_BeginCmdList takes the command type as a parameter instead of being
    hard-coded for BTYPE_2D.  A wrapper macro provides compatability between the
    two.

commit 6f2f3a31a16ad2c6fbb3cf514d3bfd8abee95920
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Jan 18 15:53:23 2008 -0800

    ifdef out more code when NATIVE_MODE_SETTING is defined

commit 3c1283307998f6c1ac7735631b9433ba2a0644fe
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Oct 15 13:04:48 2007 -0700

    Log error message if too much data is written to command list.

commit 9ecb4b8f50aff8eaf528c109c587dc52a8241c93
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Oct 15 12:50:14 2007 -0700

    Rework command list tracking
    
    Buffering of 2D register writes was heavilly reworked.  Previous code tracked
    the number of DWORDs written to the command buffer and ussd modulo
    arithmetic to determine when there were pending register-write commands.
    Now track the number of pending register-write commands explicitly.  This
    simplifies checking in a few places.
    
    Eliminate a couple unused structure fields, fold several routines into
    xg47_EndCmdList.  Add new function xg47_EmitRawCommand.

commit a89c445bd930f92342833a19e61d92b7cc8085d7
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Oct 15 12:47:05 2007 -0700

    Trivial clean-ups in XG47SetCRTCViewStride

commit 198b492293f27750f6e276d0418145ddbcd57161
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Oct 15 11:18:36 2007 -0700

    Eliminate kooky color byte-order swapping.
    
    While this byte-swapping technique fixed some color probles on big-endian
    systems, it caused applications that use Render to segfault.

commit 588dc4265fffec9e569a176e28476a27183d0cf5
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Oct 10 15:27:42 2007 -0700

    Fix command list submission on big-endian.

commit 07e22f46f367b8b673c1e37e1487ebde16a61bc3
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Oct 9 15:05:32 2007 -0700

    Fix comment in XG47GetFramebufferSize to reference correct page in docs.

commit 8e27af32ac56a32e3043c15f18ac83cf2e3f4c4c
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Oct 9 15:02:02 2007 -0700

    Log video RAM size in decimal rather than hex.  D'oh!

commit 88c82a0b921fddc4fd73246c653da795fc0775fc
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Oct 8 16:45:02 2007 -0700

    Current native mode setting code.  Not yet used by driver.

commit 2f398be82a70b5d30d7a823a2d5b3b43777e52c7
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Oct 5 14:45:32 2007 -0700

    Eliminate "value" as a global variable.  Minor clean ups.

commit 9a9f57ca98711e4fcedadbd70efb3d9fa81a17e2
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Oct 3 15:19:34 2007 -0700

    Clean up log messages around DPMS init.

commit a4b2705f3d41e4a0f8341dd1c9770dfa9a61fcc7
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Oct 3 15:18:48 2007 -0700

    Remove some dead code in XGIRestore

commit c36221ee1d5dca8054960fe2fa7e9c5f8a418aaa
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Oct 3 14:57:48 2007 -0700

    Fix typo in get_configured_monitor
    
    We only want to use VBE to get DDC info if all other attempts failed *AND*
    VBE is available.  Ugh.

commit ff0e05f58c9593f25a8294528ceea7cdbb787f1e
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Oct 3 14:54:53 2007 -0700

    If VBE is not available, set DPMS registers directly.

commit ee14a430485ed12c59daacf902b170918baaa7d0
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Oct 3 14:36:26 2007 -0700

    Eliminiate unused variable in XG47DisableMMIO

commit 9a876e28de18fd0223db2700ab41b2313423d890
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 26 11:30:20 2007 -0700

    Eliminate unused global variable g_ModeOfFirstView.

commit ffabc095100fd5407ccb426af80bfc5ec74de310
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 26 11:02:44 2007 -0700

    Trivial color map / color weight cleaning

commit 91d8300324234413875f4eb54a653b643e6a5218
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 26 11:01:25 2007 -0700

    Include fbdevhw.h to silence a warning

commit 3a33569cf4a2e85ce664246691d794f3ca056667
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 26 10:51:40 2007 -0700

    Check DDC before validating display modes

commit 10b446279b3a0d27a3c8a8bfc051742801a937fe
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 26 10:51:08 2007 -0700

    Code clean up, extra error messages.

commit f2568de7e3b1649b194b47464fd6130db5c82286
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 26 10:50:37 2007 -0700

    Correctly check return status of biosValidMode

commit d56a2cd334932c246a6fb19b1f38102b56999bd6
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 26 09:46:14 2007 -0700

    Return more useful values when a mode is rejected
    
    Previously all mode errors would result in MODE_BAD.  Now more accurate
    error values are propogated back to core.

commit a0b757c205757225d13ff3e58d6a958456d6a249
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Sep 25 17:30:07 2007 -0700

    Fix weird typo in vgahwSymbols list.

commit b3ff90ea9262b9fa4089cad3c58bc659433cb066
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 12:22:27 2007 -0700

    Revert part of dd894764fce3084d8b0726a0597748c7dfb6566c
    
    It turns out that 'N + 8' was correct afterall.

commit 8aa637204f2812236d0b3da2c4b24201a95eb2c8
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 12:20:28 2007 -0700

    Use vAcquireRegIOProtect instead of explicit writes to 3C5.11.
    
    These occurances were missed in commit 8fcb87915b1116c61177d851df6fca840210d6c7.

commit a2d31171b4153895692665d7c46ed6164d6ab4bf
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 11:52:27 2007 -0700

    Clean up int10 / VBE / DDC initialization.
    
    This seems to resolve some problems on PowerPC.

commit 4cf0b67161662b63d48fbc82772ed8a8c677a80a
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 11:33:05 2007 -0700

    Color byte ordering fixes for big-endian

commit 81449635aed25aedd264a5efb4b44d628ea5a44f
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 11:30:00 2007 -0700

    Make sure DRI and DRM symbols are available before calling XGIDRIScreenInit

commit a84ef486d9a15d7f6239fd808fd4a2b810461b7e
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 11:20:30 2007 -0700

    Fix error case return value of XGIProbeDDC

commit 48bd60def2685986fbac501d88db6a8213df14b9
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 11:20:04 2007 -0700

    Eliminate unnecessary wrapper function XGIDDCRead

commit f27b8b1235f90e7b15f02b9e3b252e6455bbb025
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 11:17:12 2007 -0700

    Major clean up.
    
    Eliminate unused functions.  Add support for byte-swapping on big endian.
    Replace CARD(8|16|32) with uint(8|16|32)_t.

commit e95082f64c10883ec51516ec5f7a1d5622830233
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 11:08:52 2007 -0700

    Refactor cursor size setting code

commit e9616a0e4ef7dd01d0323c90e5443c0e31c0d4bc
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 10:49:38 2007 -0700

    Refactor setAlphaCursorPattern and setMonoCursorPattern into a single function

commit d776f95f29701f4f38a811d964f8ab68112f53fe
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 10:45:13 2007 -0700

    Refactor setMonoCursorColor and setMonoCursorColorOfSecondView into a single function

commit ada16f75b85ee1ac8b2a7d52a59d2f544e75081f
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 10:38:22 2007 -0700

    Only need one position function for CRTC1
    
    After the previous commit, setAlphaCursorPosition and setMonoCursorPosition
    are identical.  Delete one and rename the other setCursorPosition.

commit 3a40df6212b6d5d6ece224ef0bad2e9aa75d703c
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 10:36:21 2007 -0700

    Clean up cursor position setting routines.

commit 11be19b9808d754b08261ff163ac745cbc7f7b35
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 10:29:24 2007 -0700

    Disable cursor debugging.  This shouldn't have been committed in the first place.

commit 6f4e3dd175b43e4630908e0fa78e6068a899f9b9
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 10:28:44 2007 -0700

    Move prototypes from xg47_cursor.h to xg47_cursor.c, make them static.

commit 5b0eb77ca0f13f47356e791ff98bda8ef3476782
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 24 10:25:17 2007 -0700

    Minor clean-ups.

commit 2ac5e7fee80cbb240f1ea4d442cdc9c937507138
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Sep 20 12:10:45 2007 -0700

    Clean up CURSOR_DEBUG messages.

commit ad61fd3a165cddd35b89ba6815ea3a7b384595f3
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Sep 20 12:02:20 2007 -0700

    Clean up the ARGB_CURSOR #ifdef maddness.
    
    Remove all of the existing ARGB_CURSOR #ifdefs.  If ARGB_CURSOR is not
    defined, force XG47UseHWCursorARGB to return FALSE.

commit 9fb58c66a3c44af902e6c6a8535be3d3bbc6efcb
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Sep 20 11:53:35 2007 -0700

    Clean up cursor related structures and structure fields.

commit 8a04ad66edf0e56ada64e0237d8a0257fb133e5a
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Sep 20 11:47:23 2007 -0700

    Fix mono cursor on big-endian systems (e.g., PowerPC).

commit 8fcb87915b1116c61177d851df6fca840210d6c7
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Sep 20 11:38:00 2007 -0700

    Use vAcquireRegIOProtect instead of explicit writes to 3C5.11.

commit cdc2789ead524742ba4ba06307b276d39369fdb5
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Sep 20 11:23:24 2007 -0700

    Indentation, dead code removal, trivial clean-ups.

commit dd894764fce3084d8b0726a0597748c7dfb6566c
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Sep 18 11:29:43 2007 -0700

    Clock value calculated by XGIBiosCalculateClock was too high.
    
    The clock value previously calculated by XGIBiosCalculateClock was too high
    because (N+8) was used instead of (N+7).  The hardware documentation clearly
    states that N+7 is correct, and hand cranking a few numbers shows this to be
    true.

commit 37f81b9c5782847652efaa08058eb4b7c7aaada5
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Sep 18 11:23:30 2007 -0700

    Dead code removal, trival warning clean ups.

commit cdfd1b3b0441b195ef1c26b3e2aa1e4ab0b7a914
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Sep 18 11:09:47 2007 -0700

    Fix typo in error message.

commit 0a2aa4a89187e443da4527d2890b03938bc2e995
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Sep 18 11:08:59 2007 -0700

    Clean up DDC and I2C initialization.
    
    Correct a couple minor bugs in I2C initialization.  Try to use VGA DDC1 or
    I2C DDC2 before using VBE.  Sadly, both methods still fail.

commit e0b9210a7f693e11db75c0caa26a9dc9f5a68d1b
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 17 21:10:33 2007 -0700

    Eliminate pVbeModes.
    
    VBE_INFO is / was never set, and I can't see how it would even be used.

commit b477d47d2d30a980f10e83e8774f1e8417334f55
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 17 21:07:12 2007 -0700

    Remove some unused structure members from XGIRec.

commit f8f803ad91a6f4d7c8031be19f18a1161107de7d
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 17 21:00:47 2007 -0700

    Clean up some extraneous debug messages.

commit f70d6078c1b21569e0a722d03029bc6bee946ea7
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 17 20:55:54 2007 -0700

    Eliminate g_pScreen
    
    This was just used for debugging.  However, it was used incorrectly, and the
    ScrnPtr could be accessed a different way.

commit 565c8b802318d45b438f5462af9d52c398285d02
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Sep 13 11:36:19 2007 -0700

    Remove some dead code.

commit f52485f1990fc30cd672587391163a1b9b2f0a7c
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Sep 13 11:35:55 2007 -0700

    Trivial change to the interface to fill_ask_mode

commit f8063f7f3a0675a260d2ec7d037accee4f445212
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 12 20:48:03 2007 -0700

    Use VBEDPMSSet instead of the open coded version called XG47DPMSSet

commit eec6d954e5a9d181060d60a84de1888214077037
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 12 20:39:23 2007 -0700

    Clean up VBE usage in XGIProbeDDC

commit 8923f4c59fe482e0fdd5b272e47532215ce38ba4
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 12 20:36:10 2007 -0700

    Don't explicitly xf86FreeInt10 if it was allocated by VBEInit

commit 1481633e6ed82d1ec5e029ac2a427310f5c30447
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 12 16:27:39 2007 -0700

    Clean up some of the VBE / int10 initialization insanity.

commit 4aaca3b293dd1d5ee32b3321b783031203775959
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 12 15:42:01 2007 -0700

    Remove unnecessary chipID and chipRev structure fields.

commit de2d22da7a30661ed07251901de565e3bd6f4c34
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 12 15:37:14 2007 -0700

    Version bump for recent changes.

commit f9426087a60d0f115296d39cec66872c33f10b71
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 12 15:36:20 2007 -0700

    New function XG47GetFramebufferSize to probe installed memory size
    
    XG47GetFramebufferSize uses hardware registers to determine installed memory
    size on XP10 instead of a BIOS call.  Since the documentation for the BIOS
    call is incorrect and other hardware (e.g., XP5) may do this probe
    differently, the old BIOS-based routine was kept.
    
    One less BIOS call required in the driver!

commit 1fe0a90fd39c81aa6de080cd873576ec7ae182bf
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Sep 12 14:11:50 2007 -0700

    Add new function XG47GetModeFromRes
    
    XG47GetModeFromRes finds the XGIModeRec that matches the specificed
    resolution.  Several bits of code that explicitly searched the mode table
    were converted to use this function.

commit d8cdc07bffd68cceb37e45ec4578006f8b7e6b61
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Sep 11 22:49:02 2007 -0700

    White-space / formatting clean up in XG47GetValidMode

commit 01574a441a269f59e055c022dac0f9874ec16f5f
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Sep 11 22:47:59 2007 -0700

    Clean up XGICheckModeSupported and its interface.

commit d1ddb1f206994a0b97ca5fb1a5291eaf70b2480c
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Sep 11 20:25:01 2007 -0700

    Refactor some repeated code from XG47GetValidMode to massage_refresh_rate

commit 7ebeb90b440d1548d4c504671c542948e1b655fd
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Sep 11 18:01:34 2007 -0700

    Formatting and cosmetic clean ups.

commit 6a202f7943d50b14bf3a7b57295fd8554d9c2d05
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Sep 11 14:05:25 2007 -0700

    Refactor common code from XG47ValidMode and XG47ModeInit to fill_ask_mode

commit 637bf0af327abd6249109d08c96bf4a8e72cf5eb
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Sep 11 14:02:52 2007 -0700

    Remove several more unused functions.

commit 71df199a9f49fbe564817feeaaae2e9e9499d6e2
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 10 23:11:07 2007 -0700

    Fix mistake in comment header for XG47ConvertRefValueToIndex.

commit dd3c6b8ff7ed7a2422379503e88654ccf199bbeb
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 10 23:10:17 2007 -0700

    Remove XG47ConvertRefIndexToValue, clean up XG47ConvertRefValueToIndex

commit 59a96254c21b5f62dc84fbc070542751ce471cb0
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 10 22:04:52 2007 -0700

    Clean up XGIBiosModeInit
    
    Refactor XGIBiosModeInit and clean up its interface.

commit 2b389fef62210272a572c6bfdf81e5e0abf731ce
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 10 20:20:19 2007 -0700

    Remove unused bits of XGIGetSetChipSupportDevice.  Clean up its interface.

commit ccffc8058e10c581acd7102b082350dbd09376c8
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 10 20:10:46 2007 -0700

    Refactor XGIGetRefreshSupport.

commit ae3ca9860735ee19d8ebf7b2f67f3cb2825a2803
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 10 17:52:01 2007 -0700

    Clean up in XG47GetValidMode
    
    Remove "#ifdef 0" code.  Rearrange the way the size required for the mode is
    checked against the available memory size.

commit 00860f7af132c29bc9661434f089b013149a1455
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 10 17:38:51 2007 -0700

    Clean up the interface to XG47BiosSpecialFeature and related functions.

commit a7c495382358f7c46324a13eeedec8ca67c58813
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 10 17:00:20 2007 -0700

    Remove various unused BIOS, mode, and TV related code.

commit 251e2852cac242c8a94f5dbb66ff566247d5f412
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 10 11:46:34 2007 -0700

    Remove numerous unused BIOS related functions.

commit 1869bf6fed5e1f72379a71b37bee86d590f585d3
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Sep 10 11:24:37 2007 -0700

    Move struct XGIDRIPrivate to new file xgi_dri.h

commit 596a84b11710728d59fe1f95922b96ddcf0c374a
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Sep 6 15:42:13 2007 -0700

    Require XGI DRM version 1.0.0 or later.  Bump version to 1.8.0 pre-release.

commit ba1a609323f9441f69b90d41345773df64fc5878
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Aug 29 19:10:27 2007 -0700

    Fix libpciaccess autodetection.

commit 5dc5108d9b64e4336d85fad211c348f75643dc81
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Aug 27 14:17:03 2007 -0700

    Port to libpciaccess and related interfaces.

commit 7d3c1c0a0a7d55af0df01a6bce8b4406dfcb73e6
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Aug 15 22:10:49 2007 -0700

    Use command.ptr as previous.end sentinel instead of NULL.
    
    By setting command.ptr as the previous.end sentinel, instead of NULL,
    the special case handling in xg47_BeginCmdList can be removed.  With
    the fences, it just works.

commit 6dc3ac7134d1dd4aa4e3f1d92e0f6ccdd20c102d
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Aug 15 22:09:31 2007 -0700

    Set tighter bounds on command sizes.

commit 503dead83fdbe15ddef96c0a740b82047819a708
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Aug 15 21:48:03 2007 -0700

    Wait on fences before destroying them.

commit 85fce2a1b134cb426a6920ad0ba7e70728356158
Author: Ian Romanick <idr@us.ibm.com>
Date:   Wed Aug 15 21:06:13 2007 -0700

    Use DRM fences to protect the command buffer.

commit 349359ca57ebb061d8fe6e9ba0fe0e6fba973fb8
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Aug 14 13:45:37 2007 -0700

    Eliminate use of DRM_XGI_TEST_RWINKERNEL, bump to new DRM version.

commit 2357901fd144265171e85eb2fcbaa87691637166
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Aug 10 14:10:07 2007 -0700

    Only enable / disable MMIO writes when not using kernel module.
    
    The kernel module does its own setting of the MMIO protection bits, so
    the X-server should not change them.

commit 1cc8ec4a5f73a8a08ed90da865bebb8e1d12c6f8
Author: Ian Romanick <idr@us.ibm.com>
Date:   Fri Aug 10 11:16:12 2007 -0700

    Remove useless XGI(En|Dis)ableMMIO wrappers.

commit 1b6947541dcff4c48f7a5de0060571894c5bed77
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Aug 9 15:32:17 2007 -0700

    Use new memory allocation ioctls.  Require xgi_drm 0.11.x.

commit 816d08af96f669c7a4c0c18cfffb32009e091104
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Jul 31 16:56:44 2007 -0700

    Correctly pass ScrnInfoPtr instead of ScreenPtr to xg47_Cleanup.

commit a533a5df94c0cdb32ebc187ec28879bad54b9096
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Jul 31 16:26:47 2007 -0700

    Eliminate useless function XGIAccelInit.

commit 54d7ac4c27457fc5a8b887338e20e888e80c453a
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 30 12:01:10 2007 -0700

    Remove useless / incorrect comments.

commit a551568eaa2d97b49dccac475aae1f804c322420
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 30 11:55:33 2007 -0700

    XG47(En|Dis)ableGE are redundant with existing kernel code.  Eliminate them.

commit a9d9feb9c9a8038f41750e0daf26d6b33aacec88
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 30 11:52:30 2007 -0700

    Move XG47EngineInit into the kernel where it belongs.

commit f27db7ba8b535aa1a0d2416ac2f881f158728805
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 30 11:48:04 2007 -0700

    Eliminate unnecessary structure field discardCmd and associated cruft.

commit 5f3f77316ddd1e00c22f32226f5dc3c807d0680e
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 30 11:43:13 2007 -0700

    Misc clean ups, remove unnecessary "pXGI->chipset == XG47" tests.

commit 99eb2f3a405f5fd37346cca62e38820ba4011bd4
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 30 11:06:51 2007 -0700

    Remove call to XGIDumpRegisterValue from XGICloseScreen.
    
    XGIDumpRegisterValue was called *after* MMIO was disabled.  Obviously,
    that can't work (or be useful).

commit bc7992b1f330da9dfcd08fd2a61bb88388bae2b4
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 30 11:05:40 2007 -0700

    Call XGIDRICloseScreen directly from XGICloseScreen.
    
    Also, if direct rendering is enabled, let the kernel disable MMIO.
    There's no need to do it from user space as well.

commit 91c72c7e237d1248d3304eb17fdab9da315084bf
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 30 11:04:32 2007 -0700

    Fix typo in invocation of IN3X5B.

commit f80284ef73189880ae92fa77775d560895e7f374
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Jul 24 13:28:20 2007 -0700

    Update to XP10 DRM version 0.10.0 protocol.

commit 8010d6f4ade7c82c1c9bec4f16d6480a9c217f44
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 23:28:41 2007 -0700

    Default accleration options to TRUE.

commit b0a1dae9568fbaa7e97ff0e89ec01f19471f5b73
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 23:09:32 2007 -0700

    Mask off the naughty upper bits of the register address.
    
    The complete register address is 16-bits.  However, the upper 8-bits
    are implied by the BEGIN type, and there is only room for the lower
    8-bits in the command packet.  With this change, acceleration works!

commit 4097b954ddb6e1057f9350799a3459eeeacb8d11
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 23:08:21 2007 -0700

    Require the matching DRM version.

commit 3c8e94c4dc2f3e10bad4c8c7a7e87c232a0d775d
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 23:07:57 2007 -0700

    Fix a s/CARD32/uint32_t/ change missed on the previous commit.

commit 37b7ef0cc56063d00a5ff81616eeac6ff036731a
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 22:51:38 2007 -0700

    Hate on CARD32 in xg47_cmdlist.[ch].
    
    Replace all occurrences of CARD32 with other types.  Usually either
    'unsigned int' (when no particular size is needed) or uint32_t.

commit e6e573ab1fc47f942945024023ea5ff2e65ae9c2
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 22:43:14 2007 -0700

    Comments for xg47_BeginCmdList

commit d12c68b9b676e43c36a0efcf753e1562f317184e
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 22:40:49 2007 -0700

    Remove useless "inline" keywords.

commit 774ba82b212cd5b6085ee64b89f4d190e8aed21b
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 22:39:48 2007 -0700

    Clean up addScratchBatch.

commit b4ce2781f61837623827066b012b856b7608ba1b
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 22:35:11 2007 -0700

    Eliminate unnecessary hardware idle waiting.
    
    These do not appear to be necessary at all.  Even if they are, they
    should be handled in the kernel.  As a bonus, the code in
    xg47_cmdlist.c no longer needs the MMIO pointer.  Remove that too.

commit 6024fd68fe6d623d8b1364b48e833a4cfff53e5d
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 22:30:09 2007 -0700

    Fix some bad pointer math in waitCmdListAddrAvailable

commit fd3a8859353ee2b6eada8bcdc5f3c6831410960d
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 22:22:28 2007 -0700

    Eliminate several unused functions.
    
    xg47_StartFillData, xg47_FillData, xg47_SubmitData, and reserverData
    are completely unused.  In the future we may implement similar
    functions, but I hope to have a different memory manager by that.
    That will precipitate a very different implementation.

commit 2fef76710f704b32840fefd63b44b398ff68fb4c
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 22:18:21 2007 -0700

    Refactor advancement of data_count into emit_bunch.

commit 44e00f5757589d41109bf0af798ef71de0948d7d
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 22:15:08 2007 -0700

    Eliminate unused function getCurBatchBeginPort

commit d0665cc87419a130666c3838d5bab41fc1fac76a
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 22:12:57 2007 -0700

    Eliminate linkToLastBatch and triggerHWCommand.  That is the kernel's job.

commit a0f3b097e29d7bfc90072011fdc7a53179a6e700
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 22:10:46 2007 -0700

    Clean up dumpCommandBuffer
    
    Conditionally compile the function (and its callers).  Also, make it
    only dump the part of the command buffer that we're likely to care
    about...the part that's about to be sumitted to the kernel.

commit e5049b8277d075b7febe42bb2e2192b9b8306972
Author: Ian Romanick <idr@us.ibm.com>
Date:   Sat Jul 21 22:06:23 2007 -0700

    Update to use new ioctl interface for DRM_XGI_SUBMIT_CMDLIST.

commit d4a0be1e3222e3b5d1676b1f0956bbec8c737ba4
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 19 18:11:32 2007 -0700

    Clean up commented out bits in waitfor2D

commit a9ab36539f6a9b071dacf90a570f07a2f65c3713
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 19 18:10:51 2007 -0700

    Delete commented out code and extraneous debug messages.

commit 9b43c82f57d14f0c446ab8880a25a078e4e01d1a
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 19 17:47:41 2007 -0700

    Major clean up of waitCmdListAddrAvailable
    
    There bits of code in this routine, such as the NULL pointer check,
    that were so obviously wrong that I can't believe they ever existed.
    I have fixed it as best I can, however the test in the "No running
    batch" case is just my best guess based on the existing comments.

commit f074c47aed1a3b7c356f14a6178af994819d8dd4
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 19 17:24:54 2007 -0700

    Track current and previous batches in a consistent manner.

commit c1230c94999aa222b5df3acd19d240ac42c6dd2f
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 19 17:09:24 2007 -0700

    Refactor common code from xg47_SendGECommand and sendRemainder2DCommand

commit 68e55f96c468e435109e2f30c429c590b3a47db3
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 19 16:59:15 2007 -0700

    Track command buffer and scratch pad buffer in a consistent manner.

commit 1dabbc52db13c16c7382946d60a0f1a684c35eb3
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 19 11:07:35 2007 -0700

    Driver now uses DRM based kernel module.

commit 6e069c83a531804b0be1e5b4672e86560aba2fbf
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 16 20:33:26 2007 -0700

    First bits of migration towards DRM based kernel module.

commit 991aa06578587da2022e1e3c10ce38543ff7d9a3
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 16 12:51:34 2007 -0700

    Clean up some debug log messages in submit2DBatch.

commit f6864fec437fd5133bf30a73debdaa1efab35c37
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 16 12:49:22 2007 -0700

    Eliminate unused function XGIShareAreaInfo.

commit e89c28427e0232505cdcb419ca681b5aeab0b260
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 16 12:36:15 2007 -0700

    Clean up some debug log messages.

commit d4ebd5ba32c8ab84a806975803a7dab0342297e1
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 9 18:50:35 2007 -0700

    Fix build problem on 32-bit systems.
    
    Apparently, CARD32 and uint32_t are different on 32-bit x86 systems.
    They're the same size, but they have different enough type (one is
    probably 'unsigned long' and the other is 'unsigned int') that GCC
    gives errors.

commit deb4e821828d27507b05c4bdac6b46373e264621
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 9 18:39:53 2007 -0700

    Use kernel interface info from drm/xgi_drm.h instead of xgi_driver.h.

commit 6fc93008fe039223a590e3eec8918593be8aaf3e
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 9 18:35:47 2007 -0700

    Clean up preventOverwriteCmdbuf.

commit 8133291d481bd5ddbf030d3b43e15b1d67d8cbf3
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 9 18:33:05 2007 -0700

    Trivial clean up in dumpCommandBuffer.

commit 922f5f4444fab06b439e34831c22b1cbf33f0355
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 9 18:29:40 2007 -0700

    Clean up some suspicious pointer arithmetic.

commit 76a6f6c1766888363e2261135c17602220a3e992
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 9 18:19:44 2007 -0700

    Clean up reserveData.

commit ae88dfcb9fe80a684ab6df1606b193c318a6a164
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 9 18:14:28 2007 -0700

    Major clean up of XGIPcieMemAllocate / XGIPcieMemFree
    
    The interfaces, implemenations, and callers of these functions had
    various breakages.  Most of the problems only occur on LP64 systems.
    The big change is that the busAddr is passed to XGIPcieMemFree because
    that's what the kernel uses to find the block to release.

commit 586c4a54e9557d20ac9fff8cc3069f98b7713232
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 9 17:31:55 2007 -0700

    Minor clean ups in testRWPCIE.

commit 38c2303bf636c1d0c068ece04ff668d6ce90ff79
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 5 18:58:23 2007 -0700

    Trivial clean up in SetColorDepth.

commit 084ef6dd28c1da6cec35d78bff908032a7d4abdc
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 5 18:52:29 2007 -0700

    Use proper XAA function interface to get ROP values.

commit 6c0a4da2d6592e1a91b6b822b6fdb254ec9613ba
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 5 18:48:28 2007 -0700

    Fix typo in debug print statement.

commit f8434f89fbbad6269a6b4ff5bd336afbd281147d
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 5 16:02:51 2007 -0700

    Eliminate more comment-with-comment warnings.

commit a5038e000f3851c2221f751c293e2bf12bb03624
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 5 15:59:35 2007 -0700

    Eliminate 'xgi.h:229:1: warning: "/*" within comment'

commit 8df22f72825a73dcd3302f8527e6d48c2d1e7883
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 5 15:57:24 2007 -0700

    Move xgiG2_(Pat|)ALUConv to the .c file that uses them.

commit 0da15caf428f22bf18ebe0c72740e42031af4652
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 5 15:54:34 2007 -0700

    Eliminate unused structure field overrideMemClock and associated cruft.

commit 1e3148a339fd6602988650d1f0038316a78ae219
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 5 15:49:02 2007 -0700

    Trivial clean ups in XGIPreInitMemory.

commit 36c8029fb68c9e0d1f60a79771b481fa21540e9b
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 5 15:37:06 2007 -0700

    Trivial clean ups in XGIMapFB.

commit dca523a6d7a43443a16ced3beb705d12898179c1
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 5 15:32:47 2007 -0700

    Trivial clean up in XGIMapMMIO.

commit a81ef3980ff83b7a767406a029d2366947ed6c7f
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 5 15:17:55 2007 -0700

    Eliminate one version of the port IO / MMIO macros
    
    Replace all of the [bw]?(In|Out)(3c5|3cf|3x5)? macros with the
    IN(3C5|3CF|3X5)[BW] versions.

commit 880024d552468cb3d214e816e29f3bf8dfc37109
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jul 5 14:26:00 2007 -0700

    Fix build on LP64 systems.

commit 7efa3979a257c549307d6b540a49472114619931
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Jul 3 15:43:57 2007 -0700

    Clean up XGIUnmapMem and friends.

commit 31d9f7ece67cbb1e122808a83178950acb45a926
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Jul 3 15:17:56 2007 -0700

    dos2unix

commit 3d73c6f7131be862366c35719fbf40db17d3e2a3
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Jul 3 15:17:24 2007 -0700

    Fix memory initialization sequence
    
    The old memory initialization sequence had several hacks that didn't
    quite work.  The proper sequence is to map / enable MMIO, initialize
    int10, initialize BIOS variables, initialize memory size / clocks, map
    framebuffer.

commit 4e88e16802729ff0b4391c9ac260480cf9e9479e
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Jul 3 15:03:44 2007 -0700

    Refactor abstracted interface between xg47_accel.c and xg47_cmdlist.c.

commit c87508ecc07a2dcefccfdefea77b1527335a9c3f
Author: Ian Romanick <idr@us.ibm.com>
Date:   Mon Jul 2 18:15:57 2007 -0700

    Uncomment some initialization code.
    
    With these calls uncommented, the driver works without acceleration
    (i.e., NoAccel set to TRUE in xorg.conf).  The xgi kernel module is
    also required.

commit 4f63584d0776ab2e59caaea5d2592e4ae03a4ec0
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jun 28 15:57:45 2007 -0700

    Additional code clean ups.

commit 07a3bfc2e058d9203af17b5d6969ab28325a36c6
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jun 28 15:57:08 2007 -0700

    Remove the unused variable (FuncLevel) from the header too.

commit d4b6e2cbaccc212bdb83073575d1392cee2eada0
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jun 28 15:53:21 2007 -0700

    indent

commit e0e05ea8f508912077acf3e9bbbf89e834217aa6
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jun 28 15:51:47 2007 -0700

    Eliminate unused variable.

commit c5767ecb034fd8cb0e4d5bcb872181f45e728105
Author: Ian Romanick <idr@us.ibm.com>
Date:   Thu Jun 28 15:36:48 2007 -0700

    Eliminate tests for XFree86LOADER.  It's the only way.

commit 91513ddb5a0ac544ff6c4efd65354bbd56932aab
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue May 22 15:33:23 2007 -0700

    Add a couple checks to prevent crashes on error paths.

commit 21e4896402a587d61151ae35862ebfab066d2c13
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue May 22 14:59:47 2007 -0700

    Modify XGIGetRec to return a pointer and fully init. structure.
    
    XGIGetRec now returns a pointer to the allocated structure (as the
    name would imply) instead of a bool.  XGIGetRec now also initializes
    the pBiosDll pointer.  This prevents NULL pointer dereferences
    elsewhere.

commit 79453714deee5b781811da20d15f908a4af910d0
Author: Alex Deucher <alex@botch2.(none)>
Date:   Tue Jan 30 21:39:36 2007 -0500

    Remove Isa support

commit c8853e98b364d0d655c2ac24c4adec7cbb11b632
Author: Alex Deucher <alex@botch2.hsd1.va.comcast.net>
Date:   Thu Jan 25 01:46:56 2007 -0500

    clean up // comments, minor formatting cleanups

commit c04bac13d1a6a653f55dfed97fc816e788ef085c
Author: Alex Deucher <alex@botch2.hsd1.va.comcast.net>
Date:   Wed Jan 24 23:18:05 2007 -0500

    Un-libc-wrap.

commit 51a875cf6d7f2b40e1d2123c081e6a88ed6c3940
Author: Alex Deucher <alex@botch2.hsd1.va.comcast.net>
Date:   Wed Jan 24 21:53:14 2007 -0500

    remove cfb cruft

commit 38f294bac556df758079635461314f8c98314a4f
Author: Alex Deucher <alex@botch2.hsd1.va.comcast.net>
Date:   Wed Jan 24 21:46:15 2007 -0500

    fix the build on AMD64

commit 60c91f9e3fe1797fc5732b0720bcce124fda007e
Author: Alex Deucher <alex@botch2.hsd1.va.comcast.net>
Date:   Wed Jan 24 19:48:35 2007 -0500

    fix license formatting and remove old cvs tags

commit a67eda3394456ebd12fd007c588e2dcc8f374782
Author: Alex Deucher <alex@botch2.hsd1.va.comcast.net>
Date:   Wed Jan 24 19:18:27 2007 -0500

    Initial version of the xgi driver (xgixp) for xgi xp10 chips
    
    Based on the code drop in bug 5921 with some some initial
    work by me to make it build in the modular tree.
