commit 018ab2d4634f3c8923038337ce9600973e2f0002
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Nov 9 12:16:00 2012 +1000

    bump version to 1.0.4
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 0d32d964dbba3864af0946aa8894cef858eb1319
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed Nov 7 14:49:03 2012 +1000

    nouveau: drop unused nv private members.
    
    these are no longer needed.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit b1a630b48210d6a3c44994fce1b73273000ace5c
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed Nov 7 14:45:14 2012 +1000

    nouveau: drop DRI1 device open interface.
    
    this is a DRI1 left over, the driver is meant to open the device itself now.
    
    this old interface did crazy stuff like drmAddMap.
    
    Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 27a1a0616304e9b9f0ae842899b7d614f1026578
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Fri Nov 2 03:57:42 2012 +0000

    nouveau: NVPlatformProbe, handle shareable entities
    
    During NVPciProbe, xf86ConfigPciEntity() implicitly calls checks and sets
    the entity as shared
    Here we are only allocating the screen, thus need to explicitly call the
    functions
    
    ZaphodHead and Xinerama should finally work
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56347
    
    Reported-By: Vladimir Chebotarev <exc@rbcmail.ru>
    Reported-By: Damian Nowak <nowaker@geozone.pl>
    Tested-By: Damian Nowak <nowaker@geozone.pl>
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit e34cfbd5bd23f7f15372af52d8a39a5715ce7310
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Fri Nov 2 03:57:41 2012 +0000

    nouveau: Factor out common code to NVHasKMS()
    
    As the name suggests checks if it has kernel mode setting,
    prints out the interface version and checkes if the chipset
    is supported
    
    Function is used in NVPciProbe and NVPlatformProbe
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 78f24dc3798d635fca2e20856a09012c28bbbb8b
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Fri Nov 2 03:57:40 2012 +0000

    nouveau: introduce NVInitScrn()
    
    Common/helper function for NV{Pci,Platform}Probe()
    
    This introduces some the following functions to the
    NVPlatformProbe codepath
    * xf86SetEntitySharable()
    * xf86SetEntityInstanceForScreen()
    
    Necessary for dualhead, xinerama and/or zaphodhead
    
    v2: Rename nouveau_init_scrn() to NVInitScrn()
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 47457fbd5006070ea9a06238a5a69ca8167dac77
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Fri Nov 2 03:57:39 2012 +0000

    nouveau: Remove unneeded xf86GetEntityInfo()
    
    Retrieving the whole entity information is not needed as we only
    use the index - stored already in entity_num
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 20995bb5920021668b8b607f886201c643ee0e9a
Author: Dave Airlie <airlied@redhat.com>
Date:   Fri Nov 2 09:04:43 2012 +1000

    nouveau: fix regression in virtualbox drawing hopefully.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 8c3e1623b0be15f8cc590d893bfd19be87bd079a
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Wed Oct 24 11:19:04 2012 +0200

    bump version to 1.0.3

commit 6644a3a724a11150eba0c0082c8d4fe167b1755e
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Tue Oct 23 20:17:29 2012 +0200

    exa: remove exaMarkSync from download/upload screen
    
    They're noops on nouveau since sync markers are unused and
    download/upload are always synchronous anyway from exa's POV.
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>

commit 2a757b7dffa85c30879653a1e52e33b8f4fa8806
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Tue Oct 23 17:04:37 2012 +0200

    exa: fix comparison in download_from_screen
    
    Presumably a copy/paste error from upload_to_screen.
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>

commit 72230cd5a7846f7a26f929262a745dc0bdc34a3d
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Tue Oct 23 10:37:27 2012 +0200

    exa: fix up download_from/upload_to screen
    
    Add a missing return TRUE to download_from_screen.
    Add a missing exaMarkSync to memcpy in upload_to_screen.
    Add a really loud warning to both if memcpy to/from tiled is done.
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>

commit 1d7890ecb8b3188177ab85608ea232812672d923
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Tue Oct 23 09:53:39 2012 +0200

    remove unused members from nv_type.h

commit 0b2a548316b0ce88ba19d5e05fdca205fc139962
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Mon Oct 22 13:12:06 2012 +0200

    nvc0/exa: make solid fill actually work
    
    Some investigation showed that the code for accelerating solid fill
    didn't actually work because NVC0EXACheckTexture would fail.
    
    Making the check the same as in NV50EXACheckTexture fixes this, and
    seems to get acceleration for solid fills working right.
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>

commit b4231dd715a8a7f86b04519b5f4e8a8d93c2f561
Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Date:   Tue Oct 9 09:06:59 2012 +0200

    dri2: Fix potential race and crash for swap at next vblank.
    
    This fixes a potential race + crash that wasn't properly
    handled by commit 248de8cdbd6d0bc062633b49896fa4791148cd3b
    and happened at least on one users machine.
    
    That commit wrongly assumed no special action would be needed
    for swaps at next vblank while triple-buffering is enabled on
    XOrg server 1.12 or later.
    
    Closer inspection of the x-server main dispatch loop shows
    it is possible that the client manages to get the server
    to dispatch a new DRI2GetBuffersWithFormat() call before
    the server calls the vblank event handler and executes
    the nouveau_dri2_finish_swap() routine. Such a race would
    cause a crash, as described in above commit.
    
    This commit handles the "swap at next vblank" case by
    calling nouveau_dri2_finish_swap() immediately without
    the roundtrip (queue vblank_event -> kernel -> deliver event
    -> x-server processes event -> nouveau vblank event handler),
    before control gets returned to the client.
    
    This avoids the race while retaining triple-buffering. As
    a bonus, time-critical swaps at next vblank get processed
    without roundtrip delay, increasing the chance of not
    skipping a frame due to vblank miss while sync to vblank is
    on.
    
    Thanks to Anssi for reporting this problem on the nouveau
    mailing list at 12th July 2012 and for testing this patch.
    
    Reported-by: Anssi Hannula <anssi.hannula@iki.fi>
    Tested-by: Anssi Hannula <anssi.hannula@iki.fi>
    Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>

commit 01c9a9cff7d6232ca6eafa59dd60833a0d9cdc5b
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Oct 18 18:38:21 2012 +1000

    shadowfb: fix segfault due to reading outside of shadow buffer
    
    Probably caused by the new libdrm port, the new libdrm sets the bo
    size field to the *allocated* size and not the *requested* size,
    making the max_height calculation here invalid.
    
    Switched to using virtualX/virtualY as the bounds, which should
    hopefully do the right thing..
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 297fd0d0755bda698be1d0b30cc60a41d7673c0b
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Oct 16 16:15:16 2012 +1000

    nouveau/dri2: fix pixmap/window offset calcs.
    
    This should fix prime rendering under kwin, and not break it under the
    others.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 5c9379b14cdabc81fd5d4c916dcd93dc77c4f683
Author: Sebastian Keller <sebastian-keller@gmx.de>
Date:   Tue Sep 25 11:35:35 2012 +0200

    exa: use CLAMP_TO_EDGE for RepeatPad
    
    This fixes border rendering in some gtk3 themes.
    https://bugs.freedesktop.org/show_bug.cgi?id=55310
    
    v2 (Ben Skeggs): implement same fix for fermi/kepler too
    
    Signed-off-by: Sebastian Keller <sebastian-keller@gmx.de>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 302b5da84b4890c067f5f7e8b0f4e689909bbb51
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Sep 25 10:44:32 2012 -0400

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

commit 20f3830ddf868c0d1a46c18fa381585c076bfb8d
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Wed Sep 12 13:42:43 2012 +0200

    bump version to 1.0.2

commit 239f39977ebb64c9d545c6f3c905de3c0ad840d0
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Jul 19 13:46:44 2012 +1000

    nouveau: enable provider/capabilities
    
    this adds the provider object for nouveau and enables the capabilities
    on it.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 28abba276e36fd0176f416996d44297ddf13f5cd
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Jul 19 13:46:12 2012 +1000

    nouveau/dri2: add support for DRI2 offload
    
    This adds the nouveau interfaces for DRI2 offload, this allows nouveau
    to act as an offload slave.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit b0be0ac86bae871c9f1724c40298d50d7f2b08e4
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Jul 19 13:45:32 2012 +1000

    nouveau: add pixmap tracking/updating support.
    
    This should allow nouveau to act as an output master for driving output
    slaves.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit baf485b1d304d741073f058d524ca698af3c15cd
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Jul 19 13:42:13 2012 +1000

    nouveau/exa: add support for shared pixmaps.
    
    This adds the pixmap export/import hooks, along with code for nv50/nvc0
    to validate shared buffers in GTT space.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 2f48b8f462a03cb92db9e9a7ae1957eb27473965
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Jul 19 13:40:23 2012 +1000

    nouveau: add platform bus support
    
    This adds the ability to load nouveau via the new platform apis.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 3aa9a296f508089a247f92b829036ca6a55b7b42
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Aug 15 13:26:51 2012 -0400

    Remove vbe and int10 includes
    
    This driver has never used int10 or vbe, presumably these were just
    copypasta from nv.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 9b9be11e99930136a591059db1bf4ceaca8806e7
Author: Adam Jackson <ajax@redhat.com>
Date:   Thu Jul 19 18:22:44 2012 -0400

    Implement ->driverFunc
    
    Copied from fbdev, makes it so we can run without iopl.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 6629066b87142cdd1d9e881b61ef55c97aedf949
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Aug 3 17:05:33 2012 +1000

    nvc0/nve0: support sync-to-vblank if kernel is new enough
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit d1bc38b6673c54af61196056c489383fba8dced8
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Jul 6 16:23:50 2012 +1000

    nv40/exa: fix shaders on big-endian machines
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 0d2b414aff634c996e0468bb0df1894d6c28c09e
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Tue Jun 19 10:12:37 2012 +1000

    bump version to 1.0.1

commit f84c28c9e6a0079e527655994689cb9c2ba51999
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Tue Jun 19 09:49:02 2012 +1000

    exa: fix remaining signed datatype issues
    
    Wasn't expecting this situation, apparently it happens..
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 794141f22179a09ba6b2a094ba72316c298fee8b
Author: Maarten Maathuis <madman2003@gmail.com>
Date:   Tue Jun 19 00:28:59 2012 +0200

    exa: fix various issues in transfer bo handling
    
    Thanks to "Christoph Bumiller <e0425955@student.tuwien.ac.at>" for hinting
    at the cause of the memory leak.
    
    Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 661d0cf42219a063f8faa0518f3490ddd38209ff
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date:   Mon Jun 18 17:13:55 2012 +0200

    nve0: fix and improve NV12 shader
    
    Only the 1st set of coordinates is valid.
    NVC0 was fixed in 9a3e579f637267b32efc46cfce5d1a36a41323b1.

commit a907efe44177298cb1c42a236aab087c14b71657
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date:   Mon Jun 18 13:50:27 2012 +0200

    nvc0/accel: oops fix method size in previous patch

commit 8805e20bb9c1cfb7477f3eb7def64c5711fc91ea
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date:   Mon Jun 18 13:41:43 2012 +0200

    nvc0/accel: use correct (signed) vertex data type in PUSH_VTX1/2s
    
    Could have kept s16 but decided against mask and shift.

commit 6dbf4ea12600275775123f9f564469454415da55
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon Jun 18 13:28:07 2012 +1000

    bump version to 1.0.0
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 5e74cee90eeb4e8e638b371a5f1a2c6737be70ff
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon Jun 18 15:36:47 2012 +1000

    distcheck fixes

