xserver-xorg-video-intel: Changes to 'debian-unstable'
.gitignore | 1
ChangeLog | 4112 ++++++++++++++++++++++
Makefile.am | 8
NEWS | 56
configure.ac | 55
debian/changelog | 6
src/Makefile.am | 14
src/common.h | 10
src/i915_video.c | 1
src/i965_reg.h | 4
src/i965_render.c | 102
src/i965_video.c | 3
src/intel.h | 16
src/intel_batchbuffer.c | 52
src/intel_display.c | 2
src/intel_dri.c | 2
src/intel_driver.c | 13
src/intel_module.c | 14
src/intel_uxa.c | 31
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 | 12
src/sna/blt.c | 57
src/sna/compiler.h | 51
src/sna/gen2_render.c | 1016 +++--
src/sna/gen3_render.c | 984 +++--
src/sna/gen4_render.c | 334 +
src/sna/gen5_render.c | 768 +++-
src/sna/gen5_render.h | 47
src/sna/gen6_render.c | 734 +++-
src/sna/gen7_render.c | 388 +-
src/sna/gen7_render.h | 6
src/sna/kgem.c | 851 +++-
src/sna/kgem.h | 79
src/sna/kgem_debug.c | 24
src/sna/kgem_debug.h | 3
src/sna/kgem_debug_gen2.c | 631 +++
src/sna/kgem_debug_gen3.c | 1
src/sna/kgem_debug_gen7.c | 747 ++++
src/sna/rop.h | 264 +
src/sna/sna.h | 150
src/sna/sna_accel.c | 7301 ++++++++++++++++++++++++++++++++++------
src/sna/sna_blt.c | 823 +++-
src/sna/sna_composite.c | 190 -
src/sna/sna_damage.c | 704 +++
src/sna/sna_damage.h | 81
src/sna/sna_display.c | 85
src/sna/sna_dri.c | 1051 +++--
src/sna/sna_driver.c | 141
src/sna/sna_glyphs.c | 439 +-
src/sna/sna_gradient.c | 67
src/sna/sna_io.c | 51
src/sna/sna_reg.h | 50
src/sna/sna_render.c | 141
src/sna/sna_render.h | 62
src/sna/sna_render_inline.h | 37
src/sna/sna_tiling.c | 29
src/sna/sna_trapezoids.c | 4208 +++++++++++++++++------
src/sna/sna_video.c | 261 -
src/sna/sna_video.h | 25
src/sna/sna_video_overlay.c | 36
src/sna/sna_video_textured.c | 77
src/xvmc/i965_xvmc.c | 2
src/xvmc/intel_batchbuffer.h | 1
src/xvmc/intel_xvmc.c | 2
src/xvmc/xvmc_vld.c | 2
test/.gitignore | 1
test/Makefile.am | 1
test/basic-copyarea-size.c | 6
test/basic-copyarea.c | 3
test/basic-fillrect.c | 3
test/basic-lines.c | 147
test/basic-putimage.c | 3
test/basic-stress.c | 3
test/mixed-stress.c | 3
test/render-composite-solid.c | 3
test/render-copyarea-size.c | 6
test/render-copyarea.c | 3
test/render-fill-copy.c | 3
test/render-fill.c | 3
test/render-trapezoid-image.c | 6
test/render-trapezoid.c | 6
test/test.h | 2
test/test_image.c | 7
uxa/uxa-glyphs.c | 17
uxa/uxa-priv.h | 4
uxa/uxa-render.c | 16
uxa/uxa-unaccel.c | 50
93 files changed, 22639 insertions(+), 5400 deletions(-)
New commits:
commit cb451dc94c6cf722fb21be8814e21a76ce69a3b3
Author: Timo Aaltonen <tjaalton@ubuntu.com>
Date: Thu Nov 17 13:25:49 2011 +0200
update the changelogs
diff --git a/ChangeLog b/ChangeLog
index 8e1407f..6c4ac40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4115 @@
+commit 24ece4a87e34c27115ffb55f91294bce2bdf1502
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Nov 16 23:14:25 2011 +0000
+
+ configure: Version bump for 2.17.0 release
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 14b3176962bd535933623d8ed77ba286b077d6f0
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Nov 16 23:13:44 2011 +0000
+
+ NEWS: Release notes for 2.17.0
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit c259144e3fc52d078b0a78107c38f0f3d3a2bbc1
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Nov 16 10:28:23 2011 +0000
+
+ sna: The block handler is passed an indirect pointer to the timeval
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit bfd2bb40274d1242001d295a4010211fd51b0fc3
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 15 10:38:09 2011 +0000
+
+ sna: Correct dependencies for DRI2
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 3771387ad11b5842a83e58a4b373c2acdd827bd2
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 15 10:32:34 2011 +0000
+
+ Compile out UXA if so desired
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit edbeab8c4edf9e0e89d85add485fe659795b6350
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 15 10:17:06 2011 +0000
+
+ sna: Reduce and clarify dependencies
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 78d4e99fc916e6477edb01c6f24b69ad73adc552
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 15 11:06:04 2011 +0000
+
+ sna: And keep unity happy
+
+ Rewrite the DRI layer to avoid the various bugs and shortcomings of the
+ Xserver and interfacing with mesa.
+
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38732
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=39044
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit aac022cbb3342e7027301a3f8c9add8929edbad6
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 19:49:29 2011 +0000
+
+ sna: Optimise single pixel transfers
+
+ Surprisingly frequent.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 5647e2981d81fd2b5cdb22d544f83d2d0f9445c9
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 14:11:56 2011 +0000
+
+ sna/damage: Always reduce damage for testing PIXMAN_REGION_OUT
+
+ Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
+ References: https://bugs.freedesktop.org/show_bug.cgi?id=42414
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 405b015fe255c75f91b0f3fe93f06bd14faee5a1
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 14:05:10 2011 +0000
+
+ sna: Be explicit in all sna_damage_contains_box() tests
+
+ Clarify the exact in/out/maybe expected result when testing.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 5d23149647b1645057dbd89087691e873494f763
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 13:53:37 2011 +0000
+
+ sna: Remove redundant 'can_fill_spans()'
+
+ Spans are almost always accelerated now...
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit ae9de984adb275e028e7fbcb8b74a3ce11920eed
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 13:39:34 2011 +0000
+
+ sna: Convert non-FillSolid rectilinear lines to boxes
+
+ And render using the tiled/stippled rect routines instead.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit e861e816f53989ce3ab3ec89dd1d9a35155f999a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 13:39:34 2011 +0000
+
+ sna: Convert non-FillSolid rectilinear segments to boxes
+
+ And render using the tiled/stippled rect routines instead.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 6fc2928f578ae1e278c968d5c778d99d56bd667a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 13:05:00 2011 +0000
+
+ sna: tidy assignment of composite damage
+
+ Make sure that the damage is always set, even if only to NULL, so that
+ we are safe if in future the operation state is not initially cleared.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 99338ebe61917a07611cbc81cfaf70c0ec905014
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 12:04:49 2011 +0000
+
+ sna: Check whether damage can be reduced to all-damage on moving to GPU
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 00d1c539e4b69636bfc35c0c47a6f1db3a33e731
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 11:19:42 2011 +0000
+
+ sna/damage: Add a little more verbosity to debugging
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 60c0fc101adbc457a7c1927602175f8079175e10
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 11:12:47 2011 +0000
+
+ sna: Refactor some common code into the common destroy-gpu-bo function
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 571457e9a4b0941ec956ef98391e96fe90fb4abc
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 10:31:21 2011 +0000
+
+ sna: Be more thorough discarding fences for large objects
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit e33dfbe3c00e634328adc7319261e5501f4c7a7a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 09:41:53 2011 +0000
+
+ sna/damage: Verify that all-damage covers the entire pixmap after reduction
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit f033172d2f383c7e17362a10f56c4958fb9a3a6b
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 09:32:53 2011 +0000
+
+ sna: Fix debug compilation
+
+ Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42887
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 0c405595fb8739b22569f81f400100b5dfa472cf
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 09:27:49 2011 +0000
+
+ sna: Downgrade tiling in order to fit within fence constraints
+
+ Fixes a later assert that the fenced size is valid for kgem_create_2d()
+
+ Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42888
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 1baff9f8cf79fdb4a5649eabcc66cf73487c873e
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 14 08:44:35 2011 +0000
+
+ uxa/gen4+: Re-emit composite invariant after video
+
+ Reported-by: Ben Hutchings <ben@decadent.org.uk>
+ Bugzilla: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635953
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 7ad3b377a394c9342c3ab2f003d48b7cb3c0891d
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sun Nov 13 17:53:11 2011 +0000
+
+ sna/video: Use the right pointer for unmapping
+
+ Don't just deference any old random pointer, use the one we actually
+ mapped in the first place!
+
+ Reported-by: Matti Hamalainen <ccr@tnsp.org>
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42880
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 8da8809d03734d92c3bcf478fe051077ce3caa29
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sun Nov 13 17:49:23 2011 +0000
+
+ sna/video: Simplify check for 915G[M] which is simply gen==30
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit cac335b979a95e31e201f9766d19d737361e09b2
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sun Nov 13 13:13:03 2011 +0000
+
+ sna/video: Constify a couple of attribute arrays
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit e592eb93dbd7df177993986f01ba6f65c4e20d4a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sun Nov 13 11:16:45 2011 +0000
+
+ configure: Version bump for 2.16.902 snapshot
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 56707b97dc746f7b46dd6cf94ba6c1db85ed619c
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sun Nov 13 11:16:12 2011 +0000
+
+ NEWS: Details for 2.16.902
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit f0acc6c0f15875fd51f6df6c8f13d589f9149771
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sun Nov 13 09:39:47 2011 +0000
+
+ sna/composite: Attempt to reduce the damage is the operation is contained
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 87147b63e905c3566ac1c12e0712f068e90d5e2e
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Nov 12 19:35:43 2011 +0000
+
+ sna/damage: Reduce the damage for evaluating sna_damage_is_all
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit e8799cdea461df5102d421fda26fecceae79b929
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Nov 12 12:19:31 2011 +0000
+
+ sna: Be stricter and disallow allocation of large fenced objects
+
+ When allocating objects, we need to check the size of the full fenced
+ regions against the mappable limits in order to be able to mmap the
+ object later.
+
+ References: https://bugs.freedesktop.org/show_bug.cgi?id=42813
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 0269ec5533ecf7bec0f01c682e085861a3d2ab00
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Nov 12 11:49:32 2011 +0000
+
+ sna: Handle incremental uploads from PutImage
+
+ PutImage rarely uploads the entire image inside a single request,
+ instead breaking up into scanline segments to fit within the protocol
+ limits. A few optimisations are based on detecting when we can discard
+ the GPU bo for an all-dirty CPU pixmap, which are useful in this case so
+ check for an entirely dirty pixmap following an incremental PutImage.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit ed68f1b00ae7c0fb3be1f0e758b3683f3c26675b
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Nov 12 11:13:59 2011 +0000
+
+ sna/gen7: Fix PRIMITIVE command
+
+ The topology is now an extra dword rather than an embedded field in the
+ command.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 991ffcb60a15f08ebb396d4d4ec86d5aff0ded31
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Nov 11 23:20:36 2011 +0000
+
+ sna: Reset the source counter if we completely dirty the CPU pixmap
+
+ For a long lived pixmap which we are repeatedly using for upload and
+ copying to other pixmaps, we don't want to keep to maintain a GPU
+ buffer. So instead, reset the source counter if we discard the GPU bo
+ and treat the pixmap as purely CPU.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 403a4dd353eef67decfba965e40623e8137e1944
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Nov 11 14:59:03 2011 +0000
+
+ sna: Defer source migration for a solitary upload via CopyArea
+
+ Try to avoid allocating a GPU pixmap for PutImage followed by CopyArea.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 11acfaa62362660ff303f3afe90d1afa36b9ce73
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Nov 11 14:46:33 2011 +0000
+
+ sna/glyph: Tweak the small mask threshold
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit c6e6ae1829e06ee8fe8eb063f2433cce603c9f96
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Nov 11 14:22:38 2011 +0000
+
+ sna/glyphs: Cache the glyph pixman_image_t wrapper
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 8f50950f467eb2440009a807081f3ba2c9db209b
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Nov 10 15:58:36 2011 +0000
+
+ sna/gen7: Remove stray no-op from GEN7_3DSTATE_SBE
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 6a8338fc08a1b7e5e2c6722baa87cff3915b6ef9
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Nov 10 15:11:13 2011 +0000
+
+ sna: Begin debugging gen7
+
+ This is the stub of the decoder, sufficient to give details of the ops
+ within the batch and to keep the debugger happy.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 2309f19638f8b2c35eb60fb44fa988aa5aaab57f
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Nov 10 11:57:21 2011 +0000
+
+ sna/dri: Apply the damage for fullscreen async blits
+
+ Otherwise gnome-shell forgets to update. Eventually, I'll get the async
+ pageflipping bits merged into the Xserver and this path and its extra
+ bw wastage will be history! But still I'll be undermined by the
+ compositor, grrr.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit e65c2c54f5efcec16e97085dbc41042007c39151
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Nov 10 11:37:46 2011 +0000
+
+ sna: Store the sna pointer on the pixmap for cheap lookups
+
+ A large part of the function preamble overhead is the multi-indirection
+ lookup for retrieving the sna pointer. We can eliminate most of these by
+ storing a pointer on the Pixmap as well, which we often need to lookup
+ anyway.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit bddac63de2d26c6ad4ade2f0a038d756f7a41424
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Nov 10 10:55:13 2011 +0000
+
+ sna: Defer purging a target buffer
+
+ This is to keep the sanity checks upon the caches happy by keeping a
+ potential flush out of the inactive cache.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 9083f7edcb05b1deb7a77c9c5a8b54fe73176648
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Nov 10 10:51:32 2011 +0000
+
+ sna/gen3: Fixup some false asserts
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit ea01f7681901e3181204d3117fc0a23655de631f
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Nov 10 10:51:01 2011 +0000
+
+ configure: Force full-debug builds to disable compiler optimisations
+
+commit a72563464f53f24246379afcf1365206fae9aad3
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Nov 10 00:55:55 2011 +0000
+
+ sna/gen3: Clear the video shader flag upon batch reset
+
+ Fixes regression from 3252b46e1.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 3252b46e115e6cc46abbcc4f502feeb9edc31ad6
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Nov 9 15:16:04 2011 +0000
+
+ sna/gen3: Pack video frames
+
+ If you're going to benchmark, you may as well do so favourably.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 8e926759528a12076bd7565672acd82a37aa3eb1
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Nov 9 14:44:54 2011 +0000
+
+ sna/video: Pass texture video limits to the client
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit bca58ff6f02b20ccf88937df8e2688f18cabac80
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Nov 9 14:18:57 2011 +0000
+
+ sna: Clear kgem->busy when all requests have been processed
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 8fdbd01c94c0f6f56247feed8f225901ba39e18e
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Nov 9 13:14:04 2011 +0000
+
+ sna/video: Use the normal bo cache for texture video streams
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 436a78684507129ca1245e065ff68870eb27624b
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Nov 9 12:48:27 2011 +0000
+
+ sna: Track purgeability separately from reusability
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 2699c01a396b644a35a9acb969ab556454be3517
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Nov 9 12:27:52 2011 +0000
+
+ sna: Handle non-reusable bo more correctly during retire
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit fcc89d26600a57317007035fa720915e8a2ade81
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Nov 9 12:25:43 2011 +0000
+
+ sna: Safety first; make all flinked bo unreusable
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit f62b9f94f64f402e731463205635d386386e274e
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Nov 9 10:15:11 2011 +0000
+
+ sna/video: Pass cropped source dimensions along with frame data
+
+ So pack all the relevant details into the same structure.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 5809b1ad934d6e19dbcf00f1b59e156761ec16b6
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Nov 9 09:41:53 2011 +0000
+
+ sna/video: Tidy up copy routines
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 1cd06100185a37ee33209fb18362da89f9646e6b
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 8 17:37:44 2011 +0000
+
+ sna: Protect against NULL deference of damage after reduction
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 4b100b099a4d5877c79989e8b3b4ffcd3aa2306f
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 8 16:30:22 2011 +0000
+
+ sna: Convert stippled spans to rects
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 7b95f87b26675af3a1923fef824c45e087098d61
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 8 16:18:58 2011 +0000
+
+ sna: Use the blitter for overlapping lines if the alu doesn't read dst
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 9a8d3a9dfff8be65b4ab28312ec49dbca36019e0
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 8 13:51:00 2011 +0000
+
+ sna: Avoid the penalty of only writing partial channels with glyphs
+
+ Yes, writing 3 channels is slower than writing 4. But it's okay we
+ simply ignore the alpha value anyway.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 576c5169efd068c364fb7d266fbb6b1dd2ad3f4d
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 8 13:27:05 2011 +0000
+
+ sna: Tidy sna_copy_bitmap_blt
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 32bbeefb8563ae2ab3a105d0b1c9b55d9587b788
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 8 13:17:20 2011 +0000
+
+ sna: Pack clipped stippled uploads
+
+ This are even more likely to fit inside the immediate payload.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 3620cd2d157f3d81ccb76bce2ab813bd1e058878
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 8 11:25:14 2011 +0000
+
+ sna: Begin hooking up valgrind/memcheck
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit aeaadb16093f83c9b830958c5946d4d048ffd26b
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 8 11:03:19 2011 +0000
+
+ sna: Handle creation of large Screen pixmap when the GPU is wedged
+
+ Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
+ References: https://bugs.freedesktop.org/show_bug.cgi?id=42606
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 7577d6ea45794b83d2f84b175d453d8a460b0e9b
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 8 10:24:34 2011 +0000
+
+ sna: Add some error messages to explain why we failed to create the screen
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 33256af40b3ce2cf8a899ced1fcbf40e316772e4
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 8 09:55:07 2011 +0000
+
+ sna: Fixes for DBG_NO_HW (i.e. simulated GPU hanges);
+
+ A couple of the recent GPU paths were failing to check for !wedged.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 5f0886dae29429f498fb10a12d5dc8de6bd798fc
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Nov 8 00:02:18 2011 +0000
+
+ sna/trapezoids: Use ints for the offsets to accommodate multiplication
+
+ Although the original precison need only 16-bits to store the offsets,
+ after projecting on to the sample grid we need a few more bits of
+ precision and so need a larger integer type to avoid overflow and render
+ glitches.
+
+ Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42680
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 33351d5c3dd912534c54e64ccfc7adc4c6f6ecae
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 7 22:57:44 2011 +0000
+
+ sna/glyphs: Bypass masks for single glyphs
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit e4872225ace7e3b129292f5822aa75b84c52beff
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 7 22:57:05 2011 +0000
+
+ sna/io: Minor tidy of setting command flags
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 5ba8ba7421e36bcdf83e84423595326939dbe7cd
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 7 22:55:10 2011 +0000
+
+ sna: Avoid overwriting an upload buffer during readback
+
+ Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
+ Buzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42677
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 8f7a8a80237db77452f02273bd8ade68dfba575f
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 7 20:08:25 2011 +0000
+
+ sna/composite: Minor fixes in operator and colour reduction
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit b1234f3d3a27f326b8048e3d6b476021a26e9101
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 7 20:07:37 2011 +0000
+
+ sna: Expand multiplies of two 16-bit values to a full 32-bit range
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit afdf931e61821985b31b339d1f346ddd7c4e9e3c
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 7 20:06:35 2011 +0000
+
+ sna: Add some more debugging in the hunt for overflows
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 8f3c845782fdb2fa8bdf751bdd7dd83ca02c42ac
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 7 20:05:41 2011 +0000
+
+ sna/blt: Small cleanups
+
+ Whilst perusing for overflows, remove some redundant conditionals.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 8e775cecccebe543d344721d45b2d43ee9f122b3
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 7 20:01:33 2011 +0000
+
+ sna/gen3: Fix false reduction of ComponentAlpha with white source
+
+ The principle behind the opertator reduction of WHITE * maskca is valid,
+ except that we failed to account for the src/mask transposition when
+ emitting the vertices - garbage ensued.
+
+ Given that we agressively reduce the shader required for WHITE * maskca,
+ it does not seem worthwhile to special case the primitive emitter as
+ well.
+
+ Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42676
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 65a440543b13e3e605a4a2d6209a460fbbe55736
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 7 20:00:20 2011 +0000
+
+ sna: Fix 16-bit overflow of rowlength for memcpy
+
+ Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42619
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit d4edbd480445bc6aadd2c9f17262bd4b3eefbca6
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 7 11:16:06 2011 +0000
+
+ sna/glyph: Fallback if we fail to clear the scratch pixmap for the glyph mask
+
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42663
+ Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 05f3e96a69af7750d2d62cf5ba991b89f39bc88a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Nov 7 09:28:19 2011 +0000
+
+ test: Compile fix for make check
+
+ Reported-by: Jeremy Huddleston <jeremyhu@apple.com>
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit cd3d86037746f3a03c4004c1e3ba6e8281344745
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sun Nov 6 11:13:27 2011 +0000
+
+ sna: Beware unsigned promotion of int16_t to uint32_t
+
+ Mmakes for an unhappy mempy!
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 0b9408d972050cb02c1024926c406cd45508a158
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sun Nov 6 09:55:09 2011 +0000
+
+ sna: Self-intersection of wide PolyLine are only drawn once
+
+ We need to process the union of the PolyLine command if lineWidth!=0 so
+ we cannot generally feed lineWidth==1 into our special case handler.
+ Proving the lines do not intersect is as difficult as finding the
+ intersections and thereby finding the union of the path - so there is no
+ advantage in adding a check whether a wide line could be special cased.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit c76714c29d29687f941a9112e80223c817185d53
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sun Nov 6 09:43:47 2011 +0000
+
+ test: Add a basic line tester
+
+ Starting with exercising drawing of a single segment.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit c1e1e20fe7875262530a4d522e970985642c3f13
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Nov 5 20:59:17 2011 +0000
+
+ sna: Add the pixman version to the debug output
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit e2165f0e6b0620e3d788546924a2174506fbbde5
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Nov 5 19:46:13 2011 +0000
+
+ sna: For a 32k max window size, we need to handle up to 128k strides
+
+ Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42619
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit c5d94b21d5c65dcae3e294412a8f20bad347a6d8
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Nov 5 14:32:16 2011 +0000
+
+ sna: Extend the zero-line segments by one
+
+ Fixes misrendering of the wine tabs
+
+ Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42606
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 0cf29afda9b061455bc438a22bbbfb1d6db6528e
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Nov 5 12:36:53 2011 +0000
+
+ sna/glyphs: Fix clip detection for small masks
+
+ -ENOCOFFEE.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit d21c30d0b8b08ec85c3b5d9a02a6969f7c8b9315
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Nov 5 11:56:17 2011 +0000
+
+ sna: Constrain GPU pixmaps to always fit within the blitter
+
+ Otherwise we end up always doing expensive readbacks where we would
+ obviously prefer it if we simply used cached memory for the CPU
+ operation and then upload.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit e309cea3ae5c22c58a918008a52e3d8d694c9ff2
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Nov 5 11:28:06 2011 +0000
+
+ sna: Do the supported PictOp check first
+
+ There is no point even attempting a BLT operation if we know that it is
+ an unusual render operation.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit ab3d6d878fa27515eb760107d963d522cc87cd77
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Nov 5 10:08:02 2011 +0000
+
+ sna: Render small glyph masks on the CPU
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit c25cf434d81ac1b4da29c9c75ca1d7c28be71d04
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Nov 5 01:04:54 2011 +0000
+
+ sna/gen3: Initiailse the op for fill_boxes()
+
+ After removing the memset(0), a couple of fields where left
+ uninitialised, causing potential rendering glitches.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 96e760ea7589cbe953bd0a6f2f41980a7f1c4795
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Nov 5 01:04:24 2011 +0000
+
+ sna: s/flush/vblank/ fixes for DBG()
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 676cb4e38dc381b2ef4fb092b66db80687aa5013
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Nov 4 23:30:09 2011 +0000
+
+ sna: Run the deferred flush at vrefresh
+
+ This helps to reduce the perceived jerkiness of the redraw.
+
+ Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42413
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 8052c3904a1ac0308846ac13534c4c76bb96d5dd
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Nov 4 21:14:23 2011 +0000
+
+ sna: Drain the delayed timer after forcing a flush
+
+ The goal is to remove a spurious wakeup when we have no work outstanding
+ afterwards and so would end up prematurely disabling the timer.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 112c61f6557c2337d5f1b25eb71d0dc9ada6ec89
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Nov 4 21:13:55 2011 +0000
+
+ sna: Convert GXcopy with -1 to GXset
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 573b23c6b618af808d3236395bbf4f4993b406e5
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Nov 4 15:57:24 2011 +0000
+
+ sna: Add some asserts to detect buffer overflow.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 4ba55c3d110ba51400a72da7d4f4c62efcea1335
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Nov 4 15:55:15 2011 +0000
+
+ sna/gen5: Prefer using the BLT for many solid fills
+
+ Even if it means incurring a context switch, the BLT unit is
+ significantly faster so long as we do enough fills. And there is the
+ catch ;-)
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 703cf8abdbcda783e2bb0ceb423909ee8ca98176
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Nov 4 15:24:57 2011 +0000
+
+ sna: Add earlier guards against to wedged to sna_glyph_blt
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit fc415ec3d3e982d89d7a25db8d5fd18e0412a99b
Reply to: