xserver-xorg-video-ati: Changes to 'autobuild-unstable'

2010-10-17 Thread Cyril Brulebois
New branch 'autobuild-unstable' available with the following commits:
commit e34dc2770654b11ddb759848583d4ee0e7b5ca35
Author: Cyril Brulebois k...@debian.org
Date:   Sun Oct 17 22:31:53 2010 +0200

Add version to the xutils-dev build-dep, needed for new macros.

commit 10544931d61b4b07e3ef10cc98c99ac27cbfc471
Author: Cyril Brulebois k...@debian.org
Date:   Sun Oct 17 22:31:31 2010 +0200

Add bug closure (#587999).

commit c00ea036995bf167e3132c226f6421ce43c9e244
Author: Cyril Brulebois k...@debian.org
Date:   Sun Oct 17 22:04:45 2010 +0200

New upstream release.

commit 8f893e7d2d4eab0a1c612b815ee68ccb1dee8265
Merge: e3a7fe4 cc5005a
Author: Cyril Brulebois k...@debian.org
Date:   Sun Oct 17 22:03:17 2010 +0200

Merge commit 'xf86-video-ati-6.13.2'

commit e3a7fe4c1131867144efa9af30fa82d8bd61e475
Author: Cyril Brulebois k...@debian.org
Date:   Sun Oct 17 22:02:14 2010 +0200

Revert fix build on non-kms

This reverts commit 41d0440ede985724f6becf3a5a2356efb98c42f5.

The only purpose is making it easy to merge from upstream.

commit cc5005af61f45a3552f7358dc5aa711e42f5af54
Author: Alex Deucher alexdeuc...@gmail.com
Date:   Mon Sep 27 18:20:53 2010 -0400

bump version for release

commit 7f8820fcec8c90bf2f823170bd08a23e8b4ff7af
Author: Michael Cree mc...@orcon.net.nz
Date:   Mon Sep 27 13:39:12 2010 -0400

Fix some unaligned 32bit accesses in the AtomBios code.

On the Alpha architecture unaligned 32bit accesses incur a software
trap to the kernel and pollute the kernel logs.  Fixed by use of the
ldl_u() interface.

Signed-off-by: Michael Cree mc...@orcon.net.nz

commit c4f834cdfbe96aa47ac5fb039f9dd7aa9730c8a3
Author: Nicolas Reinecke n...@das-labor.org
Date:   Mon Sep 27 13:33:55 2010 -0400

radeon: Convert remaining x(c)alloc/xfree to m/calloc/free.

Fixes deprecation warnings missed out by
f7a91ece264af9f3fd2fc18e99aefcda93ce9f5c

commit f8fb9312d791af1f77020e8c2d35bb30841ed9aa
Author: Karl Tomlinson kar...@karlt.net
Date:   Sun Aug 22 22:46:33 2010 +1200

RADEONPrepareAccess_CS: fallback to DFS when pixmap is in VRAM

This avoids costly CPU VRAM reads and lets EXA manage a system memory cache
of the portions of pixmaps needed for unaccelerated operations.

https://bugs.freedesktop.org/show_bug.cgi?id=27139

commit 35c4ff936601ee083f51510a5192fb97d622a483
Author: Karl Tomlinson kar...@karlt.net
Date:   Sun Aug 22 22:28:06 2010 +1200

radeon: complete UTS and DFS even when a scratch BO is not necessary

Turns on the big-endian paths even for little-endian systems, and adds
similar paths to the r6xx/r7xx functions.

This makes UTS and DFS reliable, which will let PrepareAccess (with
mixed pixmaps) choose to fail based on whether the pixmap is in VRAM
(to avoid CPU reads).

commit d46381a3a6bf10903803f5acaa7aa0ce06373b96
Author: Karl Tomlinson kar...@karlt.net
Date:   Sun Aug 22 21:02:45 2010 +1200

radeon: complete big endian UTS and DFS even when scratch allocation fails.

On big endian systems, PrepareAccess will fail when byte-swapping is
required so UploadToScreen and DownloadFromScreen cannot rely on
fallback to PrepareAccess.

When scratch BO space allocation fails, this patch merely adds simple
fallback to direct CPU access without any GPU blit.  This sometimes
requires a CS flush even in UploadToScreen.
(No allocation retry after a flush is added here.)

commit 4ced4e1eff67946e306c0c67c9ed59dd5f3c4ba9
Author: Karl Tomlinson kar...@karlt.net
Date:   Sun Aug 22 20:04:42 2010 +1200

RADEONDownloadFromScreenCS: flush CS writes before mapping BO for read

If unflushed CS operations write to the pixmap BO, then these need to be
flushed before mapping the BO for read.  This currently only affects big
endian systems and only when the operation writes to the GTT domain.

commit a4eef8faffbb1ea2f742273ee855f4e6f992e5c8
Author: Karl Tomlinson kar...@karlt.net
Date:   Sat Aug 21 22:29:34 2010 +1200

FinishAccess_CS: set bo_mapped to FALSE on unmap

This is actually only necessary when PrepareAccess may behave differently on
different calls with the same pixmap, which currently doesn't happen.

However resetting bo_mapped is necessary to let PrepareAccess (with mixed
pixmaps) choose to fail based on whether the pixmap is in VRAM (to avoid CPU
reads).

commit bfebe039af0c0282d04eb6234b6e6d1e02097146
Author: Karl Tomlinson kar...@karlt.net
Date:   Sat Aug 21 21:44:39 2010 +1200

DownloadFromScreenCS: download via a scratch BO if pixmap domain is unknown

radeon_bo_is_busy() may return without setting the domain out-parameter.
If this happens, then download via a scratch GTT BO to avoid CPU VRAM read.

commit b90cb61ccb0f4f80e0627141f223354a9371d47d
Author: Alex Deucher alexdeuc...@gmail.com
Date:   Tue Sep 7 11:51:16 2010 -0400

radeon: set interlaced and doublescan 

xserver-xorg-video-ati: Changes to 'autobuild-unstable'

2010-10-17 Thread Cyril Brulebois
 ChangeLog   |  232 ++
 configure.ac|7 
 debian/changelog|6 
 man/ati.man |1 
 man/radeon.man  |   21 
 src/Makefile.am |7 
 src/atombios_crtc.c |   24 
 src/atombios_output.c   |9 
 src/evergreen_accel.c   | 1115 +
 src/evergreen_exa.c | 1950 +
 src/evergreen_reg.h |  247 ++
 src/evergreen_reg_auto.h| 4039 
 src/evergreen_shader.c  | 2794 
 src/evergreen_shader.h  |  292 ++
 src/evergreen_state.h   |  341 +++
 src/evergreen_textured_videofuncs.c |  560 
 src/r600_exa.c  |  144 -
 src/r600_state.h|   42 
 src/r600_textured_videofuncs.c  |   60 
 src/r6xx_accel.c|  122 -
 src/radeon.h|   43 
 src/radeon_accel.c  |8 
 src/radeon_atombios.c   |5 
 src/radeon_cursor.c |   41 
 src/radeon_dri2.c   |  256 +-
 src/radeon_driver.c |   18 
 src/radeon_exa_shared.c |   50 
 src/radeon_exa_shared.h |4 
 src/radeon_kms.c|   35 
 src/radeon_output.c |3 
 src/radeon_reg.h|6 
 src/radeon_textured_video.c |   31 
 src/radeon_vbo.c|   38 
 src/radeon_vbo.h|   42 
 src/radeon_video.c  |2 
 35 files changed, 12227 insertions(+), 368 deletions(-)

New commits:
commit 22d7aa75ba4e37f8027033b21d277bc9e0b30510
Author: Cyril Brulebois k...@debian.org
Date:   Sun Oct 17 23:01:19 2010 +0200

Update changelogs.

diff --git a/ChangeLog b/ChangeLog
index 5fcd1dd..3a6a39c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,165 @@
+commit 042037e485396981cf4a420c247104ba5d016ca0
+Author: Alex Deucher alexdeuc...@gmail.com
+Date:   Thu Oct 14 17:00:51 2010 -0400
+
+evergreen: requires same cursor fix as avivo chips
+
+commit 0f37458c253aec46d98db6661c4def711df8fc17
+Author: Adam Jackson a...@redhat.com
+Date:   Thu Oct 14 14:37:34 2010 -0400
+
+Don't allow the config file to override BIOS location
+
+Signed-off-by: Adam Jackson a...@redhat.com
+
+commit 2918df3a312fc600e83f84c298b9653d2eb3a8d5
+Author: Alex Deucher alexdeuc...@gmail.com
+Date:   Wed Oct 13 17:16:04 2010 -0400
+
+evergreen: increase XV_CRTC Xv attribute range
+
+Cover all 6 possible crtcs.
+
+commit 0d1f9fd03d0196dda5c1ce34b2e68b007c1874f2
+Author: Alex Deucher alexdeuc...@gmail.com
+Date:   Sun Oct 10 12:06:22 2010 -0400
+
+DCE3+: UMS modesetting fixes
+
+- add mising LVTMA case statement for DCE3.0 dig encoder
+- some DCE4 systems have EN/DISABLE_OUTPUT actions
+
+commit acf4024aa0ef192355b2bd8281507b1c2e6b7de4
+Author: Alex Deucher alexdeuc...@gmail.com
+Date:   Fri Oct 8 16:30:36 2010 -0400
+
+ATOM DDC fixes for UMS
+
+- Header size was already subtraced from table size
+- Only hw capable ddc pads are shared with aux
+
+commit 74fd2b91477106a26a2d9fb4b11c885910996041
+Author: Alex Deucher alexdeuc...@gmail.com
+Date:   Thu Oct 7 17:33:00 2010 -0400
+
+DCE3.2 UMS: fix duallink
+
+Should fix:
+https://bugs.freedesktop.org/show_bug.cgi?id=30686
+
+commit 8c544272f218fd8bd93a898b96afedc2498b27bb
+Author: Alex Deucher alexdeuc...@gmail.com
+Date:   Thu Oct 7 17:25:47 2010 -0400
+
+fix the non-kms build
+
+Should fix:
+https://bugs.freedesktop.org/show_bug.cgi?id=30685
+
+commit 81360adffb2a66b9a95a38671f9227a9718c9841
+Author: Oldřich Jedlička oldium@seznam.cz
+Date:   Mon Sep 6 21:14:52 2010 +0200
+
+radeon: proper DRI2 pending events handling when client gone. (v6)
+
+Properly handle asynchronous DRI2 events for disconnected clients.
+Track client's pending requests and mark them as invalid when the
+client disconnects.
+
+This is based on the version from Alban Browaeys in bug #29065.
+
+v1 (Alban Browaeys): Based upon a detailed explanation from Oldřich
+Jedlička and comments from Christopher James Halse Rogers.
+on http://lists.x.org/archives/xorg-driver-ati/2010-August/016780.html .
+
+v2: Updated version to apply on master. Removed unnecessary
+client_index field from _DRI2FrameEvent. Added freeing/removing from
+list to failed paths of radeon_dri2_schedule_wait_msc and
+radeon_dri2_schedule_swap.
+
+v3: Adopt to older xorg-server that doesn't have dixRegisterPrivateKey.
+
+v4: Conditional include of list.h, unreachable return removed.
+
+v5: Distribute list.h as xorg_list.h, remove xorg-server version check.
+Use the version from xorg-server when available (checked in
+configure.ac).
+
+