xserver-xorg-video-intel: Changes to 'debian-unstable'
ChangeLog | 2500 ++++++++++++++++
Makefile.am | 4
NEWS | 43
configure.ac | 114
debian/changelog | 12
debian/control | 2
man/intel.man | 30
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 | 479 ++-
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, 66785 insertions(+), 1504 deletions(-)
New commits:
commit e97d7c18b3ccddcc32929f1e857ecaa281f49710
Author: Cyril Brulebois <kibi@debian.org>
Date: Sun Aug 28 13:15:29 2011 +0200
Upload to unstable.
diff --git a/debian/changelog b/debian/changelog
index 0f6dd1e..cf8f68c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
-xserver-xorg-video-intel (2:2.16.0-1) UNRELEASED; urgency=low
+xserver-xorg-video-intel (2:2.16.0-1) unstable; urgency=low
* New upstream release.
- -- Cyril Brulebois <kibi@debian.org> Sat, 27 Aug 2011 18:55:06 +0200
+ -- Cyril Brulebois <kibi@debian.org> Sun, 28 Aug 2011 13:15:24 +0200
xserver-xorg-video-intel (2:2.15.901-1) experimental; urgency=low
commit a93a3e8335e40050d6d1043be7c7e7e21e7e8deb
Author: Cyril Brulebois <kibi@debian.org>
Date: Sat Aug 27 18:55:22 2011 +0200
Bump changelogs.
diff --git a/ChangeLog b/ChangeLog
index 66295b1..8e1407f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,29 @@
+commit 3a81bb6bafdbd37802dab96b8f05173ec6701d7f
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Aug 9 09:42:40 2011 +0100
+
+ NEWS: 2.16.0 release
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit f4bbbd1dfe59031f864c7d2bbf7bb0252a3aa6a7
+Author: Edward Sheldrake <ejsheldrake@gmail.com>
+Date: Mon Aug 1 14:46:08 2011 +0100
+
+ Fix man page formatting
+
+ Two option sections were not starting at the beginning of a new line.
+
+commit 63518c42234001ec96f638af5732c09079a3d682
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Aug 1 13:36:28 2011 +0100
+
+ dri: Build fix for xserver-1.7.7
+
+ Back in the olden days before the introduction of dixRegisterPrivate().
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
commit 7976f5144d42a03ccd027908252a600db2631054
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Sat Jul 30 09:21:36 2011 +0100
diff --git a/debian/changelog b/debian/changelog
index 692093e..0f6dd1e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xserver-xorg-video-intel (2:2.16.0-1) UNRELEASED; urgency=low
+
+ * New upstream release.
+
+ -- Cyril Brulebois <kibi@debian.org> Sat, 27 Aug 2011 18:55:06 +0200
+
xserver-xorg-video-intel (2:2.15.901-1) experimental; urgency=low
* Re-enable XvMC.
commit 3a81bb6bafdbd37802dab96b8f05173ec6701d7f
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Tue Aug 9 09:42:40 2011 +0100
NEWS: 2.16.0 release
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
diff --git a/NEWS b/NEWS
index 4192e9d..46d0d24 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,14 @@
+Release 2.16.0 (2011-08-09)
+==============================
+A new quarter, a new release! The key feature of this release, looking past
+the bug fixes, is the enabling of IvyBridge acceleration. We have also fixed
+many bugs and graphical glitches and would encourage everyone to upgrade.
+
+Bugs fixed in this snapshot (compared to 2.15.901)
+--------------------------------------------------
+
+* Build fix for xserver-1.7.7
+
Snapshot 2.15.901 (2011-07-30)
==============================
This is the first release candidate in preparation for the upcoming
diff --git a/configure.ac b/configure.ac
index b6091a8..fbd46a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
# Initialize Autoconf
AC_PREREQ([2.63])
AC_INIT([xf86-video-intel],
- [2.15.901],
+ [2.16.0],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
[xf86-video-intel])
AC_CONFIG_SRCDIR([Makefile.am])
commit f4bbbd1dfe59031f864c7d2bbf7bb0252a3aa6a7
Author: Edward Sheldrake <ejsheldrake@gmail.com>
Date: Mon Aug 1 14:46:08 2011 +0100
Fix man page formatting
Two option sections were not starting at the beginning of a new line.
diff --git a/man/intel.man b/man/intel.man
index 282b9f3..f74ee80 100644
--- a/man/intel.man
+++ b/man/intel.man
@@ -228,11 +228,13 @@ lag too far behind the CPU and thus noticeable delays in user responsible at
the cost of throughput performance.
.IP
Default: enabled.
+.TP
.BI "Option \*qHotPlug\*q \*q" boolean \*q
This option controls whether the driver automatically notifies
applications when monitors are connected or disconnected.
.IP
Default: enabled.
+.TP
.BI "Option \*qZaphodHeads\*q \*q" string \*q
.IP
Specify the randr output(s) to use with zaphod mode for a particular driver
commit 63518c42234001ec96f638af5732c09079a3d682
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Mon Aug 1 13:36:28 2011 +0100
dri: Build fix for xserver-1.7.7
Back in the olden days before the introduction of dixRegisterPrivate().
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
diff --git a/src/intel_dri.c b/src/intel_dri.c
index 90f9b8f..1227dbb 100644
--- a/src/intel_dri.c
+++ b/src/intel_dri.c
@@ -71,7 +71,11 @@ typedef struct {
PixmapPtr pixmap;
} I830DRI2BufferPrivateRec, *I830DRI2BufferPrivatePtr;
+#if HAS_DEVPRIVATEKEYREC
static DevPrivateKeyRec i830_client_key;
+#else
+static int i830_client_key;
+#endif
static uint32_t pixmap_flink(PixmapPtr pixmap)
{
@@ -705,7 +709,11 @@ i830_dri2_register_frame_event_resource_types(void)
static XID
get_client_id(ClientPtr client)
{
+#if HAS_DIXREGISTERPRIVATEKEY
XID *ptr = dixGetPrivateAddr(&client->devPrivates, &i830_client_key);
+#else
+ XID *ptr = dixLookupPrivate(&client->devPrivates, &i830_client_key);
+#endif
if (*ptr == 0)
*ptr = FakeClientID(client->index);
return *ptr;
@@ -1480,8 +1488,13 @@ Bool I830DRI2ScreenInit(ScreenPtr screen)
return FALSE;
}
+#if HAS_DIXREGISTERPRIVATEKEY
if (!dixRegisterPrivateKey(&i830_client_key, PRIVATE_CLIENT, sizeof(XID)))
return FALSE;
+#else
+ if (!dixRequestPrivate(&i830_client_key, sizeof(XID)))
+ return FALSE;
+#endif
#if DRI2INFOREC_VERSION >= 4
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>
Reply to: