xserver-xorg-video-intel: Changes to 'debian-experimental'
ChangeLog | 2474 +++++++++++++++
Makefile.am | 4
NEWS | 32
configure.ac | 114
debian/changelog | 6
debian/control | 2
man/intel.man | 28
src/Makefile.am | 6
src/brw_structs.h | 124
src/i965_3d.c | 438 ++
src/i965_reg.h | 132
src/i965_render.c | 578 ++-
src/i965_video.c | 578 ++-
src/intel.h | 45
src/intel_batchbuffer.c | 13
src/intel_batchbuffer.h | 2
src/intel_display.c | 16
src/intel_dri.c | 466 ++-
src/intel_driver.c | 26
src/intel_driver.h | 9
src/intel_module.c | 660 +---
src/intel_video.c | 1
src/legacy/i810/i810_dri.c | 1
src/render_program/Makefile.am | 50
src/render_program/exa_wm_affine.g6i | 35
src/render_program/exa_wm_mask_affine.g6a | 8
src/render_program/exa_wm_mask_affine.g7a | 41
src/render_program/exa_wm_mask_affine.g7b | 4
src/render_program/exa_wm_mask_projective.g7a | 63
src/render_program/exa_wm_mask_projective.g7b | 12
src/render_program/exa_wm_mask_sample_a.g7a | 49
src/render_program/exa_wm_mask_sample_a.g7b | 3
src/render_program/exa_wm_mask_sample_argb.g7a | 49
src/render_program/exa_wm_mask_sample_argb.g7b | 3
src/render_program/exa_wm_sample_planar.g4i | 64
src/render_program/exa_wm_src_affine.g6a | 8
src/render_program/exa_wm_src_affine.g7a | 41
src/render_program/exa_wm_src_affine.g7b | 4
src/render_program/exa_wm_src_projective.g7a | 63
src/render_program/exa_wm_src_projective.g7b | 12
src/render_program/exa_wm_src_sample_a.g7a | 48
src/render_program/exa_wm_src_sample_a.g7b | 3
src/render_program/exa_wm_src_sample_argb.g4a | 18
src/render_program/exa_wm_src_sample_argb.g4i | 44
src/render_program/exa_wm_src_sample_argb.g7a | 38
src/render_program/exa_wm_src_sample_argb.g7b | 3
src/render_program/exa_wm_src_sample_planar.g4a | 36
src/render_program/exa_wm_src_sample_planar.g7a | 38
src/render_program/exa_wm_src_sample_planar.g7b | 5
src/render_program/exa_wm_write.g6a | 38
src/render_program/exa_wm_write.g6i | 61
src/render_program/exa_wm_write.g7a | 41
src/render_program/exa_wm_write.g7b | 17
src/render_program/exa_wm_yuv_rgb.g7b | 12
src/sna/Makefile.am | 101
src/sna/README | 30
src/sna/blt.c | 73
src/sna/gen2_render.c | 2314 ++++++++++++++
src/sna/gen2_render.h | 795 +++++
src/sna/gen3_render.c | 3716 ++++++++++++++++++++++++
src/sna/gen3_render.h | 1479 +++++++++
src/sna/gen4_render.c | 2839 ++++++++++++++++++
src/sna/gen4_render.h | 2643 +++++++++++++++++
src/sna/gen5_render.c | 2842 ++++++++++++++++++
src/sna/gen5_render.h | 2730 +++++++++++++++++
src/sna/gen6_render.c | 2891 ++++++++++++++++++
src/sna/gen6_render.h | 1598 ++++++++++
src/sna/gen7_render.c | 3036 +++++++++++++++++++
src/sna/gen7_render.h | 1716 +++++++++++
src/sna/kgem.c | 1978 ++++++++++++
src/sna/kgem.h | 337 ++
src/sna/kgem_debug.c | 408 ++
src/sna/kgem_debug.h | 31
src/sna/kgem_debug_gen2.c | 60
src/sna/kgem_debug_gen3.c | 1620 ++++++++++
src/sna/kgem_debug_gen4.c | 711 ++++
src/sna/kgem_debug_gen5.c | 687 ++++
src/sna/kgem_debug_gen6.c | 1099 +++++++
src/sna/sna.h | 581 +++
src/sna/sna_accel.c | 3435 ++++++++++++++++++++++
src/sna/sna_blt.c | 1361 ++++++++
src/sna/sna_composite.c | 738 ++++
src/sna/sna_damage.c | 971 ++++++
src/sna/sna_damage.h | 109
src/sna/sna_display.c | 2145 +++++++++++++
src/sna/sna_dri.c | 1748 +++++++++++
src/sna/sna_driver.c | 1037 ++++++
src/sna/sna_glyphs.c | 1177 +++++++
src/sna/sna_gradient.c | 352 ++
src/sna/sna_io.c | 446 ++
src/sna/sna_module.h | 3
src/sna/sna_reg.h | 108
src/sna/sna_render.c | 1154 +++++++
src/sna/sna_render.h | 550 +++
src/sna/sna_render_inline.h | 119
src/sna/sna_stream.c | 99
src/sna/sna_tiling.c | 264 +
src/sna/sna_transform.c | 139
src/sna/sna_trapezoids.c | 2387 +++++++++++++++
src/sna/sna_video.c | 585 +++
src/sna/sna_video.h | 129
src/sna/sna_video_hwmc.c | 252 +
src/sna/sna_video_hwmc.h | 74
src/sna/sna_video_overlay.c | 731 ++++
src/sna/sna_video_textured.c | 437 ++
test/.gitignore | 13
test/Makefile.am | 31
test/README | 3
test/basic-copyarea-size.c | 102
test/basic-copyarea.c | 301 +
test/basic-fillrect.c | 263 +
test/basic-putimage.c | 283 +
test/basic-stress.c | 155 +
test/mixed-stress.c | 208 +
test/render-composite-solid.c | 255 +
test/render-copyarea-size.c | 115
test/render-copyarea.c | 324 ++
test/render-fill-copy.c | 279 +
test/render-fill.c | 247 +
test/render-trapezoid-image.c | 615 +++
test/render-trapezoid.c | 434 ++
test/test.h | 118
test/test_display.c | 150
test/test_image.c | 217 +
test/test_log.c | 17
test/test_render.c | 149
uxa/uxa-accel.c | 411 --
uxa/uxa-glyphs.c | 10
128 files changed, 66727 insertions(+), 1504 deletions(-)
New commits:
commit 0bb55535c7dfc5ccdc8d19c645e27ce23c63ce53
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Aug 1 01:38:20 2011 +0200
Upload to experimental
diff --git a/debian/changelog b/debian/changelog
index b081992..692093e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,10 @@
-xserver-xorg-video-intel (2:2.15.901-1) UNRELEASED; urgency=low
+xserver-xorg-video-intel (2:2.15.901-1) experimental; urgency=low
* Re-enable XvMC.
* New upstream snapshot.
* Build against xserver 1.10.99.x.
- -- Julien Cristau <jcristau@debian.org> Mon, 01 Aug 2011 01:29:49 +0200
+ -- Julien Cristau <jcristau@debian.org> Mon, 01 Aug 2011 01:37:49 +0200
xserver-xorg-video-intel (2:2.15.0-3) unstable; urgency=high
commit f83a65af08081bbcdaee204ff67c9237319c4978
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Aug 1 01:34:51 2011 +0200
Delete symlink that makes dpkg-source unhappy
diff --git a/src/render_program/exa_wm_yuv_rgb.g7a b/src/render_program/exa_wm_yuv_rgb.g7a
deleted file mode 120000
index d34d246..0000000
--- a/src/render_program/exa_wm_yuv_rgb.g7a
+++ /dev/null
@@ -1 +0,0 @@
-exa_wm_yuv_rgb.g4a
\ No newline at end of file
commit 9d2f70b9d7154d081c520a95370135c2dce9c3e6
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Aug 1 01:31:15 2011 +0200
Build against xserver 1.10.99.x.
diff --git a/debian/changelog b/debian/changelog
index 6715004..b081992 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ xserver-xorg-video-intel (2:2.15.901-1) UNRELEASED; urgency=low
* Re-enable XvMC.
* New upstream snapshot.
+ * Build against xserver 1.10.99.x.
-- Julien Cristau <jcristau@debian.org> Mon, 01 Aug 2011 01:29:49 +0200
diff --git a/debian/control b/debian/control
index 927d9cb..89bc58f 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends:
debhelper (>= 8),
dh-autoreconf,
pkg-config,
- xserver-xorg-dev (>= 2:1.9.4),
+ xserver-xorg-dev (>= 2:1.10.99),
x11proto-core-dev,
x11proto-fonts-dev,
x11proto-xinerama-dev,
commit ed2b1ec88480f9e7e18bd24cbb9144fff21a1e02
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Aug 1 01:30:08 2011 +0200
Bump changelogs
diff --git a/ChangeLog b/ChangeLog
index 7128372..66295b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,2477 @@
+commit 7976f5144d42a03ccd027908252a600db2631054
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Jul 30 09:21:36 2011 +0100
+
+ NEWS: 2.15.901 snapshot
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 2cfb703bbe7ec043d443452f4fa94f06b1ff7266
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Jul 30 09:23:22 2011 +0100
+
+ Fix typos for distcheck
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 6f919264da69ed8bce6f2573629d89962a670783
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Jul 30 09:00:06 2011 +0100
+
+ sna: Mark the stencil as untiled
+
+ In reality, Mesa will be treating it as W-tiling, only we have no way of
+ communicating that requirement to the kernel (as not only does the
+ kernel not understand W-tiling, but also the GTT is incapable of fencing
+ a W-tiled region.).
+
+ Ported from Chad Versace's 3e55f3e88.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 326a84e832c43cc200a32e091b4e60b8b6a4a7c8
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Jul 22 11:10:26 2011 +0100
+
+ sna: Port IVB acceleration code (Xrender + Xv)
+
+ Based on the superlative work by Kenneth Graunke and Xiang, Haihao.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 10790921570fea21d6b2bcc07a0204ef315c9182
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Jul 30 08:46:19 2011 +0100
+
+ sna: Include the pixmap size in the debug info for moving to cpu
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 5691c8cdec2a5264b8552f096b4a34b97afe4ae5
+Author: Kenneth Graunke <kenneth@whitecape.org>
+Date: Thu Jul 14 10:14:53 2011 -0700
+
+ render: Enable RENDER acceleration on Ivybridge.
+
+ Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
+ Acked-by: Eric Anholt <eric@anholt.net>
+ Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 0d92612b2a2782f80196a08eb9a17af906169f18
+Author: Kenneth Graunke <kenneth@whitecape.org>
+Date: Thu Jul 14 00:30:09 2011 -0700
+
+ render: Update pixel shader state for Ivybridge.
+
+ Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
+ Acked-by: Eric Anholt <eric@anholt.net>
+ Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 7460ee73d1fd22e6b02ce125f11ac38efff743ce
+Author: Kenneth Graunke <kenneth@whitecape.org>
+Date: Thu Jul 14 00:16:54 2011 -0700
+
+ render: Use Ivybridge variants for 3D pipeline setup.
+
+ Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
+ Acked-by: Eric Anholt <eric@anholt.net>
+ Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit e3a09608716c1dee2554e8fc26d6f77aeec684bd
+Author: Kenneth Graunke <kenneth@whitecape.org>
+Date: Thu Jul 14 00:04:31 2011 -0700
+
+ render: Refactor to use newly shared pipeline setup code in i965_3d.c.
+
+ Slightly generalize the shared SF and CC code to accomodate both.
+
+ Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
+ Acked-by: Eric Anholt <eric@anholt.net>
+ Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 682a690bfeeabae710b1392282163eab35b58eed
+Author: Kenneth Graunke <kenneth@whitecape.org>
+Date: Wed Jul 13 22:52:52 2011 -0700
+
+ Xv: Refactor out pipeline setup functions for future reuse in render.
+
+ While we're at it, make the functions simply take an intel_screen_private
+ pointer directly instead of having to fetch it from ScrnInfoPtr.
+
+ Also coalesce some gen6/gen7 functions that were 98% identical.
+
+ Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
+ Acked-by: Eric Anholt <eric@anholt.net>
+ Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 54b3222658a285d26b7800bdc5f8343c918a804e
+Author: Kenneth Graunke <kenneth@whitecape.org>
+Date: Wed Jul 13 22:27:37 2011 -0700
+
+ render: Update 3DPRIMITIVE for Ivybridge.
+
+ Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
+ Acked-by: Eric Anholt <eric@anholt.net>
+ Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 4e491a1f6d7a15009904cb79e2c0b13cf2d9d6ec
+Author: Kenneth Graunke <kenneth@whitecape.org>
+Date: Wed Jul 13 22:19:21 2011 -0700
+
+ render: Set Address Modify Enable in 3DSTATE_VERTEX_BUFFERS on Gen7.
+
+ Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
+ Acked-by: Eric Anholt <eric@anholt.net>
+ Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 2787cd66f0d2907110f774392370537df63a96fa
+Author: Kenneth Graunke <kenneth@whitecape.org>
+Date: Wed Jul 13 22:10:17 2011 -0700
+
+ render: Update SAMPLER_STATE for Ivybridge.
+
+ Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
+ Acked-by: Eric Anholt <eric@anholt.net>
+ Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 1a7e541d0d33727953fa69f1e29fa4eda665a0d9
+Author: Kenneth Graunke <kenneth@whitecape.org>
+Date: Wed Jul 13 21:53:27 2011 -0700
+
+ render: Update SURFACE_STATE for Ivybridge.
+
+ Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
+ Acked-by: Eric Anholt <eric@anholt.net>
+ Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 07cc488bcf3f7653cd54928e3cedb1f4f102c5e0
+Author: Kenneth Graunke <kenneth@whitecape.org>
+Date: Sat Jul 9 01:36:52 2011 -0700
+
+ render: New Ivybridge assembly programs for render acceleration.
+
+ These are exactly the same as the ones for Sandybridge, but with message
+ registers translated (hopefully) in the same way as Haihao's new
+ programs (m1 == g65).
+
+ Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
+ Acked-by: Eric Anholt <eric@anholt.net>
+ Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 1b9e82b4b59dd50c1b057f58d71d5c04dcc648a7
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Jul 26 08:29:36 2011 +0100
+
+ sna: Revert enabling scan-line wait on SNB
+
+ Hanging the machine does indeed prevent video tearing. Just not quite
+ what the user expected...
+
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=39497
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 6dbbb74bde034f5f00aee0396ccd1e03a6625fbd
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Jul 16 14:05:54 2011 +0100
+
+ sna: Enable gen6 scan-line waiting
+
+ The code was ready and waiting, just forgot to turn it on.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 3e55f3e88b40471706d5cd45c4df4010f8675c75
+Author: Chad Versace <chad@chad-versace.us>
+Date: Mon Jul 18 00:38:00 2011 -0700
+
+ dri: Do not tile stencil buffer
+
+ Until now, the stencil buffer was allocated as a Y tiled buffer, because
+ in several locations the PRM states that it is. However, it is actually
+ W tiled. From the PRM, 2011 Sandy Bridge, Volume 1, Part 2, Section
+ 4.5.2.1 W-Major Format:
+ W-Major Tile Format is used for separate stencil.
+
+ The GTT is incapable of W fencing, so we allocate the stencil buffer with
+ I915_TILING_NONE and decode the tile's layout in software.
+
+ This commit mutually depends on the mesa commit:
+ intel: Fix stencil buffer to be W tiled
+ Author: Chad Versace <chad@chad-versace.us>
+ Date: Mon Jul 18 00:37:45 2011 -0700
+
+ Signed-off-by: Chad Versace <chad@chad-versace.us>
+ Reviewed-by: Ian Romanick <ian.romanick@intel.com>
+ Acked-by: Kenneth Graunke <kenneth@whitecape.org>
+
+commit 212fa9868767637e8f430485eeb522c99e63fd16
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Jul 13 21:11:14 2011 +0100
+
+ Disable adding normal RTF modes for an eDP
+
+ This is causing a hard hang with 2.6.39+, we don't know why so play safe
+ and disable for the time being.
+
+ References: https://bugs.freedesktop.org/show_bug.cgi?id=38012
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 7a695c9f6b919eba8785d62094526762ba2a0449
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Jul 13 10:57:13 2011 +0100
+
+ sna: Fast-path single span boxes
+
+ These are very common when compositing unclipped trapezoids, and the
+ majority of the overhead is in handling the arbitrary number of boxes
+ and misses out on the constant folding the compiler can do if it is
+ known we have just one box.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 0190964906ad878d469d6021c10cde4e7f5799c3
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Jul 13 10:26:44 2011 +0100
+
+ sna/damage: Avoid testing against a completey damaged region
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit b929717c89352d4b47dc2b9ce58e26fbbf327201
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Jul 13 09:49:09 2011 +0100
+
+ sna/gen3: Tune emit_spans_primitive_constant
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit fbdbfaf38d4da5204750d91cf5a3f43307a6ac33
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Jul 13 17:38:41 2011 +0100
+
+ sna/glyphs: Discard GLYPH_PICTURE hint if the glyph doesn't fit into the cache
+
+ If the glyph is too big to fit into the cache, than ideally we do want
+ to keep an associated GPU bo around for future use. As it is too large
+ to fit into the cache, it of reasonable size and there is little wastage
+ in allocating indiviual GPU bo for each oversized glyph.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 12f52530db1727e2f835e55dc922e5efaf4d3a16
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Jul 13 17:38:22 2011 +0100
+
+ sna: Add some extra debugging to the texture upload fallback paths
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit a861094c23b5f0df7b889bcc03904e32c4c2c6be
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Jul 12 20:17:00 2011 +0100
+
+ sna/dri: Fix a couple of typos
+
+ Somehow these were lost in the rebasing.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit c221d0356db57c10f5d29ca17fdf592724b35385
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Jul 12 15:39:42 2011 +0100
+
+ sna/dri: Remove the unused id/type members for Resource tracking
+
+ ...and reduce it to a simple list.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 644b1a903301531e1fb59f27952c15e87888c4c6
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Jul 12 11:50:24 2011 +0100
+
+ dri: Always initialise resource members of DRI2FrameEvent
+
+ As we now attempt to always decouple the lists upon freeing the frame
+ event, we need to initialise them along all code paths.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 32f42358140ee812984149ae52b0df3dfd1778c3
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Jul 11 20:29:53 2011 +0100
+
+ sna/dri: Add some simple debugging
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit a46598220ebf5d4e629e1e0a7baf47ce144ed2c8
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Jul 11 14:40:30 2011 +0100
+
+ sna/dri: Refactor common code for assigning a pixmap to the DRI2 buffer
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 7538be3315b8683b05e8f6b22023baadcc0bc4da
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Jul 11 10:50:36 2011 +0100
+
+ dri: Enable triple-bufferred pageflips
+
+ By popular demand.
+
+ Triple-buffering trade-offs output latency versus jitter. By having a
+ pre-rendered frame ready to swap in following a pageflip, we avoid the
+ scenario where the latency between receiving the flip complete signal
+ from the kernel, waking up the vsynced application, it render the new
+ frame and then for the server to process the swap request is greater
+ than the frame interval, causing us to miss the vblank. The result is
+ that application can become frame-locked to 30fps. Instead, we report to
+ the application that the first frame swap is immediately completed,
+ supply a new back buffer (or else the rendering would be blocked on
+ waiting for the front-buffer to be swapped away from the scanout) and
+ let them proceed to render the second frame. The second frame is added
+ to the swap queue, and the client throttled to vrefresh. (If the client
+ missed the vblank, the swap queue is empty and the client is immediately
+ woken again, whilst the pageflip is pending.)
+
+ Note, for practical reasons this only applies to page-flipping, for
+ example, calls to glXSwapBuffer() on fullscreen applications.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 2608a367acba7247e50754c3daeed09ba2e97d05
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Jul 11 16:28:15 2011 +0100
+
+ dri: Prevent abuse of the Resource database
+
+ The Resource database is only designed to store a single value for a
+ particular type associated with an XID. Due to the asynchronous nature
+ of the vblank/flip requests, we would often associate multiple frame
+ events with a particular drawable/client. Upon freeing the resource, we
+ would not necessarily decouple the right value, leaving a stale pointer
+ behind. Later when the client disappeared, we would write through that
+ stale pointer upsetting valgrind and causing memory corruption. MDK.
+
+ Instead, we need to implement an extra layer for tracking multiple
+ frames within a single Resource.
+
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37700
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit ab1000821ae881a301fb0e1f2210493ec383e681
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Jul 9 19:44:26 2011 +0100
+
+ dri: Remove the shadow copy of attachment
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 9f22ea7ca440c788f8104647356393c96c62d155
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Jul 9 14:54:33 2011 +0100
+
+ sna: Clamp results for computing BoxRec coords from xRectangle
+
+ As the width/height in the rectangle is specified as uint16_t, the
+ result may be larger than is storagable in the int16_t of the box. Of
+ course it would take a really inane client to do attempt to draw
+ something much larger than the largest possible surface... Is it strange
+ that first example I've found to do so is a Java application?
+
+ Reported-by: Nicolas Kalkhof <nkalkhof@web.de>
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit f4c5dc88171435aa04a5d99372913120cdafe92b
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Jul 9 14:17:24 2011 +0100
+
+ sna/accel: Fix fallback for depth=1 copy
+
+ A little carelessness with passing down the offsets caused us to
+ incorrectly copy depth=1 bitmaps, as exemplified by gkrellm.
+
+ Reported-by: Nicolas Kalkhof <nkalkhof@web.de>
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 649ebcef0938c7cde4f3172a639d39488454999a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Jul 8 17:44:58 2011 +0100
+
+ sna: A buffer only needs a flush if it remains dirty at the end of the batch
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 625e37b317e4d237bdc9f80d7ab86b5d2badddc7
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Jul 8 18:58:32 2011 +0100
+
+ sna/gen3: So we also need to ensure stippling is cleared...
+
+ My theory that we used nothing that invoked polygon stippling proved
+ baseless.
+
+ Fixes regression from 3b5971bd2359383cb8326702d80e03bc15d34c69
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 1e2cae0ab339e477929e429f8ff31b11fcaf2cbf
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Jul 8 09:54:43 2011 +0100
+
+ sna/gen3: Restore disabling the use of stencil/fog in the invariant
+
+ One cleanup too far causing spurious results after rebooting. We also
+ need to ensure that the writemask is fully enabled (ie not disabled)
+ as well.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit ec3dd64e739c4c2bbd8141de5275fe8a90f24a57
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Jul 8 00:17:27 2011 +0100
+
+ sna/dri: Enable chaining of page-flips
+
+ Trade off extra frames of latency for extra frames of anti-jitter
+ buffering and loss of completion information; compiz users rejoice.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit a32694b0f07e35c22dd83bcfb828196d5d86628e
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Jul 7 23:11:39 2011 +0100
+
+ sna/dri: Remove redundant NULL check in reference
+
+ The buffer has already been dereferenced by this point...
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit d180c5f5f781f4fa7f747dd7bb8073a20771cd79
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Jul 6 20:19:00 2011 +0100
+
+ sna: Take advantage of the needs_flush tracking on the front buffer
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 0be47f459ba576ed3f93367de18732fb2367357a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Jul 6 13:02:53 2011 +0100
+
+ sna: Check against an execbuffer reference before discarding partials
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit f6573fe7577e00a1d2706dbc39179ab658c021d2
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Jul 6 12:44:08 2011 +0100
+
+ sna: Compute aligned tiled heights for gen2 correctly
+
+ We were underestimating the height of X-tiled surfaces (and less
+ harmfully overestimating the height of Y-tiled surfaces.)
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit d6afd66461ebcdc2e8dcd94b3f46f374d8acf469
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Jul 5 23:12:59 2011 +0100
+
+ sna: Reset unused partial buffers
+
+ Whilst searching for available space on the active partial buffer list,
+ if we discover an unreferenced one, reset its used counter to zero.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 6e7a0c86419bf6c928837f592784333c25d8b27b
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Jul 5 23:05:37 2011 +0100
+
+ sna: Discard unused partial buffers
+
+ If we allocate a partial buffer and then fallback for the operation, the
+ buffer would remain on the partial list waiting for another user.
+ Discard any unused partials at the next batch submission or expiration
+ point.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 3b5971bd2359383cb8326702d80e03bc15d34c69
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Jul 5 22:20:28 2011 +0100
+
+ sna/gen2: Restore invariant ENABLES
+
+ One deletion too many, unnoticed until the next reboot. Besides the
+ failure to disable logic op and enable colour buffer blending which
+ causes a hang if you subsequently try to enable both, you also need
+ to request texture caching...
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 5fa3e73f2c03bcadb87c1760f76f853c22fdba18
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Jul 5 21:38:08 2011 +0100
+
+ sna/gen[23]: Do as the comments suggest and prefer the BLT
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit f749ed618e21b56a36a2feb9b4333ec797ec2ae5
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Jul 5 21:37:02 2011 +0100
+
+ sna: Reduce tiling if pitch is less than a tile_width/height only on pre-G33
+
+ (Note this only applies to 2D pixmaps.)
+
+ The rationale, borne out by experimentation with cairo-perf-trace, is
+ that on the pre-G33 devices we always need a fence region region
+ for tiled surfaces, i.e. at least .5/1MiB in size, and that combined
+ with the smaller GTT on those devices, we loose the benefit of tiling to
+ the excessive GTT thrashing.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit b9de6a98d33db660ffad3f186c2b0ab2aea71ac0
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Jul 5 17:48:11 2011 +0100
+
+ sna: Remove unused aperture_size member
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit fd3bc2af471a3f9a73064cb28818fdd3485cffc7
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Jul 4 16:31:20 2011 +0100
+
+ sna: Clamp object size to the min of 1/4 of the whole GTT or 1/2 the mappable
+
+ ... for those pesky early devices whose GTT was no larger than the AGP
+ aperture.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit d294e41a6a49ddaa6f8d7d5cda266168095fe1f5
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Jul 4 13:45:06 2011 +0100
+
+ sna: Update flush/retirement lists after a implicit flush for mmap
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 3e53b0f3a365c031bfef8d087bcee0ae1c2d2988
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Jul 4 13:44:28 2011 +0100
+
+ sna: Enable relaxed-fencing for gen2 devices
+
+ (Just as dependent upon non-buggy kernels as gen3...)
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 33ddaf54299979e98b196d479f1b2060d9551cc5
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Jul 4 13:43:48 2011 +0100
+
+ sna: Fix gen2 tiled surface sizes
+
+ Actually use the gen2 path for gen2 devices!
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 9eceddf69f78fc79c02ca75ed10b000beeff2033
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Jul 4 13:42:58 2011 +0100
+
+ sna/gen2: fix batch buffer acounting
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 3f80f7edb8c511b94e66159cd59ba9362c3f69a2
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Jul 2 23:16:04 2011 +0100
+
+ sna: Manually set to the GTT domain for mmap
+
+ ...since the kernel no longer does strict coherency.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit f91ee24b2dabb48288d6e81dcdd82191f158e312
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Jul 2 23:05:04 2011 +0100
+
+ sna: Trim number of downsample passes
+
+ If we can fit the entire width or the entire height into the pipeline
+ when downsampling, do so.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 6db93720a73f59a9857a3c5ab260fab8b957813e
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Jul 2 23:04:14 2011 +0100
+
+ sna: Don't change tiling modes on replace
+
+ This was trying to workaround a kernel bug, and instead causes a
+ performance cliff for textures that *need* to be tiled.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 430c905ef306ece8a4cb19091711a9feae74b00b
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Jul 2 18:24:40 2011 +0100
+
+ sna: Force tiled modes for large pitches
+
+ If the surface is so big that the 2x2 texel sampling will cause a TLB
+ miss everytime, i.e. the row pitch exceeeds 4096, then we need to
+ encourage tiling to prevent attrocious performance.
+
+ For example, try downscaling a 2560x1600 background image on a gen3
+ device using I915_TILING_NONE...
+
+ Using slideshow-demo /usr/share/backgrounds/cosmos/whirlpool.jpg, on a
+ PineView netbook, fps goes from under 4 to over 40.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit ae567b783e5af53f17f49dbf58b9be17fcb53737
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Jul 2 00:11:21 2011 +0100
+
+ sna: Finer-grained debugging for trapezoids
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 98f2e3855d70c02b05e2721a70ebce0c17e44283
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Jul 2 09:53:11 2011 +0100
+
+ sna/video: Downgrade severity of "overlay not found" message
+
+ We don't need to warn the user that their hardware does not support the
+ video overlay plane (but Jesse is working on it!), but merely inform
+ them that its presence is lacking.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 01c258718e981f4da949a4e48595a0660d55d66e
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Jul 1 23:17:54 2011 +0100
+
+ sna/gen2: Add missing stub debug files
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 5c8a108d2c99f542372efb1734c96ddd2af6bc76
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Jul 1 21:24:43 2011 +0100
+
+ sna/gen2: Recompute blend pipeline for component-alpha pass
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 121511d3bd63da5eca28edf971aae3d062aed46e
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Jul 1 16:54:28 2011 +0100
+
+ sna/gen2: Pack solid sources into the default diffuse component
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit a303f85c163979276ff13e00b7c56f55b5fd1d07
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Jul 1 16:27:11 2011 +0100
+
+ sna/gen2: Remove unused state from invariant setup
+
+ ... and also some state that gets clobbered when we install the
+ composite pipelines.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 120c98ac10435c8e848a8337c1f544f81a05cd3a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Jul 1 14:55:44 2011 +0100
+
+ sna: Downsample sources 2x too large to fit in the 3D pipeline
+
+ This is quite trivial to hit given the 2k limits on gen2/gen3. We
+ compromise on image quality by pre-downscaling the source by a fixed
+ factor to make it fit into the pipeline in preference to performing the
+ entire operation on the CPU.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit f6c8c3bb6fd75bca6c7704b7d5869a5d44ce3832
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Jul 1 11:17:32 2011 +0100
+
+ sna/gen2: Use specular component for solid spans
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit de14e3c8595f9e315dc3ce23ad15b04e118499f4
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Jul 1 09:58:27 2011 +0100
+
+ sna/gen2: Add missing render fallbacks for blt ops
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit ecbf6bbd27b1205dcf76cfe34ae2a7a3f5ec195a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Jul 1 08:50:58 2011 +0100
+
+ sna/gen2: Implement composite-spans
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit c89b37d7b43c9e588097b7fadcba3bc13a03f8bc
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Jun 30 17:53:49 2011 +0100
+
+ sna: Mappable aperture is region 0 on gen2
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit c0434ab49035bf278dad6f5f84a541ea58536fb4
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Jun 30 16:31:28 2011 +0100
+
+ sna: Distinguish 830/845 vs 855/865 using the generation id
+
+ Remove the PCI ID device checks by using the simpler check on the
+ generation id for errata pertaining to 830/845.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 18d08e49d270b7a05f14a309759c9315e5ab9679
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Jun 28 20:25:46 2011 +0100
+
+ uxa/glyphs: Fallback instead of crashing on large strings
+
+ Not ideal, but being slow is a major improvement over losing data.
+
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36860
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 95866bd6bdaeb612732fd43ec1b93e088763086e
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Jun 27 21:07:22 2011 +0100
+
+ sna/video: Use EXTEND_PAD to avoid mixing in the border color
+
+ ...which is 0 and appears green around an unaligned YUV-video.
+
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38723
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 7446b39f04306ae2ffccdfe8dd6c8bda64a27043
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Jun 27 15:26:49 2011 +0100
+
+ sna: Disable XVideo using the TexturedAdapter if the GPU is wedged
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 44cd6ebf43aa5b7f23c03629a11cdf83b6e96e3a
Reply to: