.gitignore | 1 ChangeLog | 2649 ++++++ NEWS | 35 configure.ac | 34 debian/changelog | 20 debian/control | 1 debian/patches/0001-Fix-build-failure-when-passing-with-builderstring.patch | 33 debian/patches/series | 2 debian/rules | 8 man/intel.man | 2 src/i965_reg.h | 4 src/i965_render.c | 71 src/intel.h | 9 src/intel_batchbuffer.c | 50 src/intel_dri.c | 13 src/intel_driver.c | 7 src/intel_module.c | 4 src/intel_uxa.c | 28 src/intel_video.c | 38 src/legacy/i810/Makefile.am | 1 src/legacy/i810/i810.h | 14 src/legacy/i810/i810_cursor.c | 19 src/legacy/i810/i810_driver.c | 21 src/legacy/i810/i810_io.c | 133 src/legacy/i810/xvmc/I810XvMC.c | 2 src/sna/Makefile.am | 8 src/sna/compiler.h | 43 src/sna/gen2_render.c | 982 +- src/sna/gen3_render.c | 781 + src/sna/gen4_render.c | 281 src/sna/gen5_render.c | 397 src/sna/gen5_render.h | 47 src/sna/gen6_render.c | 371 src/sna/gen7_render.c | 324 src/sna/gen7_render.h | 4 src/sna/kgem.c | 502 - src/sna/kgem.h | 56 src/sna/kgem_debug.c | 14 src/sna/kgem_debug_gen2.c | 631 + src/sna/kgem_debug_gen3.c | 1 src/sna/sna.h | 64 src/sna/sna_accel.c | 4316 ++++++++-- src/sna/sna_blt.c | 741 + src/sna/sna_composite.c | 87 src/sna/sna_damage.c | 666 + src/sna/sna_damage.h | 57 src/sna/sna_display.c | 27 src/sna/sna_dri.c | 110 src/sna/sna_driver.c | 22 src/sna/sna_glyphs.c | 101 src/sna/sna_gradient.c | 67 src/sna/sna_io.c | 33 src/sna/sna_reg.h | 6 src/sna/sna_render.c | 139 src/sna/sna_render.h | 60 src/sna/sna_render_inline.h | 8 src/sna/sna_tiling.c | 27 src/sna/sna_trapezoids.c | 4198 +++++++-- src/sna/sna_video.c | 12 src/sna/sna_video_textured.c | 19 src/xvmc/i965_xvmc.c | 2 src/xvmc/intel_batchbuffer.h | 1 src/xvmc/intel_xvmc.c | 2 src/xvmc/xvmc_vld.c | 2 64 files changed, 14792 insertions(+), 3616 deletions(-)
New commits: commit f94f9f95843b5aeb127208c32a064959016cfaac Author: Cyril Brulebois <k...@debian.org> Date: Mon Nov 7 23:33:07 2011 +0100 Upload to experimental. diff --git a/debian/changelog b/debian/changelog index b905266..486b177 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -xserver-xorg-video-intel (2:2.16.901-1) UNRELEASED; urgency=low +xserver-xorg-video-intel (2:2.16.901-1) experimental; urgency=low * New upstream release candidate: - A couple of critical stability fixes for SandyBridge and IvyBridge. @@ -10,7 +10,7 @@ xserver-xorg-video-intel (2:2.16.901-1) UNRELEASED; urgency=low * Add 0001-Fix-build-failure-when-passing-with-builderstring.patch accordingly. - -- Cyril Brulebois <k...@debian.org> Mon, 07 Nov 2011 22:43:36 +0100 + -- Cyril Brulebois <k...@debian.org> Mon, 07 Nov 2011 23:32:52 +0100 xserver-xorg-video-intel (2:2.16.0-1) unstable; urgency=low commit 9cfc88794c49bc09f947d41362925ea871b3c34f Author: Cyril Brulebois <k...@debian.org> Date: Mon Nov 7 23:32:26 2011 +0100 Fix build failure with --with-builderstring + sna. diff --git a/debian/changelog b/debian/changelog index 282c1d7..b905266 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,8 @@ xserver-xorg-video-intel (2:2.16.901-1) UNRELEASED; urgency=low * Pass --with-builderstring. At the moment, it's only needed when enabling SNA (which we don't, following upstream's default), but let's do that right now. + * Add 0001-Fix-build-failure-when-passing-with-builderstring.patch + accordingly. -- Cyril Brulebois <k...@debian.org> Mon, 07 Nov 2011 22:43:36 +0100 diff --git a/debian/patches/0001-Fix-build-failure-when-passing-with-builderstring.patch b/debian/patches/0001-Fix-build-failure-when-passing-with-builderstring.patch new file mode 100644 index 0000000..fab9cab --- /dev/null +++ b/debian/patches/0001-Fix-build-failure-when-passing-with-builderstring.patch @@ -0,0 +1,33 @@ +From 6cb8b4b52169f32f93f73493a5f87324877196cf Mon Sep 17 00:00:00 2001 +From: Cyril Brulebois <k...@debian.org> +Date: Mon, 7 Nov 2011 23:27:09 +0100 +Subject: [PATCH] Fix build failure when passing --with-builderstring. + +If --with-builderstring="foo" is passed to configure (and sna enabled): + CC sna_driver.lo +src/sna/sna_driver.c: In function 'sna_init_scrn': +src/sna/sna_driver.c:1023:7: error: token ""foo"" is not valid in preprocessor expressions + +Fix the missing defined() around the BUILDER_DESCRIPTION variable. + +Signed-off-by: Cyril Brulebois <k...@debian.org> +--- + src/sna/sna_driver.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c +index 83abdb3..767cd2c 100644 +--- a/src/sna/sna_driver.c ++++ b/src/sna/sna_driver.c +@@ -1020,7 +1020,7 @@ void sna_init_scrn(ScrnInfoPtr scrn, int entity_num) + #if defined(USE_GIT_DESCRIBE) + xf86DrvMsg(scrn->scrnIndex, X_INFO, + "SNA compiled from %s\n", git_version); +-#elif BUILDER_DESCRIPTION ++#elif defined(BUILDER_DESCRIPTION) + xf86DrvMsg(scrn->scrnIndex, X_INFO, + "SNA compiled: %s\n", BUILDER_DESCRIPTION); + #endif +-- +1.7.7.1 + diff --git a/debian/patches/series b/debian/patches/series index fdffa2a..3569ab4 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1 @@ -# placeholder +0001-Fix-build-failure-when-passing-with-builderstring.patch commit 32dc243efab3db9913b6958b33e50dae7984e7f2 Author: Cyril Brulebois <k...@debian.org> Date: Mon Nov 7 23:05:34 2011 +0100 Document the upstream release candidate. diff --git a/debian/changelog b/debian/changelog index e4761c2..282c1d7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ xserver-xorg-video-intel (2:2.16.901-1) UNRELEASED; urgency=low - * New upstream release candidate. + * New upstream release candidate: + - A couple of critical stability fixes for SandyBridge and IvyBridge. * Add a libpixman-1-dev build-dep: 0.16 is enough for a regular build, but enabling SNA would pull 0.23. * Pass --with-builderstring. At the moment, it's only needed when commit 1c4f4066c7a267b7954122223d547a1e6f21d621 Author: Cyril Brulebois <k...@debian.org> Date: Mon Nov 7 23:01:03 2011 +0100 Pass --with-builderstring. diff --git a/debian/changelog b/debian/changelog index 604646c..e4761c2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,9 @@ xserver-xorg-video-intel (2:2.16.901-1) UNRELEASED; urgency=low * New upstream release candidate. * Add a libpixman-1-dev build-dep: 0.16 is enough for a regular build, but enabling SNA would pull 0.23. + * Pass --with-builderstring. At the moment, it's only needed when + enabling SNA (which we don't, following upstream's default), but let's + do that right now. -- Cyril Brulebois <k...@debian.org> Mon, 07 Nov 2011 22:43:36 +0100 diff --git a/debian/rules b/debian/rules index cfa32f5..8dc96fd 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,13 @@ #!/usr/bin/make -f +SOURCE_NAME := xserver-xorg-video-intel +SOURCE_VERSION := $(shell dpkg-parsechangelog | awk -F': ' '/^Version: / {print $$2}') +BUILDER := $(shell dpkg-parsechangelog | awk -F': ' '/^Maintainer: / {print $$2}') + +# Borrowed from the server (see 72ca1fdf2f for reference): +override_dh_auto_configure: + dh_auto_configure -- --with-builderstring="$(SOURCE_NAME) $(SOURCE_VERSION) ($(BUILDER))" + # Install in debian/tmp to retain control through dh_install: override_dh_auto_install: dh_auto_install --destdir=debian/tmp commit 754b0f62c4ef605a327e58f1b56d47a18ad05fe4 Author: Cyril Brulebois <k...@debian.org> Date: Mon Nov 7 22:57:25 2011 +0100 Add Add a libpixman-1-dev build-dep. diff --git a/debian/changelog b/debian/changelog index 2ff55a6..604646c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ xserver-xorg-video-intel (2:2.16.901-1) UNRELEASED; urgency=low * New upstream release candidate. + * Add a libpixman-1-dev build-dep: 0.16 is enough for a regular build, + but enabling SNA would pull 0.23. -- Cyril Brulebois <k...@debian.org> Mon, 07 Nov 2011 22:43:36 +0100 diff --git a/debian/control b/debian/control index 89bc58f..f34f725 100644 --- a/debian/control +++ b/debian/control @@ -21,6 +21,7 @@ Build-Depends: x11proto-gl-dev, libgl1-mesa-dev | libgl-dev, libpciaccess-dev (>= 0.8.0+git20071002), + libpixman-1-dev (>= 0.16), # following are only needed for xvmc: x11proto-dri2-dev, libxvmc-dev (>= 1:1.0.1), commit 03d0628410af390cc234584567c3953acb653351 Author: Cyril Brulebois <k...@debian.org> Date: Mon Nov 7 22:43:59 2011 +0100 Bump changelogs. diff --git a/ChangeLog b/ChangeLog index 8e1407f..aafac95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,2626 @@ +commit 7237374a03d1e0c2e6c0b2d0eb42afc8df25df0d +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Oct 30 16:46:10 2011 +0000 + + configure: Bump version to 2.16.901 + +commit 0a78a75e75225d89e465804c482a667840a2c8de +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Oct 30 16:45:46 2011 +0000 + + NEWS: Add release notes for 2.16.901 + +commit c7552cb819ae8c90975193c159236e0070628dd9 +Author: Daniel Vetter <daniel.vet...@ffwll.ch> +Date: Sun Oct 30 16:35:14 2011 +0100 + + i810: kill mmio vga access helpers + + Signed-Off-by: Daniel Vetter <daniel.vet...@ffwll.ch> + +commit e8b8adeab3b2e69a8684217271604a5f658f617d +Author: Daniel Vetter <daniel.vet...@ffwll.ch> +Date: Sun Oct 30 16:34:05 2011 +0100 + + i810: use vgahw functions instead of roll-your-own + + Signed-off-by: Daniel Vetter <daniel.vet...@ffwll.ch> + +commit 4aeea489ed3189d7ebcae4199153c1ae736ebf68 +Author: Daniel Vetter <daniel.vet...@ffwll.ch> +Date: Sun Oct 30 16:07:45 2011 +0100 + + i810: rip out PIO access functions + + All the io done at init time is already converted to libpciaccess + + Signed-Off-by: Daniel Vetter <daniel.vet...@ffwll.ch> + +commit e735636194671e221eca3e86b9bd06fd0d4b6c5a +Author: Daniel Vetter <daniel.vet...@ffwll.ch> +Date: Sun Oct 30 15:51:49 2011 +0100 + + i810: kill dead i830 defines + + Signed-Off-by: Daniel Vetter <daniel.vet...@ffwll.ch> + +commit bb840ee09fa620648065884306fbe3e0da37ad77 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Oct 30 16:13:04 2011 +0000 + + sna: Convert PolyRectangles to use Box32 + + For the same overflow protection. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit af52e234a78bbde964a93ef8cce21f41a5c959f3 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Oct 30 15:34:34 2011 +0000 + + sna: Fix compilation + + Remember to drink coffee and compile "obvious" fixes before pushing. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 23b314729c43101e515e2625db2a2401c72c2596 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Oct 30 15:24:21 2011 +0000 + + sna: Rewrite box32_add_rect() to enable int32_t promotion + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 427622aca31b7463eb2dcd52e352dc8997e84baa +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Oct 30 12:02:42 2011 +0000 + + sna: Push overflow detection to the end of extents + + Removes a couple of conditionals from the middle of the hotpath and on + Intel we are not realising the benefit of only utilising 16-bit values. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 2d3aba8518ae790325c6123dacc3ce73b6e91cbd +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Oct 30 11:22:26 2011 +0000 + + Revert "sna: Don't flush the render caches if in the process of writing again" + + This reverts commit 15266e1b9500f6b348661c60d1982bde911f2d0e. + + KDE relies upon the ability to render into a sampler and then render + upon itself. Not the first sign of madness... + + Will have to find another way of winning back the compwinwin + performance. + +commit d4062705178856cffc83030fa40f758e9d884566 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Oct 30 10:40:32 2011 +0000 + + sna/composite: Fix incorrect operator reduction for RenderFillRectangles + + As exemplified by KDE (using Kate) on gen3, it would attempt to render a + large set of boxes using OVER and a transparent colour. As gen3 copied + across some of the BLT assumptions, it was incorrectly reducing that to + a CLEAR and thus rendering incorrectly. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit da3f8656744f7c801608c7c89a859c0f7dc9e6e0 +Author: Jeremy Huddleston <jerem...@apple.com> +Date: Sat Oct 29 20:15:11 2011 -0700 + + Use malloc/calloc/realloc/free directly + + Signed-off-by: Jeremy Huddleston <jerem...@apple.com> + +commit 17ba07a7befc7f442ae1c917a087ac026516d886 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Oct 29 20:03:37 2011 +0100 + + sna/gen3: Set the src flags for fill + + A regression from c2040fb8e62076d87f7a5b407505ee3f3482945e (sna: Remove + the memset(0) of the fill op) left the flags for the source channel + uninitalised leaving the shader construction undefined and causing + visual glitches. + + Reported-by: Paul Neumann <paul1...@yahoo.de> + Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42367 + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 4835fe5b2e19ac456773565399f334845f7442c0 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Oct 29 18:56:29 2011 +0100 + + sna/genX: Improve reduction of Render operator to BLT alu + + This appeared to introduce a visual gitch into the xfce4 selection box + on gen6 at least. + + References: https://bugs.freedesktop.org/show_bug.cgi?id=42367 + Reported-by: Paul Neumann <paul1...@yahoo.de> + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 33383fde55609fb4bd372d2d41a6254799499225 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Oct 29 12:53:15 2011 +0100 + + sna: Tweak PolyRectangle blitting + + A box of height/width 1 and lineWidth 0 can also be drawn with a single + box as the far edge is contiguous with far side of the near edge. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 64a57c8dbec81f6420ff032985237eb16cebfb87 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Oct 29 11:01:51 2011 +0100 + + sna: Further clipping bugs + + Make sure the line is clipped to the current clip box and discard if the + clip is reduced to nothing. + + References: https://bugs.freedesktop.org/show_bug.cgi?id=42361 + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 719626ef7918d5cd69d13f983b8b615aefe215d6 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Oct 29 10:26:08 2011 +0100 + + sna: Increment clip box when short-circuiting the iteration + + Reported-by: nkalk...@web.de + Bugzilla: https://bugs.freedesktop.org/show_bug.cgi + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 32a9e0352a1e28509580d84bfc5377d8fae913c4 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 28 23:14:24 2011 +0100 + + sna: Retire and search inactive again before creating new buffer + + Attempt to retire an active buffer into the inactive cache before giving + up and creating a new buffer. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 15266e1b9500f6b348661c60d1982bde911f2d0e +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 28 18:00:56 2011 +0100 + + sna: Don't flush the render caches if in the process of writing again + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit d3c7ee921172d4898ebdc6e944812a02426008e9 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 28 16:44:16 2011 +0100 + + sna: Faster unclipped rectilinear segments + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 3cd909cfe9e7d7e97a1d51513a049e312fd9ddae +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 28 15:48:49 2011 +0100 + + sna: Call miZeroArcLine where appropriate for GPU paths + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 9921c98df070032e082570f0663f6d3ad0cccd56 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 28 14:09:11 2011 +0100 + + sna: Faster unclipped PolyFillRect + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit c1718f96f520874c1fb2af0eb975c7f548762d34 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 28 14:01:24 2011 +0100 + + sna: Faster unclipped PolyPoint + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit a4762ed891a50238abddf6c762a053db5c34b87f +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 28 13:39:17 2011 +0100 + + sna: Call directly into tiled rects for tiled spans. + + As we already know the extents and that this is a candidate for + GPU-acceleration, we can skip over those steps and emit the tiled rects. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit a02069df2ddc259d65ad468834f7968d283b713f +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 28 11:30:37 2011 +0100 + + sna: Faster unclipped spans + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 48eff1676c4066c8b8e069fd579a1b6fc2329960 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 27 23:30:06 2011 +0100 + + sna/gen2: Reset BLT registers across 2D/3D context switches + + It appears the hardware trashes the BLT registers after a 3D context + switch, so we need to reload. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit f006fac72a733e047b9468704e9c9206f62f96f5 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 27 21:50:25 2011 +0100 + + sna: Fast path typically unclipped tiled rects + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit d6f543011bf3d03b9298b5ceeddfc1fc20fc534b +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 27 20:16:35 2011 +0100 + + sna: Use private identifier for internal scratch pixmaps + + This was meant to be a part of the previous commit. + + These are the scratch pixmaps for which we truly do want to allocate + GPU-only. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 14a065a267523f9a31be07daaab19b67e9f02290 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 27 18:07:53 2011 +0100 + + sna: Create scratch pixmap on the CPU + + Contrary to earlier belief, the only usage of + CREATE_PIXMAP_USAGE_SCRATCH in the dix/mi are either along paths unused + by us or more importantly for operations which are detrimental to create + GPU-only buffers. So create CPU pixmaps instead. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 5d52d5009375618bb703909fa0fad04e6d54a2ba +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 27 17:06:51 2011 +0100 + + sna: Tweak zero line spans to include missing last segment + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 72e00096351137bd7eb0ae91474657a597836252 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 27 16:36:39 2011 +0100 + + sna: Fix advance through clip boxes for fill->boxes + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit c7bd89fb54686c14b687c007e42c34c23423b0fd +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 27 16:23:35 2011 +0100 + + sna: Fix PolyPoint not to always send 512 boxes + + Just emit the remaining boxes! + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit cfd5b7f6ce80af911bfc8b71bba776ea814e307a +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 27 15:28:11 2011 +0100 + + sna: Use fill->boxes to pack PolyFillRectangle + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 8d304f47e35be344550f389158eac3d4c21d9440 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 27 14:43:46 2011 +0100 + + sna: Use fill->boxes for rectilinear blits + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 5d51ff0cf901b808c3cd5aea761d51e6d15b73bf +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 27 13:57:59 2011 +0100 + + sna: Clip PolyLines to the current clip box + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 990043f6b8cf8e580aad2e52f8d236a6aec838b5 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 27 12:33:55 2011 +0100 + + sna: Handle singular clip regions for PolyRectangles + + Otherwise X will crash! + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 991582f6678581e3d92c0497e10ecee67536efc2 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 27 09:27:41 2011 +0100 + + sna/io: Update batch mode after submitting partial requests + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 91745de113340c8a281e8cb724b4a7e0b7a0711a +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 27 09:17:50 2011 +0100 + + sna: Further improve use of fill->boxes for PolyRectangle + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit ffe1bdea82c07a2738743855dfa83494531b41aa +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Oct 26 18:37:29 2011 +0100 + + sna/blt: After submitting the batch, it will be empty + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit b34e7454574f36796560955fb9d3d33ca00924d6 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Oct 26 18:11:25 2011 +0100 + + sna/blt: Convert Copy with color 0 into a Clear + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 389241aa6469b2e64a58cc0527e3310fdc69ffb7 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Oct 26 17:50:38 2011 +0100 + + sna: Suppress an overwritten fill + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit baf78fcddb87eba987163485ad8fd227fb244f29 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Oct 26 12:54:13 2011 +0100 + + sna/gen2: Cache the last solid colour for spans + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit ff4715a36999a43cee20cf3474b4ae0af646342c +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Oct 26 12:40:46 2011 +0100 + + sna/composite: Discard opaque masks + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 0079579ebd548fc1b490a42928373507a93229bd +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Oct 26 11:49:53 2011 +0100 + + sna: Fix debug compilation, again. + +commit 5988422455ebb2a3b1cafadc1ff302c35a7a5039 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Oct 26 11:47:45 2011 +0100 + + sna: Handle degenerate copy area whilst wedged + + We want to return early to avoid handing the empty box as the lower code + makes the assumption that it has work to do. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 3fc7cd2dc8e2b9c0d4143a9f6657f84050ae249a +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Oct 23 20:59:50 2011 +0100 + + sna/blt: Rename the composite paths + + Whilst re-reading, I found the old naming scheme slightly muddled and + not nearly as descriptive as it should be. Hopefully this slight tweak + reads better in 6 months time. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 280325900bf3c17c3177f6e3f52236d6b452e0f3 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Oct 23 20:58:48 2011 +0100 + + sna/blt: Share the common fill->boxes between blt and render paths + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 56f65e65204f1ecbad598419e525e69f6179f9c7 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Oct 23 20:40:21 2011 +0100 + + sna: Inline box_intersect() + + Most of this branchy function is spent in manipulating the stack for the + function call, so inline it. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit f65e73f8a3a013e79b753d625f79994408e717f7 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Oct 23 19:55:40 2011 +0100 + + sna: Use fill->boxes to unroll FillSpans + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 94f9cd40dcdd444d3b5a5598deb0f3d04026df3a +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Oct 23 19:11:35 2011 +0100 + + sna: Use fill->boxes to unroll PolyPoint + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 5e08ca75a5eb852c09b9acf6004668bc63f1fe6c +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Oct 23 17:53:54 2011 +0100 + + sna: Use the new fill->boxes for PolyRectangle + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit efdc7985e2f619ca94cf6ad77ead4f6867ceedc5 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Oct 26 14:57:28 2011 +0100 + + self-copy-damage + +commit 0ed3426a810336b666604d34c10f996f318ebf82 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 23:45:28 2011 +0100 + + sna: Convert diagonal zero-width lines into blits + + This is slower than falling back to swrast for x11perf (up to 4x slower + on SNB), it is still faster than doing that rasterisation through a + WC-mapping and much faster in ordinary usage due to avoiding the + readback hit. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit c12371d9e7b3bbff7f318186a0933d6108db0bc8 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 22:28:56 2011 +0100 + + sna: Flatten the branching for fill-spans + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit e7f19d85fead62df21eedc87409b5abacfec4a17 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 22:15:09 2011 +0100 + + sna/blt: Upload the box using a single 64-bit instruction + + So long as we have 64-bit instructions of course! + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 40af32a0e9ed971a1f2c2a45266f32016bda7ed3 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 20:10:02 2011 +0100 + + sna: Execute blits directly for PolyRectangle + + By constructing the batch buffer directly for PolyRectangle, rather than + via miPolyRectangle->(PolyFillRectangle/PolyLine), we dramatically + reduce the CPU overhead and can saturate the GPU. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit a18f559961135fa288dda3b94207abb0b6d4d302 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 16:37:09 2011 +0100 + + sna: Fix debug compilation + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit a3a075201c8e47cfad6ec296b7baf549deb44cb3 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 15:30:52 2011 +0100 + + sna: Treat a bo marked as being last seen on the GPU as requiring a flush + + We are hitting this path upon retiring the old scanout buffer following + a page-flip. We want to treat this as being hot and available for reuse, + so mark it as such until the next retirement pass. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 999d13f32162ce11fe4042825b5b849073944ca8 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 12:43:02 2011 +0100 + + sna: Fast path unclipped points + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit eb80013f4ea50ad4f54b4d1d90c5e9da27e1c34c +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 11:49:55 2011 +0100 + + sna: Fast path for unclipped rectangles + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit d6ae86a51cc49dbba579838edd24a94e8f68294c +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 03:06:20 2011 +0100 + + sna: Optimise reduce_damage() to handle all-damaged pixmaps + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 5b945b85ee938688412df6adfea488766f4656af +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 02:45:50 2011 +0100 + + sna: Fast-path unclipped fill spans + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit e9a193e9803bb69fc4a7e712f33a36ba395b3c89 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 02:20:22 2011 +0100 + + sna: Short-circuit GetWindowPixmap() to speed-up pixmap retrieval + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 662402e41e5c7976002a71a7f961ca97c771b1f3 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 02:11:19 2011 +0100 + + sna: Micro-optimise PolyLine blt + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit c2040fb8e62076d87f7a5b407505ee3f3482945e +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 02:00:44 2011 +0100 + + sna: Remove the memset(0) of the fill op + + The backends are all expected to initialise the state required. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 7e7759db4c1dbf8b782fab9b9ca95cfa1db6cf59 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 01:41:56 2011 +0100 + + sna: Pass a BoxRec to the fill op + + For many of the core drawing routines, passing a BoxRec for the fill is + more convenient since they already have one generated by the clip + intersection. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 98bca2dbb9c33c548b1d9789ddb633ae0389c8f1 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 01:07:52 2011 +0100 + + sna: Check whether we can blt whilst determining the PolyLine extents + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 91f49549750aac99d38ae8f3a132c955a2c8d8f5 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Oct 21 00:42:43 2011 +0100 + + sna: Speed-up blitting of unclipped lines + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 06d7574d7da047a6314be5af27f4ac47ccd5a350 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 20 21:38:30 2011 +0100 + + sna/damage: Stash the last freed damage for quick reallocation + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 1471ef82b595a207dc8873c45176ec31f277a43f +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 20 21:32:14 2011 +0100 + + sna/damage: Only track the mode globally + + As damage accumulation is handled modally, we do not need to track the + mode per elt and so attempt to simplify the code. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 1229bf6a690e7f315ab22957da23481f58515ff9 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 20 17:37:41 2011 +0100 + + sna: Actually apply the composite offset for the self-copy + + I translated the region to copy by the composite pixmap offset, only + failed to use the translated region for the actual copy command (using + instead the original boxes). Fix that mistake by avoiding the temporary + region entirely and applying the translation inplace. + + We also have to be careful in the case of copying between two composited + windows that have different offsets into the same screen pixmap. + + This fixes the regression introduced with a3466c8b69af (sna/accel: + Implement a simpler path for CopyArea between the same pixmaps). + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 3526d83e460ce6410f23f59d1315793ff9607253 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Oct 20 00:29:52 2011 +0100 + + sna/dri: Perform a little dance to restore the gpu status on release of the bo + + As the bo is outside of our control whilst it is under the influence of + an external renderer, we try to maintain it on the gpu so as to avoid + unnecessary ping-pong. But once it is wholly back under our control, we + want to stop paying the penalty for sharing it. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 50b980f12e02401cdd4bc21b970d92e7bd1e6459 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Oct 19 21:09:01 2011 +0100 + + sna: Reuse any partial write buffer for readback + + Take advantage of any available temporary buffer that we reuse for + readback knowing that it is the last operation in the batch. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 972989276dd3f84c1cedca0494d04f907875f8f3 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Oct 19 20:41:14 2011 +0100 + + sna: Add some debug to discern the nature of the Cr fallback + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit fc224e2f8c0200c114f8dbddfc4f5395a3ef0fad +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Oct 19 20:20:55 2011 +0100 + + sna: Clean up some debug messages for 64bit + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit f4346e5d255f419ee6148f7d69f02560732dd4de +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Oct 19 19:26:19 2011 +0100 + + sna/blt: Use SCANLINE_BLT for multiple fill boxes + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit d7fb98efdcc1bcc2cca6deb54b16d425b0350196 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Oct 19 17:52:56 2011 +0100 + + sna: The initial aperture check for a set of bo is unlikely to fail + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 3c8e1c5c4cbe703781f2845926f76a9537a971ea +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Oct 19 16:35:08 2011 +0100 + + sna: Reset the ring flag upon idling + -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1rnxut-0001x2...@vasks.debian.org