commit 3cd4c8494c296c7583dfa7f0823a272c9e932e03
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Thu Aug 28 03:57:48 2014 +0200

    Bump version to 1.0.11 for release.
    
    Highlights:
    
    - Support for server managed fd's.
    - Glamor support.
    - Maxwell support.
    - DRI3 and initial Present support.
    - vsync'ed kms pageflip performance fixes when running on Linux 3.13+
    - Multi-display vsync, vblank, swap scheduling, timestamping fixes.
    - Multi x-screen support fixes.
    - ZaphodHead support on for multiple outputs per x-screen.
    - EXA nv-10 fixes.
    - Enable sync of swaps to vblank by default (Option GLXVblank "on").
    - Disable pseudo-triplebuffering by default (Option SwapLimit "1").
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 6d49f3f7aaaec872b6f9841f744a0bf09cc98492
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Thu Aug 28 03:49:55 2014 +0200

    dri2: Set default SwapLimit to 1 for double-buffering.
    
    This used to be 2 for pseudo-triplebuffering on XOrg 1.12+.
    
    However, it caused problems like unthrottled swapping
    at up to twice the video refresh rate for redirected
    windows under desktop composition, which can't be easily
    fixed under dri2.
    
    Default to double-buffering. Users can override this, but
    dri3 provides better solutions for this.
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 10729a442be3cf018c5806c95ec4218977917ef3
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Mon Aug 18 09:53:27 2014 +0200

    xv/dri2/dri3: Switch to optimized crtc selection for drawables.
    
    Make crtc selection consistent with ati and intel ddx.
    
    Pick the crtc to use for vblank events, swap scheduling and
    kms-pageflip completion events as the one with maximum pixel area
    intersection between its viewport and the drawable. If multiple
    crtc's viewports display the same amount of area of a drawable,
    select the crtc whose output is the designated "primary output"
    for the x-screen. The latter allows, e.g., in a clone display
    setup, to select the important output on which tearing should be
    minimized. The former makes sure to minimize or avoid tearing on
    the display which shows the largest part of the drawable.
    
    This method is transplanted from the ati ddx.
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit be96a5a62df5e1f286690311a6bc4df4f2a99e57
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Sun Aug 17 02:30:36 2014 +0200

    Add file "compile" to .gitignore
    
    Some auto-generated file by new make systems to deal with some
    old compilers.
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 16c885ce9c7bebcfa1252a5d500956dd5f551043
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Tue Aug 12 11:08:24 2014 +0200

    Fix event handling on multi-x-screen configs.
    
    Only register the wakeup handler and event socket
    once per card fd and server generation, as the fd
    and device file is shared between all x-screens for
    a given card during a given server generation.
    
    Without this fix, vblank and kms-pageflip completion
    event processing don't work properly, as the server
    doesn't kick the wakeup handler for gpu events, and
    therefore the desktop will freeze, unless the user
    manually kicks the wakeup handler by moving the mouse
    or hitting the keyboard.
    
    Add proper reference counting and checks to make it so.
    This fix is derived from a similar and proven fix in
    the ati ddx for the same problem.
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 7eab6806927ea8938b9bd143d1702e87fde2f2cc
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Wed Aug 13 06:48:10 2014 +0200

    Make new ZaphodHeads work across server regenerations.
    
    Reset the mask of already assigned crtc's at start
    of each new server generation.
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 6ad053788e804f3a8bd36ee3653ec95e7df62623
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Wed Aug 6 07:37:32 2014 +0200

    dri2 and xv: Fix NVxxSyncToVBlank() for multi-x-screen's.
    
    Use helper function drmmode_head() to choose proper hw-crtc
    to sync to. Fixes xv blits, and dri2 Copy-Swaps.
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 17de663a71bcad6f69414eb6bc6bf9b76a6bf5f4
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon Aug 11 09:48:42 2014 +1000

    fix glamor header check
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 64ca88570b71289a019a2d130b1a30dc474ef52d
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon Aug 11 08:59:30 2014 +1000

    present: use drmmode_head() where it's appropriate
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 6e71bdf5a9da15c60694fa8543243e37a32c5faf
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Mon Jun 23 11:25:41 2014 +0200

    Allow/Fix use of multiple ZaphodHead outputs per x-screen.
    
    Defining multiple ZaphodHead outputs per x-screen in a
    multiple x-screen's per gpu configuration caused all
    outputs except one per x-screen to go dark, because
    there was a fixed mapping x-screen number -> crtc number,
    limiting the number of crtc's per x-screen to one.
    
    On a ZaphodHead's setup, be more clever and assign
    as many crtc's to a given x-screen as there are
    ZaphodHeads defined for that screen, assuming
    there are enough unused crtc's available.
    
    Tested on a triple display setup with different combos
    of one, two or three ZaphodHeads per one, two or three
    x-screens.
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit fcf91a275e96f14e49a93dc3f8dd6798cf7d98f3
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Mon Jun 23 11:13:57 2014 +0200

    dri2: Fix drmWaitVblank on multi-x-screen configs.
    
    Old mapping of xf86Crtc -> display head index was
    too simple and only worked on a single x-screen config.
    
    Introduce a new helper function drmmode_hw_head_index()
    which returns proper mapping also for multi x-screens per
    gpu and ZaphodHeads setups and other non-standard multi-
    display configurations.
    
    Tested on triple-head setup with various ZaphodHead and
    server layout combos.
    
    This helper will be also needed for dri3/present code.
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>

commit 29572e44c24613be9dec0c98ff2731e46ce6203b
Author: Ilia Mirkin <imirkin@alum.mit.edu>
Date:   Sun Aug 10 02:25:15 2014 -0400

    exa/nv10: src ops should use the SF macro
    
    Doesn't actually end up mattering.
    
    Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 35e17905e1c54558059f6b72b8594a3377f1a57c
Author: Ilia Mirkin <imirkin@alum.mit.edu>
Date:   Sun Aug 10 02:25:14 2014 -0400

    exa/nv10: fix blend function setup to check the correct mask
    
    Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit dfac18c67a17782a0263daf8cb4ee487374abd2c
Author: Ilia Mirkin <imirkin@alum.mit.edu>
Date:   Sun Aug 10 02:25:13 2014 -0400

    exa/nv10: use color 0 when the pict format has no RGB component
    
    Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit ff7010e06b6da0fe27143b47b8a4ffd2f12894b7
Author: Ilia Mirkin <imirkin@alum.mit.edu>
Date:   Sun Aug 10 02:25:12 2014 -0400

    exa/nv10: use same clip settings as mesa driver
    
    The higher 0x800 was getting overwritten by the 0x7ff anyways, so it
    wasn't doing any good. The mesa driver just uses 0x800 for the low
    portion and doesn't set the 8 bit in the higher portion, so do the same
    thing here.
    
    Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit edd1608c397ebcf487b84948031f7807178e5e4d
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Tue Jul 1 22:31:47 2014 +0100

    xorg_list: define the xorg_list* symbols
    
    ...when building against pre 1.12 x.
    The build will fail as earlier versions of X were missing the xorg_
    prefix of the symbols - struct and util functions.
    
    Reported-by: Pali Rohár <pali.rohar@gmail.com>
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit f6c1c755d8230494c8115e2c7899a85663f5c176
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Tue Jul 1 12:56:49 2014 +1000

    fix a harmless typo
    
    fdo#80738
    
    Reported-by: Paulo Sérgio Travaglia <pstglia@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 096fb1ebc10b14ba1b747832efe378369bcf44e6
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Mon May 26 05:39:50 2014 +0200

    dri2: Add support for handling more than 2 crtc's
    
    Need to use the DRM_VBLANK_HIGH_CRTC bits to allow
    selecting crtc's with id > 1 on latest gpu's with
    up to four display engines.
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 4771ff5c668047a2dc56e4c6131175eed837e757
Author: Marcin Slusarz <marcin.slusarz@gmail.com>
Date:   Sun Jun 22 01:32:42 2014 +0200

    present: build only when glamor is enabled
    
    nouveau_present_flip_exec references glamor_fd_from_pixmap,
    which do not exist when glamor is disabled
    
    Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 41c1c4ee867753422d6486f13bf20b45905a5dd5
Author: Marcin Slusarz <marcin.slusarz@gmail.com>
Date:   Sun Jun 22 01:31:46 2014 +0200

    glamor: fix build without glamor.h
    
    xorg-server can be built without glamor, which leads to:
    
      CC       nouveau_xv.lo
    In file included from nouveau_xv.c:41:0:
    nouveau_glamor.h:12:20: fatal error: glamor.h: No such file or directory
    compilation terminated.
    
    Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit f0fa8313714c2a5b16e784b257b5ff79da3a443b
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Thu Jun 19 17:11:34 2014 +0200

    dri2: Enable sync of bufferswaps to Vblank by default.
    
    Make this consistent with other drivers default behaviour.
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 02d7e647ce3a4a5d48c4ee94c94bebcac2d4827d
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Sat Jun 21 01:26:16 2014 +0200

    dri2: Fix kms pageflip completion timestamping.
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 4d92001ebe6bec8c5eaab8156421e62a7e4dedc8
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Fri Mar 14 18:27:53 2014 +0100

    Add kernel async_flip cap detection. Part II of double-sync fix.
    
    Query if kernel supports the async_flip cap, thereby needs the
    new sync behavior. Linux 3.13+ nouveau-kms have this cap and
    need this fix.
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 54dfbb2fed393b65d846e6ed9672acb47e0f19de
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Fri Mar 14 18:23:04 2014 +0100

    dri2: Fix double-sync of pageflips on Linux 3.13+ - Part I
    
    Linux 3.13 and later sync kms pageflips to vblank in the kms
    driver, so we must not emit a sync to vblank pushbuf in the ddx
    on such kernels, or maximum framerate will be cut into half!
    
    A sync-to-vblank-pushbuf is emitted for copyswaps as in the past,
    also for older kernels which don't support async_pageflip's and
    don't sync by themselves.
    
    This adds the implementation, but not the detection logic for
    async_pageflip support in the kernel.
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 303402e00d55b5296311738184cd61f4aadab74d
Author: Mario Kleiner <mario.kleiner.de@gmail.com>
Date:   Sat Jun 21 00:09:39 2014 +0200

    Fix nouveau_copy_init()
    
    Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 65a70c4edd1f0df808a3a4dea6e8c9846cc7c920
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Jun 20 16:57:18 2014 +1000

    another build fix...

commit 882ebb4000803f6025e1bb3213a31b19f6d1a2c6
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon Nov 18 14:42:02 2013 +1000

    present: initial support
    
    Until glamor grows its own implementation.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 0d94f32fce2759c4b0f4d22b99f3ced09c2aa5a0
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Jun 20 09:47:39 2014 +1000

    kms: implement a more generic event mechanism
    
    Present wants to use this too.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 97feb3b2104287eb385ffba8329f304e2808d808
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Jun 20 09:29:08 2014 +1000

    dri2: move page flip handling out of drmmode
    
    Nothing to see here... This is to (hopefully) avoid busting DRI2 while
    implementing Present support.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 60b876eab3708f1c277027addb5514974452644c
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Jun 20 09:20:37 2014 +1000

    dri2: move away from directly touching drmmode on page flips
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 36dda1341008dd87a6b5459f0616776097d11d9f
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Jun 20 09:04:30 2014 +1000

    dri2: shuffle some functions around
    
    Nothing to see here...
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 8bdec8ebd68ba5eaa696d8a666e18774bff3b2ad
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Jun 20 12:37:33 2014 +1000

    glamor: fix randr resize
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 3c45b590a31157abca140096b141aa83fecb671f
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Fri Jun 20 08:28:30 2014 +1000

    sync: fix build against DRI3-less server
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 88ae58d786b0c41148e692dbfe8e2646e7533d9e
Author: Ilia Mirkin <imirkin@alum.mit.edu>
Date:   Thu Jun 19 02:37:45 2014 -0400

    update man page with new chips, AccelMethod option
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 5cb36ba57493bf7edf560bf370c87eff79f1d1a6
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Jun 19 14:54:20 2014 +1000

    default to glamor on maxwell
    
    We have no RENDER/Xv acceleration in EXA for Maxwell.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 81148bb1dbc7007c021c59411d56cb31cfc74ef2
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Jun 19 14:54:20 2014 +1000

    glamor: provide dri3 support when enabled
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 86024ceef015ffe31a204cc5bc6c326a19363ff1
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Jun 19 14:54:20 2014 +1000

    glamor: initial support (no dri)
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit fd0ce8839f307693d86c7602dd926ce79e6b777d
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Jun 19 14:54:20 2014 +1000

    add support for maxwell, minus Xv/renderaccel
    
    More extensive acceleration will be via glamor, at least to begin with.  It
    seems to make sense to jump on the bandwagon now, and deal with any issues
    that arise before it it becomes the standard for XWayland.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 8ad0465e15bfc502abc259e886d6dcb448e0141a
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Jun 19 14:54:20 2014 +1000

    50/c0/e0 -> tesla/fermi/kepler
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 4b138ab18f58c6d459e21dc319615f536c8e69c8
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Jun 19 14:54:20 2014 +1000

    merge nv_dma.c into nv_accel_common.c
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 5c44e6b86195c22e092db5dae06e70208e8b66a0
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Jun 19 14:54:20 2014 +1000

    pull copy engine handling into one place, a place that isn't also exa
    
    As a side-effect, we now allow Kepler to use async copies too.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit c375bacbdaeabd0288855c13b4717d0694be9e56
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Jun 19 14:54:20 2014 +1000

    exa: move module load into nouveau_exa_init
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit b24cae0bf5db6ece21439d4c6ff3668aed4c78d6
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Jun 19 14:54:20 2014 +1000

    dri2: move "is supported" checks out of nv_driver.c
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 07c26a0670dd2558acf8e1159f2f68989a7f753d
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Jun 19 14:54:20 2014 +1000

    replace NoAccel with AccelMethod in preparation for glamor support
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit e7cf48d9529160f7add2fef72d2e42be9370594a
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Jun 19 14:54:20 2014 +1000

    silence a warning
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 4a18dd74c0cc6e75937eb78347e8ea6c81d1373a
Author: Dave Airlie <airlied@redhat.com>
Date:   Mon May 26 17:30:24 2014 +1000

    autogen: add support for gnome autobuilder
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 8604a741baa5360164a882bd9f3c8474840744db
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Fri Apr 11 14:20:43 2014 +0200

    Fix building on older servers without xf86platformBus.h
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>

commit 0c13843e300d1a9db2bfed18dc1b5df38c5adfdf
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Mon Mar 17 17:37:31 2014 +0100

    Add support for server managed fds
    
    v2 (Martin Peres):
    	- Do not define "NVEntPtr pNVEnt" if not needed to avoid some warnings
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Martin Peres <martin.peres@free.fr>

commit 47f08aa6d713da4e6ae9c35ce691e790ffaed09d
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Mon Mar 17 17:37:30 2014 +0100

    Add a NVOpenNouveauDevice helper function
    
    This is a preparation patch for adding support for server managed fds
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Martin Peres <martin.peres@free.fr>

commit 480f0998ffed6d9a5c6656dba75182f00fd88a1b
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Nov 7 14:56:48 2013 +1000

    bump to 1.0.10 for release
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 59395c738ebdc21087109075ada67ea8d7783141
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Nov 7 14:56:06 2013 +1000

    recognise GK208 as a Kepler board
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 03642323a954d0adb11662a98e92dfa20bee9728
Author: Dave Airlie <airlied@gmail.com>
Date:   Wed Jul 31 11:19:50 2013 +1000

    nouveau: fix build against older servers.
    
    Older servers had no GPU support.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 27323ce68d58fcb82a648ab14abbc99acdc36f44
Author: Dave Airlie <airlied@gmail.com>
Date:   Wed Jul 31 11:01:15 2013 +1000

    nouveau: add gpu identifier to connector names for secondary gpus
    
    this avoids clashes with identifiers from other GPUs.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 1df177f35a05db505577cdc929e63fde906a704b
Author: Dave Airlie <airlied@gmail.com>
Date:   Wed Jul 31 10:51:03 2013 +1000

    nouveau: fix build on ppc by wrapping immintrin include.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 300c5a32d79cf507b5fede96710335bcd316eccb
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Jul 30 15:28:06 2013 +1000

    bump to 1.0.9 for release
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit be44e7804862b4c276ed4d4717b1212920f428e6
Author: Dave Airlie <airlied@gmail.com>
Date:   Tue Jul 30 15:26:46 2013 +1000

    nouveau: fix crash when xinerama is enabled.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 588252556d1c84bf6793bc22edd48e6650a0f1b9
Author: Dave Airlie <airlied@gmail.com>
Date:   Tue Jul 30 15:14:22 2013 +1000

    fix make distcheck.
    
    add all the nvf0 stuff.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 29aecda1b5bdb95700894083874492a6d5dfc08a
Author: Dave Airlie <airlied@gmail.com>
Date:   Tue Jul 30 14:10:51 2013 +1000

    drmmode: add support for multi-screen reverse optimus
    
    Initial reverse optimus didn't consider multiple screens, so
    this overhauls the code to use the new X server interface,
    and allows for multiple outputs on the nvidia to be used with
    the intel doing the rendering.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit d7ae886260b480da0ea4cad22eb6f7b7d12f07b0
Author: Ilia Mirkin <imirkin@alum.mit.edu>
Date:   Mon Jul 29 21:03:54 2013 -0400

    nouveau: use uppercase for chipset name
    
    Right now the log will output e.g. NVaa instead of NVAA, which is how we
    usually talk about it.
    
    Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 4492cf90c2a7fe27badf6f3f0f296755a65e1e83
Author: Ilia Mirkin <imirkin@alum.mit.edu>
Date:   Mon Jul 29 02:40:39 2013 -0400

    xv: speed up YV12 -> NV12 conversion using SSE2 if available
    
    memcpy() goes from taking 45% to 66% of total function time, which
    translates to a 30% decrease in NVPutImage runtime.
    
    Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 08c667b06d28756d0d32f82bd736b0bdf2b4448e
Author: Ilia Mirkin <imirkin@alum.mit.edu>
Date:   Mon Jul 29 02:40:38 2013 -0400

    xv: fix last pixel for big-endian machines in YV12 -> NV12 conversion
    
    Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 8c1c5d4f212958559132506d51dcfeeb17f60371
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Wed May 15 21:34:13 2013 +1000

    nvf0: implement EXA and XVideo acceleration
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 779b8d44b5ff84b87b52600a2f010ac19cd396ad
Author: Sven Joachim <svenjoac@gmx.de>
Date:   Thu Jun 13 20:41:53 2013 +0200

    Link against libdrm
    
    The DDX uses symbols from libdrm but currently does not link against
    it, but rather relies on indirect linkage from libdrm_nouveau.  This
    could lead to insufficient dependencies in distribution packages, seen
    in http://bugs.debian.org/633786.
    
    Signed-off-by: Sven Joachim <svenjoac@gmx.de>

commit e96ae2b129df2a50d1d3839084df4fb1868d914d
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Wed Jun 12 11:05:23 2013 +0200

    fixup the dri2 check
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>

commit 7f20a6af25ae28452ec9c971bfa2227857e6ee93
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Wed Jun 12 10:46:39 2013 +0200

    bump to 1.0.8

commit 1fda669c0e5a25eac7f9f1e9a743120cae50ff51
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Sat Feb 16 20:48:47 2013 +0000

    configure: printout the configuration info
    
    Let the bikeshedding begin
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

commit 45dbcaac301efce04d0bb492337f4febf8129ed9
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Sat Feb 16 20:48:45 2013 +0000

    nouveau: mandate dri2 build
    
    Building nouveau without dri2 is just silly
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

commit ea8d225fe100ecabb72e3cc0a92372f16afb10b3
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Sat Feb 16 20:48:44 2013 +0000

    dri1: purge the final references
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

commit b5d1a9bd269c9d2758fee37492cdcccc976fcc3b
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Sat Feb 16 20:48:43 2013 +0000

    nouveau: Do not load dri {sub,}module
    
    Nouveau does not use dri1, thus loading XFree86-DRI is not needed
    On the other hand, we do use dri2
    
    As a side effect, purge the 'set-but-unused' variable pLibDRMVersion
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

commit 7c3f6cd8d6b14aea561fb877f6006d339d156f35
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Sat Feb 16 20:48:42 2013 +0000

    nouveau: stop using dri1 function DRICreatePCIBusID
    
    Step 1 to completely rip out dri1 out of nouveau
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

commit 3b1a45325d5fd46f0e7fad17168742b4c9a2465a
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Wed Jun 12 10:30:32 2013 +0200

    update makefiles for make distcheck

commit b82aacd3e72b52240181569c8b0abb55c1f716d5
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Sat Feb 16 12:48:46 2013 -0800

    configure: require xorg-macros 1.8
    
    Explicitly check for xorg-macros 1.8, as a subtle hint
    to update your build deps if building your own ddx
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

commit 4f667b40f41e311fbe302237efe173bcc24fb8bb
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Mon Jun 10 14:29:59 2013 +0200

    fix a xfree from previous patch
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>

commit 2e34d11541e1f987c7ca0556592cb16f4d232299
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Mon Jun 10 13:06:35 2013 +0200

    nouveau: enable support for normal optimus configuration
    
    nvd7 has no display engine, only enable sink output capability
    if there is a crtc.
    
    drmmode doesn't work without crtc's, so prevent crashes by skipping
    the drmmode code in that case.
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>

commit bf72ae1f6574c540f0afc2d7845d41df43507a8f
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Wed May 15 22:05:01 2013 +1000

    nve0: envyas isn't overly clever.. avoid short-form instructions
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 41cc2f24c43d2656ac722f594aaebad93e37dfec
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Wed May 15 21:13:11 2013 +1000

    nvc0-nve0: decompile shaders into their source, add basic build system
    
    Far, far easier to maintain this way...
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 1edb5d7ae450a32fe6607d536653cf733444e7e2
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Wed May 15 20:47:44 2013 +1000

    nvc0-nve0: split shader code from their headers
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit c18439f759bec267a3b67d375dcbfeb8a6fd7b6a
Author: Dave Airlie <airlied@redhat.com>
Date:   Mon May 13 13:55:51 2013 +1000

    nouveau: clean up nv entity index declarations.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit d3b52efe959f255784f5ead16d7276ca0fb4cdb1
Author: Dave Airlie <airlied@redhat.com>
Date:   Mon May 13 13:35:12 2013 +1000

    nouveau: attempt to fix zaphod since dri1 code removal
    
    j_v on #nouveau bisected b1a630b48210d6a3c44994fce1b73273000ace5c has
    breaking zaphod, on review it was trying to open the drm fd a second time
    which was unnecessary.
    
    Avoid the problem by storing the nv fd in an entity and have share it between
    the two scrn info recs.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 50426ac83f9f077791e4df8c04fc0ecefc06e8ab
Author: Marek Vasut <marex@denx.de>
Date:   Fri May 3 15:48:55 2013 +0200

    nouveau: Allow 3D accelerators with output ports
    
    This patch let's cards with PCI class 0x30200 (3D controller) be
    operated by the nouveau driver as well. The nv Quadro NVS 450 is
    one such card, where the first GPU has PCI class 0x30000 and the
    other GPU has PCI class 0x30200. By ignoring the 1 << 9 bit in
    the PCI class mask, displays attached to the other GPU can also
    be used now.
    
    Signed-off-by: Marek Vasut <marex@denx.de>
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Ben Skeggs <skeggsb@gmail.com>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 2fa3397e348161a3394e2b456f065921272a056a
Author: Ilia Mirkin <imirkin@alum.mit.edu>
Date:   Fri May 3 09:59:39 2013 -0400

    nouveau_xv: Avoid reading off the end of the source image on NV50+
    
    The 'w' argument to NVCopyNV12ColorPlanes is used to index into the
    source image. line_len is rounded up to 8 on NV50+, so if the source
    image (+ left offset) is not rounded to 8, NVCopyNV12ColorPlanes could
    read past the end of the array and crash X. This change can cause the
    last few horizontal pixels of dst to not be initialized, but they
    should be truncated by the renderer anyways.
    
    See https://bugs.freedesktop.org/show_bug.cgi?id=63263
    
    Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 81f9ab38f0a5de7217227dd17a4d0e50dffd0d28
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu May 2 11:38:07 2013 +1000

    nvf0: recognise as supported chipset
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 653c95d60af0f7c19a1d2f3b76dd17bb169d9c9b
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon Apr 29 10:07:59 2013 +1000

    nve0: explicitly ask kernel for copy2 object
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 6771424d79e541d2fa7253a582db3dc9108fd97d
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Wed Mar 27 09:50:03 2013 +0100

    bump to 1.0.7
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>

commit 84998320162a74a0861b7be1fcc230e50f08424a
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Mon Mar 25 13:55:37 2013 +0100

    Clean up some errors on closing.
    
    If forced close happens, all ioctl's will fail. Some of the handlers
    also need to be unregistered before the module is unloaded entirely.

commit a80785f79268ed3701fc69cbd9194ad12822c82c
Author: Dave Airlie <airlied@redhat.com>
Date:   Mon Feb 11 09:56:25 2013 +1000

    nouveau: fix build against old servers (part 2)
    
    Should fix next bit of
    https://bugs.freedesktop.org/show_bug.cgi?id=60369
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 05dc9b57896689a3dbd9e6aeb16d57c49515b02e
Author: Marcin Slusarz <marcin.slusarz@gmail.com>
Date:   Sun Feb 3 21:12:46 2013 +0100

    nv30/exa: fix shaders on big-endian machines
    
    Direct port of commit d1bc38b6673c54af61196056c489383fba8dced8
    "nv40/exa: fix shaders on big-endian machines" to nv30.
    
    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=60050
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 61a277488f7195914cbdda10355db0d758fc801c
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Feb 7 10:47:20 2013 +1000

    nouveau: fix build on older X servers
    
    should fix https://bugs.freedesktop.org/show_bug.cgi?id=60369
    
    Reported-by: fabio.ped@libero.it
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit e8f222fd10e21f39488d3d8c697e4948cd787cd0
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed Feb 6 16:21:50 2013 +1000

    nouveau: make prime regression fix more robust.
    
    This makes this fix more robust and less crashy.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit d762631c9306b6580b34db1e7eb57bbcac901390
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed Feb 6 15:52:33 2013 +1000

    nouveau: align shared buffers to 256
    
    We were getting 0xa5 error code on 2D transfers from tiled VRAM to untiled
    GART when using USB offload devices, this fixes this by upping the alignment
    on the 2D engine for shared buffers.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit c6980b2add5752a7c285a846b2c9353c9d18afd4
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed Feb 6 15:24:09 2013 +1000

    nouveau: fix regression in PRIME since 58284cf32778d54cde139423450bc33360784503
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 59fb3f0252e9b769c5877cfe83d8dbc51cdff232
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed Feb 6 14:58:08 2013 +1000

