ChangeLog | 4896 ++++++++++++++++++++++++++++++++++++++++++ NEWS | 42 configure.ac | 155 + debian/changelog | 13 debian/control | 2 debian/rules | 2 src/Makefile.am | 3 src/common.h | 107 src/compat-api.h | 105 src/i830_render.c | 14 src/i915_render.c | 35 src/i915_video.c | 2 src/i965_render.c | 253 +- src/i965_video.c | 2 src/intel.h | 24 src/intel_batchbuffer.c | 2 src/intel_display.c | 227 + src/intel_dri.c | 141 - src/intel_driver.c | 203 - src/intel_driver.h | 2 src/intel_glamor.c | 32 src/intel_hwmc.c | 2 src/intel_memory.c | 2 src/intel_module.c | 113 src/intel_options.c | 52 src/intel_options.h | 49 src/intel_shadow.c | 4 src/intel_uxa.c | 30 src/intel_video.c | 24 src/legacy/i810/Makefile.am | 12 src/legacy/i810/i810.h | 9 src/legacy/i810/i810_accel.c | 6 src/legacy/i810/i810_common.h | 2 src/legacy/i810/i810_cursor.c | 6 src/legacy/i810/i810_dga.c | 26 src/legacy/i810/i810_dri.c | 132 - src/legacy/i810/i810_driver.c | 693 +++-- src/legacy/i810/i810_hwmc.c | 4 src/legacy/i810/i810_video.c | 111 src/legacy/legacy.h | 2 src/sna/Makefile.am | 21 src/sna/blt.c | 170 + src/sna/compiler.h | 2 src/sna/fb/Makefile.am | 38 src/sna/fb/README | 1 src/sna/fb/fb.h | 559 ++++ src/sna/fb/fbarc.c | 122 + src/sna/fb/fbarcbits.h | 204 + src/sna/fb/fbbitmap.c | 142 + src/sna/fb/fbblt.c | 322 ++ src/sna/fb/fbbltone.c | 413 +++ src/sna/fb/fbclip.c | 87 src/sna/fb/fbclip.h | 92 src/sna/fb/fbcopy.c | 240 ++ src/sna/fb/fbfill.c | 235 ++ src/sna/fb/fbgc.c | 192 + src/sna/fb/fbglyph.c | 277 ++ src/sna/fb/fbglyphbits.h | 140 + src/sna/fb/fbimage.c | 254 ++ src/sna/fb/fbline.c | 179 + src/sna/fb/fblinebits.h | 284 ++ src/sna/fb/fbpict.c | 330 ++ src/sna/fb/fbpict.h | 45 src/sna/fb/fbpoint.c | 120 + src/sna/fb/fbpointbits.h | 110 src/sna/fb/fbpush.c | 177 + src/sna/fb/fbrop.h | 111 src/sna/fb/fbseg.c | 563 ++++ src/sna/fb/fbsegbits.h | 212 + src/sna/fb/fbspan.c | 131 + src/sna/fb/fbstipple.c | 223 + src/sna/fb/fbtile.c | 152 + src/sna/fb/fbutil.c | 126 + src/sna/fb/sfb.h | 40 src/sna/gen2_render.c | 295 +- src/sna/gen3_render.c | 421 +-- src/sna/gen4_render.c | 559 ++-- src/sna/gen5_render.c | 585 ++--- src/sna/gen6_render.c | 496 ++-- src/sna/gen7_render.c | 694 +++-- src/sna/kgem.c | 1169 ++++++---- src/sna/kgem.h | 126 - src/sna/kgem_debug.c | 4 src/sna/kgem_debug_gen2.c | 4 src/sna/kgem_debug_gen3.c | 99 src/sna/kgem_debug_gen4.c | 6 src/sna/kgem_debug_gen5.c | 6 src/sna/kgem_debug_gen6.c | 22 src/sna/kgem_debug_gen7.c | 45 src/sna/sna.h | 246 +- src/sna/sna_accel.c | 4116 ++++++++++++++++++++--------------- src/sna/sna_blt.c | 402 +-- src/sna/sna_composite.c | 151 - src/sna/sna_damage.c | 274 +- src/sna/sna_damage.h | 26 src/sna/sna_display.c | 2152 ++++++++++++------ src/sna/sna_dri.c | 1580 +++++++------ src/sna/sna_driver.c | 416 +-- src/sna/sna_glyphs.c | 810 +++++- src/sna/sna_gradient.c | 59 src/sna/sna_io.c | 100 src/sna/sna_module.h | 4 src/sna/sna_render.c | 217 - src/sna/sna_render.h | 100 src/sna/sna_render_inline.h | 39 src/sna/sna_stream.c | 5 src/sna/sna_tiling.c | 322 ++ src/sna/sna_transform.c | 41 src/sna/sna_trapezoids.c | 1309 +++++++++-- src/sna/sna_video.c | 105 src/sna/sna_video.h | 8 src/sna/sna_video_overlay.c | 50 src/sna/sna_video_sprite.c | 26 src/sna/sna_video_textured.c | 33 test/Makefile.am | 9 test/basic-rectangle.c | 223 + test/basic-string.c | 102 test/dri2-swap.c | 172 + test/dri2.c | 668 +++++ test/dri2.h | 108 uxa/uxa-glyphs.c | 207 + uxa/uxa-priv.h | 3 uxa/uxa-render.c | 46 uxa/uxa.c | 38 124 files changed, 24712 insertions(+), 7841 deletions(-)
New commits: commit 693c04fcfae695a6b086d3c8ebda5b9db146647e Author: Maarten Lankhorst <maarten.lankho...@canonical.com> Date: Mon Jul 16 16:22:09 2012 +0200 New upstream release * New upstream release: - First official release with sna diff --git a/debian/changelog b/debian/changelog index f8c81e0..bca80fa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +xserver-xorg-video-intel (2:2.20-1) UNRELEASED; urgency=low + + * New upstream release: + - First official release with sna + + -- Maarten Lankhorst <maarten.lankho...@canonical.com> Mon, 16 Jul 2012 16:21:28 +0200 + xserver-xorg-video-intel (2:2.18.0-1+exp1) experimental; urgency=low * Enable SNA again, in experimental. commit a683c27e004ed99296f20aa3fe02f735e2e53731 Author: Maarten Lankhorst <maarten.lankho...@canonical.com> Date: Mon Jul 16 16:21:24 2012 +0200 Bump changelog diff --git a/ChangeLog b/ChangeLog index 651ab6a..d179e21 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7336 @@ +commit 6a18a0936eafc45ab920ab0eecf2fc2a601c41a7 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Jul 15 20:26:00 2012 +0100 + + configure: version bump for 2.20.0 release + + The day SNA hits mainstream... + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 6fa059330decd1437eef4928d732ec91fd4e17e7 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Jul 15 14:04:48 2012 +0100 + + sna: Avoid creating a CPU bo for uploads if we already have a large GPU bo + + And vice-versa if already have a large CPU bo. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit a253c95ec63b2b075e66ae7380fed6a73469eba5 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Jul 15 13:32:35 2012 +0100 + + sna: Prefer uploads to be staged in snoopable bo + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit ef6d94a8444927941db108811e1a26357dc3f18e +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Jul 15 11:46:53 2012 +0100 + + sna: Simply reverse all the boxes if dx <= 0 and dy <= 0 + + In this fairly common case, avoid both the double pass and use a simpler + algorithm as we can simply reverse the order of the boxes. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 6601a943ff968ac39ba198351c50dc883cb4232e +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Jul 15 11:39:56 2012 +0100 + + sna: Keep track of the base pointer for the reordered boxes + + So that we avoid freeing an invalid pointer. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit ef34d5cf415ad7459ab44b0ec2e70b14150735fc +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 23:25:17 2012 +0100 + + sna: Make sure we check for a busy CPU bo before declaring is-cpu + + Even if the pixmap is entirely damaged on the CPU, we still may be in + the process of transferring it and so cause an unwanted stall. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 0e397e4a1dc23ed07089c967612d705584f3b376 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 21:35:23 2012 +0100 + + sna/glyphs: Perform the fallback mask reduce before moving the glyph pointers + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit db1ee13a53b0c1348b7566ee60ee1b7b384ef59a +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 21:26:01 2012 +0100 + + sna/gen7: Check for gradient allocation failure within spans + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 86479e97460da798a3804cbb4ae39e62de881af1 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 21:24:04 2012 +0100 + + sna/gen7: Uses EXTEND_PAD for its alpha-gradient with spans + + Fixes regression from 2b94f9a043. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit f17037275c05198c3c3f456964fd42032f9085b6 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 20:11:17 2012 +0100 + + sna: Reorder overlapping boxes for CopyArea/Window + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 86e09d14bd00344d378b86a19ebb44f7d946926c +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 17:51:31 2012 +0100 + + sna: Tidy sna_copy_boxes + + So there appears to be a bug hidden here. But only when we scroll + upwards in a GTK+ application. Hmm. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 924f596463555db27214fd8227218c2e21ecddc8 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 19:03:08 2012 +0100 + + sna: Avoid BLT to snoopable bo on older gen + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 44e226b1d9fca8cb95b0864adf8708b03ee8472c +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 18:36:29 2012 +0100 + + sna/glyphs: A repeat of the earlier typo for pixman glyphs + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 797ebf937fcfcc87502727c70e6b52f89fecc799 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 16:58:18 2012 +0100 + + sna/glyphs: Fix typo and render glyphs to the small mask + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 2b94f9a043372ffede01339eea99377a71169fbc +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 16:38:21 2012 +0100 + + sna/gen7: Preselect sampler + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 50d61c38bdb720c17ba5bfcaf97032338e466d9b +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 16:07:32 2012 +0100 + + sna/gen4: Fix typo introduced in checking dst format + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit fc91b1f157f9e6e4097e662e2890574e530344ac +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 15:48:50 2012 +0100 + + sna/gen7: Only emit the render flushes between operations + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit d30dc59651f156e9d4572141e2c54af89d007a37 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 15:42:19 2012 +0100 + + sna/gen7: Only fallback to BLT for a redirected target + + As we can always use a partial surface for the source. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 9f05b0c03b1fdab474b436431c430028fca1937e +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 15:03:32 2012 +0100 + + sna/gen4+: Fix up card/dest format confusion in previous commit + + That would have been much more successful had I not supplied the wrong + opaque formats to the sampler. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit fffbc34e4621898eee9b80bf8b6b3699bcade52a +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 14:54:27 2012 +0100 + + sna/gen4+: Translate to card format using a switch + + GCC produces faster code than a walk over the format tables. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 95fdd9af5c8a8360d02debc400e75869c36f05ca +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 13:05:27 2012 +0100 + + sna: Enable pixman_glyphs if available + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 3f764ee4c50567cfb831495d42cb6c2bb94055ad +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 12:29:47 2012 +0100 + + sna/dri: Presume an unknown chipset will want i965_dri.so + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 39845280b5a9d0ed60c6a158c3d0df9fb8756d40 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 12:14:28 2012 +0100 + + sna: Allow BLT support on future unknown hardware + + Assume that if the kernel recognises the chipset and declares it has a + BLT, we can use it. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit b260ca44b3aaba2c8cd25640ad7ac9ca6478b0f2 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 09:59:07 2012 +0100 + + Drop some unused includes + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit f517bdb12b909ef9d0897166bdabc537551a065b +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 14 08:56:21 2012 +0100 + + sna: Do not perform batch compaction on old kernels + + As they will reject the delta pointing outside of the target batch. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit ce69a1e8686889f1eebb4cb3a39c41f473e58b93 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Jul 13 23:25:02 2012 +0100 + + sna: Add some DBG for selecting glyph path + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit b68b2d90915f7a97e43a39e3117927544886fba0 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Jul 13 23:24:32 2012 +0100 + + sna: Add some DBG for short-circuiting choice of source bo + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit ad4786b285074b5bd70b3ad0bea6ec1b77ad6740 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Jul 13 22:24:51 2012 +0100 + + sna: Aim for consistency and use stdbool except for core X APIs + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit a05c3547bba52288bae872ea672ffe2f4dab2ffa +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Jul 13 15:06:15 2012 +0100 + + sna/gen4: Simplify comparing the pipeline-pointers against the previous + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit ea9ec18505645dfec85ab96bbbbbc1793830c737 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Jul 13 11:39:01 2012 +0100 + + sna: Split CloseScreen into two phases + + In order to get the ordering correct we need to free the xf86_cursors + before calling the miPointerCloseScreen. This requires us to insert a + hook at the top of the CloseScreen chain. However we still require the + final CloseScreen hook in order to do the fundamental clean up, hence + split the CloseScreen callback into two phases. + + Reported-by: Jiri Slaby <jirisl...@gmail.com> + References: https://bugs.freedesktop.org/show_bug.cgi?id=47597 + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 0f03f7b4359fcbcde651bc1554ddff4fe10bc53b +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Jul 13 10:35:27 2012 +0100 + + sna: Only try to enable DRI2 if the module is available at runtime + + Blatantly cribbed from Michel Danzer's patch for ati... + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit b5d6a57f12025aef9850c7d9baa6905f776be971 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Jul 12 22:16:27 2012 +0100 + + Enable compilation of SNA by default + + But only if we meet the required versions of Xorg and leave UXA as the + default AccelMethod for the time being. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 6c2975ab2943478b3a246b5fb231f9f3df2d8475 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Jul 12 22:14:39 2012 +0100 + + Fix the reporting of whether SNA is configured + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit fd15ce65ab8ce5cf571e37daa7db1ee245616cd4 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Jul 12 20:32:14 2012 +0100 + + sna: Fix build without DRI2 + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 22be9988b933f33fc5247a9abc3b00a7f2e4a202 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Jul 12 19:49:34 2012 +0100 + + sna: Check for failure to initialize the sprite pointers + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 32e7f4ee64867779b2def6fcd882708d7b0e2cf5 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Jul 12 19:39:10 2012 +0100 + + sna/glyphs: Fix array allocation for list_extents + + Originally I intended to skip assigning the box on the last list. + However, loop simplicity failed and now we run the risk of writing + beyond the end of stack_extents, and overwriting the list_extents + pointer. + + Reported-by: Jiri Slaby <jirisl...@gmail.com> + References: https://bugs.freedesktop.org/show_bug.cgi?id=47597 + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 0477b5fb6f040f3bad86bb314a24df1bcd660aed +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Jul 12 19:37:02 2012 +0100 + + sna/glyphs: Apply mask reduction along fallback paths as well + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 16aaa51b5d326f44974489f5b29716c7ff5ab48e +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Jul 12 15:26:54 2012 +0100 + + sna: Rearrange the tests for dropping the glyph mask + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 600746f923b046187a66b60b5e5d2b187475730e +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Jul 12 14:16:31 2012 +0100 + + i810: Remove vestigial reference to xaa.h + + i810_hwmc.c can pull it in via i810.h like everybody else. As for + xaalocal.h, I have no idea what that is... Both appear to be cut'n'paste + includes. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 1d9ab2e7101167075112a472ee82530dc0365183 +Author: Zhigang Gong <zhigang.g...@linux.intel.com> +Date: Thu Jul 12 18:47:50 2012 +0800 + + uxa/dri: Fix a buffer leak on pageflipping when enabling glamor. + + We need to put current front_buffer to back buffer thus we + don't need to create a new back buffer next time. This behaviou + should be the same with or without glamor. Previous code + incorrectly discard the previous front_buffer and cause a + big buffer leak problem. + + Signed-off-by: Zhigang Gong <zhigang.g...@linux.intel.com> + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit fa89e0614563cbe0cc45e6d7e7584cb333244c27 +Author: Zhigang Gong <zhigang.g...@linux.intel.com> +Date: Thu Jul 12 18:47:51 2012 +0800 + + uxa/glyphs: Bypass uxa glyphs operations if using glamor. + + glamor_glyphs will never fallback. We don't need to keep a + uxa glyphs cache picture here. Thus simply bypass the + corresponding operations. + + Signed-off-by: Zhigang Gong <zhigang.g...@linux.intel.com> + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit d25000e1f31e78aff2ab43adb12aec0aac36f56f +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Jul 11 22:37:25 2012 +0100 + + i810: Tidy configure detection for XAA/DGA + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 44a1528c15eec9b3f93651e779013137864d4d2b +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Jul 11 15:05:32 2012 +0100 + + sna: Remove unused cached partials list + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 94d489ae43a2c4d4d9ddc9ce30ff1a9142b77d4a +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Jul 11 14:25:20 2012 +0100 + + sna: Minor tweak to upload in place if the CPU bo is busy + + Since we have to pay the price of the stall anyway... + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit b5db90aa52f10897ad2d7795df94c0e3d2878aea +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Jul 11 12:52:24 2012 +0100 + + sna: Discard the mask for "non-overlapping" glyphs + + If we can acheive the same rasterisation results without the mask, + rendering the glyphs-to-dst is so much faster that it outweighs the cost + of checking for overlapping glyphs. + + The penalty is then for code that correctly declared that it required + a mask, who now have an extra ~10% overhead in the processing of their + glyphs. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 665c9cbdcf2c493cac29d316eaffa2abe197a183 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Tue Jul 10 19:01:12 2012 +0100 + + sna: Disable periodic scanout refresh if all outputs are disconnected + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 85fdc3143b157fd7ba3453efc86da8238d9de316 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Tue Jul 10 12:43:46 2012 +0100 + + sna: Avoid the expensive recomputation of the region when copying + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 747ed0ca28bb46fc45ff20acd1f82212fa2b46bd +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Tue Jul 10 17:05:20 2012 +0100 + + sna: Only promote to full GPU if we already have a GPU bo + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 232217eef8f99f5678d65bf9aa5b898ef6d3b3c6 +Author: Daniel Stone <dan...@fooishbar.org> +Date: Tue Jul 10 00:32:13 2012 +0100 + + i810: Make DGA optional + + Don't build DGA when it's not available, or when we don't want it. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 78dc0c04745ad4485b994f67833f4a155749f01d +Author: Daniel Stone <dan...@fooishbar.org> +Date: Tue Jul 10 00:32:13 2012 +0100 + + i810: Make XAA optional + + Don't build XAA when it's not available, or when we don't want it. + + Signed-off-by: Daniel Stone <dan...@fooishbar.org> + +commit 45ab003a5860fd4290df24739d2520fddfe27a8f +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Mon Jul 9 21:28:40 2012 +0100 + + sna: Check for overlapping glyphs within each list, then overlapping lists + + Spotted by Zhigang Gong is this optimisation to avoid the problem with + multiple lines passed in a single request (using multiple lists). As the + start of line will overlap with the previous line when we use the simple + bbox comparison, we always declare those runs as overlapping and so we + cannot substitute a glyph mask. However, we can reduce the problem to + only checking for overlapping glyphs within a list and then checking for + overlapping lists. Very, very clever. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 8066bc33d78e78ce7c13833b08a7daaea2f3ed22 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Mon Jul 9 11:25:11 2012 +0100 + + sna: Fix reversal of inside logic for BitmapToRegion + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 8a9a17cd092d156272e8953974119f527b2b77eb +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Mon Jul 9 11:12:12 2012 +0100 + + sna: Improve the check for assertions + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit b11bc37684181390fc1400afb44054785104ca15 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Mon Jul 9 11:09:16 2012 +0100 + + sna: Simplify the DBG incarnation + + It was only ever used in conjunction with HAS_DEBUG_FULL. For debug + purposes it is as easy to redefine DBG locally. By simplifying the DBG + macro we can create it consistently and so reduce the number of compiler + warnings. + + Long term, this has to be dynamic. Sigh. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 21798a88676e91049917fafd3196dd4374b94226 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Mon Jul 9 09:23:20 2012 +0100 + + sna: Promote large operations to use the whole GPU + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 1b6ad7a6ae6820c8f66d1c80613885ee84e7d316 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Mon Jul 9 08:54:11 2012 +0100 + + sna: Only consider large clears as candidates for GPU migration + + If we only operating on a small region of the pixmap and have require + damage migration in the past, we are likely to require migration again + at some point. So keep track of small damage areas. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit d8a75538ea1d2a79d6282b0e2dfd73cfdea1a480 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Mon Jul 9 08:38:39 2012 +0100 + + sna: PadPixmap only writes to the out-of-bounds bits + + So we only need to delcare it as reading the source pixmap and not mark + it as damaged. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit eafb454edf188e7dada1ddf886d1e46f0151968d +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Mon Jul 9 08:38:08 2012 +0100 + + sna: Rename conflicting symbols with uxa + + Reported-by: Christoph Reiter <reiter.christ...@gmail.com> + Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51887 + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 0af29175a087cc2e509962f8828790c8f7232611 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Mon Jul 9 01:24:23 2012 +0100 + + sna: Just use a linear scan to find the terminating clip box + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 2941a5fe15626730869a48a63bb088e8ae2c0549 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Mon Jul 9 00:20:57 2012 +0100 + + sna: Remove the consideration of CPU damage for overwriting FillRect + + We consideer a singular FillRect to be a sequence point in the rendering + commands, that is it is usually used to clear the background as the first + operation in a drawing sequence. So it is useful to ask if we can move + the sequence to the GPU at that point. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 8be00b6d4767ffc09328d246d02ee75312ad5842 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Jul 8 20:48:40 2012 +0100 + + sna: Substitute the reduce clip region for fallback ops + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 0457935a70f6c1ae06f61f9ad0dd1bdc825465fa +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Jul 8 20:38:03 2012 +0100 + + sna: Review placement hints for fallback operations + + Look for those operations that maybe better via the GTT and those that + are preferred to be in CPU cache. The wonders of multiple layers of + heuristics. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit b7f0b0e7e3f66165b87c46f897de536cf74a9daf +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Jul 8 19:59:34 2012 +0100 + + sna: Remove function for force-to-gpu + + This is now enitrely done in the core move-to-gpu as a special case. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit bb8770158c08394c2de79e0ca1c1b3112e17dd23 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Jul 8 18:53:25 2012 +0100 + + sna: Apply the clear color when resizing the front buffer + + If the existing front buffer is clear, just apply the clear color to + then new buffer rather than copy the old one across. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 8dd14855d75240501aa2d089bcdfa46e7badbf18 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sun Jul 8 15:46:41 2012 +0100 + + sna/dri: Review stale comments + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 3bb7a530e77a5c6e8bae0fb14c570feafe37c2bd +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 7 20:53:27 2012 +0100 + + sna/dri: Fix cross-chaining of pageflip vs vblank + + And double-check that the drawable is still flippable before completing + the delay exchange. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 1454df8caa51fff9810a9b792d17aa82b247a4ae +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 7 19:59:50 2012 +0100 + + sna/dri: Use draw ref directly + + As we hook into the DestroyWindow notification, we can reliably use the + original Drawable reference and avoid the secondary object lookups. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 9abb6c09bdb9831db5f0626eed70663a2dc39fc6 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 7 18:43:06 2012 +0100 + + sna/dri: Remove dead code for 'old_fb' + + The member still exists but is never set and is unused. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit ad877abdc70b842afd202b2f97892d97a0b8d151 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 7 17:48:52 2012 +0100 + + sna/dri: Attach the chain of frame events to the Window, not pixmap + + So that we can have multiple clients swapping in separate windows + concurrently. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 81cd9aa80091b9bb08b50062f117d678a3bc7a91 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 7 16:12:49 2012 +0100 + + sna: Tweak start/stop of the deferred flush + + As we now emit work whenever we wakeup and find the GPU idle, we rarely + actually have pending work in the deferred flush queue, so try to avoid + installing a timer if we are not accumulating work. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 6cb0c631e4eafc09f1677c73906de9108d735de4 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 7 15:10:18 2012 +0100 + + sna/dri: Clarify the message for one failure case + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 9a314d18cef1e08b23f9dca861ad2ba396bb1080 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 7 14:56:05 2012 +0100 + + sna/dri: Add a couple of missing VG_CLEAR on vblanks + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 66a53c15cb5ee729fb43ea9713fd8538a3f982ad +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 7 14:46:08 2012 +0100 + + sna/dri: Couple the frame events into DestroyWindow + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 975a566bed72ddc79853b329307ed72a82df24b0 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 7 14:12:51 2012 +0100 + + sna/dri: Replace the DRI2 drawable type with a devPrivate + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 0da1c98f660269806408af5fd08c1ab5e538082e +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 7 12:15:28 2012 +0100 + + test: Add missing header for distcheck + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit e3e58123d36924c760ab6f58a7155a040422e91d +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Jul 6 15:22:26 2012 +0100 + + sna: Fixup fb wrapper + + To accommodate changes in the Xserver and avoid breakage; would have been + much easier had the fb been exported in the first place. + +commit 5d2f88fd9972c62c87098ddc7fee7b6f0cea0fdb +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 7 10:07:51 2012 +0100 + + sna: Add a couple of DBG flags to control upload buffers + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 18b3090381ac0fb61df96a7c6b2f12aacf180ee8 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Sat Jul 7 00:06:36 2012 +0100 + + sna: Fixup USE_INPLACE debug hint + + After we enabled inplace readback, we can just apply the INPLACE hint to + all fallbacks, but instead apply it to the automatic testing for a + potential inplace operation. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 24b59a8955eb15522ad334a541530aca937fcf07 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Jul 6 14:16:36 2012 +0100 + + sna: Refactor a common function: is_clipped() + + Had I done this earlier, I would not have the bug in the open-coded + version. Le sigh. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 68b357454af705f1ed3a9599435a402f2611a180 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Jul 6 10:58:06 2012 +0100 + + sna: Clear garbage from the new front buffer when resizing + + Avoid displaying a buffer filled with random junk when resizing (and + thereby creating a new) framebuffer. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 5784e0f21dc91f33c99a507105a0695cc53d6574 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Jul 6 09:42:37 2012 +0100 + + Allow matching against any device supported by drm/i915 + + However we cannot enable acceleration if we do not recognise its + hardware layout or instruction set. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 1ee10cc3b2aa0888753eeb25c7fde7296a3c92eb +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Fri Jul 6 00:01:58 2012 +0100 + + Make the detection of broken pre-production hardware verbose + + These SDV should have been returned to the manufacturer long ago and + replaced with real systems. So if they are still in use, add a gentle + reminder. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit cd2dd3016e0834d1636aa96511608022a4cdbcd1 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Jul 5 19:58:54 2012 +0100 + + sna: Fix clipping of glyphs-to-dst for partially obscurred windows + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 0f086acb259d7732560c5d0d642308de028a4445 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Wed Jul 4 12:26:18 2012 +0100 + + sna: Fallback to attaching a shadow fb if we fail to setup the crtc + + As we've chosen to fix the kernel to handle CRTC offsets > 4096, drop + the automatic workaround. However, allow the user to force creation of + PerCrtcPixmaps for the purpose of debugging (and to workaround the bug + in older kernels) and to fallback to trying a shadow fb if the setcrtc + fails with the composite fb. + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit 7e8060f837475c85cc061ba4a5388140cd227613 +Author: Chris Wilson <ch...@chris-wilson.co.uk> +Date: Thu Jul 5 03:31:12 2012 +0100 + + sna: Do not force GPU allocation if CPU bo is already busy + + Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> + +commit c32bb286dc9a489232030f6abe9076411fbcecfd -- 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/e1srphf-0005rn...@vasks.debian.org