commit 383aef5a8882a65efdf34e8d2681cd5ccec51b22
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon Jun 18 13:31:37 2012 +1000

    exa: drop massive gart allocation in favour of smaller ones, as needed
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 52836c15b1c0e4f28d92ca9e6c76872481917fd4
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon Jun 18 13:20:18 2012 +1000

    nv50/exa: somehow fix firefox tabs not being drawn properly since vp xfrm
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 36d3f8c28c55c05ccf4efa985831d2d249bad2fe
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Wed Jun 13 22:41:58 2012 +1000

    dri2: kill debug spam
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 4dbc132f22721e3da30eb2e7fc97dea5b8458df6
Author: Viktor Novotný <noviktor@seznam.cz>
Date:   Sat May 26 22:15:20 2012 +0200

    nv04/exa: Reset destination surface offset in the same call of NV04EXACopy
    
    Fixes FDO bug #48954.
    
    Signed-off-by: Viktor Novotný <noviktor@seznam.cz>
    Reviewed-by: Marcin Slusarz <marcin.slusarz@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit aab58ee9a8025422416458d637c203af5ba008fd
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Jun 5 12:34:06 2012 +0100

    nouveau: i is used inside the function
    
    fixes build, reported by tallica on irc.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 619e99731f772ff8d9d93cd1d6d83de5d450574b
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Jun 5 11:02:54 2012 +0100

    nouveau: port to compat server API.
    
    This ports to the new server API.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit d2e16c62b5054f34a439e504bfa261fb71f5d7de
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Jun 5 10:57:30 2012 +0100

    nouveau: drop flags arg to adjust frame
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit fadf83d7b373282ccbf0fa0c01928a35ff717a5e
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu May 31 15:46:57 2012 +1000

    nvc0/exa: add support for async UTS/DFS copies
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 1600f7f202721c4b29c29e94f7fb69dc313b99dc
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu May 31 15:40:45 2012 +1000

    nva3/exa: add support for async UTS/DFS copies
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit ace77b6b1304826f4004bde23809b55d476b0615
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Tue May 29 21:21:57 2012 +1000

    disable fermi accel on 0.0.16 interface
    
    Kepler accel support broke some assumption made by the older kernel
    interface, and Fermi shares the same code.  It can't work (without
    some annoying hacks anyway) with the 0.0.16 kernel anymore.

commit 7041e30ab8beb627bbf569367961a658e79c2bdc
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed May 23 14:18:24 2012 +0100

    vl_hwmc: add missing compat include.
    
    Reported-by: tallica on irc.
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 2abf8467cfb7a7648ce73ba5bcbbc62219d65d6d
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed May 23 11:29:05 2012 +0100

    nouveau: add compat-api.h to makefile.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 1d861ad716861c57b2b81531d21840d7c8de024b
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed May 23 11:15:06 2012 +0100

    nouveau: convert two more xf86Screens access to macros
    
    for some reason the script missed these two, just fix them manually.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 5625fb84efc699e65da0062ae101915a49f2969b
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed May 23 11:13:30 2012 +0100

    nouveau: convert scrn/screen to using new interfaces
    
    This commit was generated with the util/modular/x-driver-screen-scrn-conv.sh
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 9f037f7be516ebf8fa4a67a5c9ff258594ab353e
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed May 23 11:12:59 2012 +0100

    nouveau: add initial compat-api header
    
    This just provides the scrn conversion and picture stuff so far.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 581564466c47ab0435ecca3cf4d82c03e1b30259
Author: Francisco Jerez <currojerez@riseup.net>
Date:   Tue May 8 14:02:44 2012 +0200

    dri2: Don't try to page-flip pixmaps (fdo bug 49351).
    
    Reported-by: Marcin Slusarz <marcin.slusarz@gmail.com>
    Signed-off-by: Francisco Jerez <currojerez@riseup.net>

commit b1efc807392d372e6a232aad9d16ae6e1b1c1916
Author: Marcin Slusarz <marcin.slusarz@gmail.com>
Date:   Sun Apr 15 13:46:42 2012 +0200

    nv50: add missing pushbuf space check in NV50SyncToVBlank
    
    Regression from "WIP: port to new libdrm".

commit 174f17072005971fee6e4eb76a273c3cc1aa10d3
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Tue Apr 24 21:55:03 2012 +1000

    nv40/exa: return false from gradient picture setup
    
    Not implemented yet.  Shouldn't hit this anyway, fallback in check_composite,
    but, best be safe :)
    
    Reported-by: Maarten Maathuis <madman2003@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 60edf2a87b928f413385443335493cb27da30a48
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Tue Apr 24 10:54:51 2012 +1000

    nv40/exa: support for solid pictures
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 067b8416ad1ab3e71ebbb8db8bfb82ff6041939b
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon Apr 23 17:49:57 2012 +1000

    nv30/exa: implement support for solid pictures using register combiners
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit b09a61780ea6710b679a6a099e35987e7a5f559f
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon Apr 23 14:49:22 2012 +1000

    nv10/exa: implement support for solid pictures
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 9583753a205c585ec844dfb7168513a2c2a157ba
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Apr 20 20:52:01 2012 +1000

    nv10/exa: use fixed-function texture matrix for transforms
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit c21c0ae57717bfb0fceab82505009a5382d1428d
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Apr 20 20:30:44 2012 +1000

    nv30/exa: use fixed-function texture matrix for src/mask transforms
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 24a5ca723539a940bc2dabcc50aa631f0d9d4219
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Apr 20 15:24:45 2012 +1000

    nv40/exa: do transforms in vertex program
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 9a3e579f637267b32efc46cfce5d1a36a41323b1
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Apr 19 16:58:52 2012 +1000

    nvc0/exa: port recent nv50 changes (vp transform, solid pictures, etc)
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 8ea09db1a1e8dff7c341dc3da17edefda7e56e6d
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Apr 19 13:46:03 2012 +1000

    nv50/exa: support solid pictures
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit b48bcc094beecf521899dd63c8fdbccfd534e5cd
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Apr 19 13:21:27 2012 +1000

    nv50/exa: perform texcoord transformations in vertex program
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 5ac2ca8c56ec8b055878c8ac4cbc8ca74379abda
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Apr 19 09:52:24 2012 +1000

    nv50: implement and use PUSH_DATAu
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 6c41b3d7a8799daa9d0b34dcfbfc5c891c24fffa
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Tue Apr 17 11:07:05 2012 +1000

    nv30/nv40: upload shaders directly from rankine/curie init
    
    Also removes A8 surface shader hack, and implements proper shaders for
    the specific purpose.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit ec019b3a50475b7ff1b5e0a5dbe14e5ef677bd9e
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Tue Apr 17 09:30:49 2012 +1000

    Keep a single buffer for random accel data, rather than 3 different ones
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit fb3a36b1e5af0f81bb266da894d3442eed8e4e55
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Wed Mar 28 16:38:30 2012 +1000

    nve0: initial exa/xv acceleration for kepler chipsets
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 95be16d8cd88db1ace0ac4568b4c67b51fd30fd9
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Mar 29 19:55:27 2012 +1000

    nvc0: create scratch buffer before initialising m2mf
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 4896c87484e1cf1e5421de377b6b83890948664d
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Mar 29 19:47:21 2012 +1000

    nvc0: switch to kepler's subchannel assignments (see note)
    
    This will bust for kernels with nouveau ABI version < 1.0.0... It should
    be possible to add compat for 0.0.16 however...
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 4225b486cb8ab98d27ba23874096ff0879d45575
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Mar 29 15:56:02 2012 +1000

    nvc0: tidy and cull a heap of fermi init (stuff in default grctx)
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 007dd62a8c5244bc5e71fe8f32520fb35b67a237
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Mar 29 15:28:03 2012 +1000

    nvc0: punt shaders out to a header file
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 1c7651532975cf738b3aac4ec3c3b46187e24eea
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Mar 29 14:25:15 2012 +1000

    nvc0: do tic/tsc binding only once, at startup
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 180d8778764913ed061e68520603c0925477faba
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Mar 29 14:21:25 2012 +1000

    nvc0: replace direct inline m2mf with inline helper to do the same
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit e70d801ae9287eab5e82f4d467dc8cd4be1b31a8
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Dec 9 18:15:32 2011 +1000

    WIP: port to new libdrm
    
    calim: nv50,nvc0/xv: fix src_w/h width/height confusion

commit ab7291d368ddc66ad21c5ad5caa0faeee42ccaf1
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Wed Mar 21 14:56:55 2012 +1000

    xv: don't try to init textured video without 3d engine object
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit fe7e0425a4a43b2a7d4743a0a90a86724c3b6775
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon Mar 12 11:59:29 2012 +1000

    recognise kepler
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit f5d1cd2cb6808838ae1a188cef888eaa9582c76d
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Tue Mar 6 08:16:51 2012 +1000

    remove use of xf86PciInfo.h, deprecated now apparently
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 248de8cdbd6d0bc062633b49896fa4791148cd3b
Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Date:   Thu Feb 16 00:45:24 2012 +0100

    dri2: Fix corner case crash for swaplimit > 1
    
    If a swaplimit > 1 is set on a server which
    supports the swaplimit api (XOrg 1.12.0+),
    the following can happen:
    
    1. Client calls glXSwapBuffersMscOML() with a
       swap target > 1 vblank in the future, or a
       client calls glXSwapbuffers() while the swap
       interval is set to > 1 (unusual but possible).
    
    2. nouveau_dri2_finish_swap() is therefore called
       only at the target vblank, instead of immediately.
    
    3. Because of the deferred execution of
       nouveu_dri2_finish_swap(), the OpenGL client
       can call x-servers DRI2GetBuffersWithFormat()
       before nouveau_dri2_finish_swap() executes and
       it deletes pixmaps that would be needed by
       nouveau_dri2_finish_swap() --> Segfault --> Crash.
    
    Prevent this: When a swap is scheduled into the
    future, we temporarily reduce the swaplimit to 1
    until nouveau_dri2_finish_swap() is done, then
    restore it to its original value. This throttles
    the client inside the server in DRI2ThrottleClient()
    before it can call the evil DRI2GetbuffersWithFormat().
    
    The client will still be released one video refresh
    interval before swap completion, so there is still
    some potential win.
    
    This doesn't affect the common case of swapping at
    the next vblank, where this throttling is not needed
    or done.
    
    Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 247465ec5e21ce7151ef1e6a3e7644bc74d48a5b
Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Date:   Thu Feb 16 00:45:23 2012 +0100

    dri2: Reimplement hack for triple-buffering on old X-Servers.
    
    X-Servers before 1.12.0 don't have the DRI2SwapLimit()
    API. On these, default to a swaplimit of 1 - double-buffering.
    
    This patch implements support for swap limit of 2,
    triple-buffering, on old x-servers via Francisco Jerez
    previous hack:
    
    Return DRI2SwapComplete() before the swap has completed,
    so clients don't get blocked on the pending swap. This
    allows for a "triple-buffering look-alike" behaviour, but
    breaks the swap scheduling and timestamping defined
    in the OML_sync_control spec, so applications which
    rely on conformant behaviour will break with a swap
    limit of 2 on pre 1.12.0 x-servers.
    
    Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit a1902ffaab1f6807fdaac0fce49f784e7208d1a5
Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Date:   Thu Feb 16 00:45:22 2012 +0100

    dri2: Allow vblank controlled swaps for redirected windows. Part II
    
    This part implements proper throttling for clients. For
    vblank synchronized blits, it defers DRI2SwapComplete()
    until 1 vblank after the framebuffer blit is submitted to
    the gpu.
    
    Rationale:
    
    For unredirected windows, this is the earliest time the
    "blit swap" can complete, as blits are submitted one vblank
    before the target vblank and synchronized with vblank in the
    gpu. This makes swap completion timestamps at least reasonable.
    
    For redirected windows, the compositor will probably pick
    up the "blit swapped" frontbuffer pixmap of the window quickly,
    but defer its own recomposition to the next vblank, at least
    if sync to vblank for the compositor is on.
    
    Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit c8572d329014afc0c79b5765468dcdfb65be0868
Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Date:   Thu Feb 16 00:45:21 2012 +0100

    dri2: Allow vblank controlled swaps for redirected windows. Part I
    
    Make sure that swaps for redirected windows under a
    compositor are still scheduled via vblank events, to
    avoid effects like 2900 fps swaps under a compositor.
    
    See discussion with Francisco Jerez at:
    
    http://lists.freedesktop.org/archives/nouveau/2011-September/009278.html
    http://lists.freedesktop.org/archives/nouveau/2011-September/009292.html
    
    This is part I of the agreed upon band-aid, in a separate patch.
    
    It allows to use vblank related functions on redirected
    windows and thereby fixes functions from sgi_sync_control
    and oml_sync_control extension, e.g., glXWaitForMscOML(),
    glXGetSyncValuesOML(), glXWaitVideoSyncSGI, ...
    
    Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 919643888045b102f3e10dfdeb6210ab14b6ecab
Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Date:   Thu Feb 16 00:45:20 2012 +0100

    dri2: Fixes to swap scheduling.
    
    Fix some small off-by-one errors and a mismatch
    between 32 bit kernel interfaces for vblank count
    and 64 bit dri2 interfaces for target_msc et al.
    
    Return corrected target_msc to swap scheduling in
    x-server.
    
    A revised version of the patch discussed here:
    http://lists.freedesktop.org/archives/nouveau/2011-September/009143.html
    
    Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 5ede4538366a352aa9726560f8d42e85df4aec82
Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Date:   Thu Feb 16 00:45:19 2012 +0100

    dri2: Update front buffer pixmap and name before exchanging buffers
    
    Buffer exchange assumes that the front buffer pixmap and name
    information is accurate. That may not be the case eg. if the window
    has been (un)redirected since the buffer was created.
    
    This is a translation to nouveau of a fix that was originally developed
    by Ville Syrjala <syrjala@sci.fi> for the ati/radeon ddx to fix the
    same bug there.
    
    See thread at:
    
    http://lists.x.org/archives/xorg-devel/2011-May/021908.html
    
    Fixes FDO bug #35452.
    
    Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 6fdf60b7288d49f889c80705aabc1db3bc327ba3
Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Date:   Thu Feb 16 00:45:18 2012 +0100

    dri2: Add support for DRI2SwapLimit() API.
    
    Uses the new DRI2SwapLimit() API of X-Server 1.12+
    to allow to change the maximum number of pending
    swaps on a drawable before the OpenGL client is
    throttled by the server.
    
    The new optional xorg.conf parameter "SwapLimit"
    allows to select a new swap limit >= 1. The default
    swap limit is 2 for triple-buffering on XOrg 1.12+,
    1 for double-buffering on older servers, as we can't
    change the swap limit there.
    
    Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 820916e722db2997a53128f2f370d14a02d4401c
Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Date:   Thu Feb 16 00:45:17 2012 +0100

    dri2: Implement handling of pageflip completion events.
    
    Requests pageflip completion events from the kernel.
    Implements pageflip completion handler to finalize
    and timestamp swaps.
    
    Completion handler includes a consistency check, and
    disambiguation if multiple crtc's are involved in a
    pageflip (e.g., clone mode, extendend desktop). Only
    the timestamp of the crtc whose vblank event initially
    triggered the swap is used, but handler waits for flip
    completion on all involved crtc's before completing the
    swap and releasing the old framebuffer.
    
    This code is almost identical to the code used in the
    ati/radeon ddx and intel ddx.
    
    Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 4da68cedbefef4f72c00bb088e179071490882c8
Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Date:   Thu Mar 1 19:11:14 2012 +0100

    dri2: Fix can_exchange() to allow page-flipping on more mesa versions.
    
    can_exchange() returns false and thereby prevents page
    flipping on some drawables where page flipping would
    work fine. This due to non-matching drawable depths values
    between front buffer pixmap and back buffer pixmap, because
    front buffer pixmaps inherit the depth of the screen, typically
    24 bits, whereas the depth value of back buffer pixmaps for a
    given RGB8 or RGBA8 visual depends on the mesa version in use,
    either 24 bits or 32 bits.
    
    Use bitsPerPixel instead of depth to decide if drawable
    is flippable. This will still catch really incompatible
    formats like 32 bpp vs. 16 bpp buffers.
    
    Tested for screen DefaultDepth 24 and also 30 bits
    (for RGB10 framebuffers) on NV-50.
    
    The problem was fixed in the same way in the ati & intel ddx.
    
    Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
