xserver-xorg-video-intel: Changes to 'debian-experimental'
debian/upstream.changelog | 3450 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 3450 insertions(+)
New commits:
commit 6d42291f98461fe7bebe2e5fc4146bb6c6d106dc
Author: Vincent Cheng <vcheng@debian.org>
Date: Mon Jun 2 23:54:48 2014 -0700
Update upstream changelog
diff --git a/debian/upstream.changelog b/debian/upstream.changelog
index 6ef20cd..e21b719 100644
--- a/debian/upstream.changelog
+++ b/debian/upstream.changelog
@@ -1,3 +1,3453 @@
+commit 582adf067c275a18f55bb43945348b84cb7eb3c4
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Mar 19 14:57:25 2014 +0000
+
+ 2.99.911 snapshot
+
+commit 6802ee00e52515ca886b956f6c0a0e27d708fb31
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Mar 19 10:25:05 2014 +0000
+
+ sna: Assert after applying clipping that the draw rectangle is wholly contained
+
+ Otherwise we ignore the purpose of applying the clip!
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 15be6b7c9a89bfdac923d2a27649f539c430366f
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Mar 18 16:31:07 2014 +0000
+
+ uxa: Implement minimal flushing for bdw+
+
+ Based on the patch by Kenneth Graunke,
+ "Several places (such as intel_cache_expire) call intel_emit_batch_flush,
+ so it needs to work on Broadwell. Sometimes the batch is empty, in
+ which case current_batch may not yet be BLT_RING.
+
+ The PIPE_CONTROL code has not been ported to work on Broadwell, so
+ trying to do a render ring flush will hang the GPU. It also doesn't
+ make any sense to do a render ring flush, given that we never use the
+ render ring for UXA on Broadwell."
+
+ Cc: Kenneth Graunke <kenneth@whitecape.org>
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 6446bf96f0cc01e730c240f7ed5c91f5d2292139
+Author: Hans de Goede <hdegoede@redhat.com>
+Date: Tue Mar 18 15:16:30 2014 +0100
+
+ intel: Don't close the fd on probe failure if it is server managed
+
+ I hit this corner case when testing a single X server spanning both intel
+ gfx + an usb display link adapter driven by xf86-video-modesetting.
+
+ In this scenario the intel driver gets its platformProbe method called first,
+ and if it then closes the server managed fd, the xf86-video-modesetting gets
+ EBADFD errors.
+
+ Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+
+commit 4a6e09c6cdb13773bca5f6831f9f5164008699c9
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Mar 18 15:52:19 2014 +0000
+
+ uxa: Add support for server managed fds (via intel_device)
+
+ Based on the patch by Hans de Goede, this removes the handling of
+ drmOpen() and DRM_MASTER from within uxa and instead uses the common
+ routines. This reduces the duplicate code from within uxa, and enables
+ new features such as server managed fds.
+
+ Cc: Hans de Goede <hdegoede@redhat.com>
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit dc66e663a06f2ce7685eba1fdf9fad01786bcb4f
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Mar 17 13:46:05 2014 +0000
+
+ sna: Improve guard against loading palettes whilst headless
+
+ Whilst hosted, which is very similar to being headless, we do not even
+ have the kmode pointer and so checking kmode->count_crtcs is fatal.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 28ebbe8fa902a1d3ee4ecbda5041de5e7b68ada7
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Mar 17 07:56:39 2014 +0000
+
+ sna: Fix logic inversion in use of imprecise transform conversion
+
+ An accidental drop of the if (!is_translation) broke composite copies
+ under a transform.
+
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76244
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 57e63221ec0fa304a02beed356549cadb28bcf19
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Mar 14 19:49:59 2014 +0000
+
+ intel-virtual-output: Minor DBG fixes
+
+ Improve the summary after failing to detect MIT-SHM, and fix a DBG
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 8cc1f005c69786243ac69f6505087071787e6f87
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Mar 14 15:55:41 2014 +0000
+
+ intel-virtual-output: Iterate over remote outputs in the same order as listed
+
+ If we walk the output lists in the same order as they are listed by
+ RandR, we are more likely to hit favourable priority sorting. E.g. the
+ user is likely to setup the outputs in the same order as listed, meaning
+ fewer CRTC transitions etc.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit a55bbe3b598616ef4464e50cb9364c8cdf0b513a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Mar 14 15:47:20 2014 +0000
+
+ intel-virtual-output: Disable panning before setting mode on CRTC
+
+ For whatever reason, presumably to do with the switch between CRTCs, we
+ need to disable the panning before setting the mode in order for our
+ desired CRTC position to take effect.
+
+ Reported-by: Jeff Katz <bugzilla@kraln.com>
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76146
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 5079830bd5f01740c4cbf84888bdf7a93bb2868e
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Mar 14 14:34:48 2014 +0000
+
+ intel-virtual-output: Mode names are freed with ScreenResources
+
+ So we have to be careful not to continue to reference the strings after
+ they may be freed.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit c64d2572bafeacae25e9b58c8372ce91858c3832
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Mar 14 13:08:43 2014 +0000
+
+ sna: Allow some leeway when deciding to discard common translations
+
+ Under PictFilterNearest, we can ignore fractional translations (not all
+ renderers discard those.) And if we are being approximate, we can loosen
+ our tolerance as well.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit b61e6398f0cf94d3c483e30c05ceae4a8383d16c
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Mar 14 11:32:38 2014 +0000
+
+ sna: Ensure we flush SHM pixmaps if rendering to a GPU shadow
+
+ Normally, we try to render into the CPU bo of a SHM pixmap. However, under
+ the right circumstances we may try to do a series of rendering into the
+ GPU bo and then copy it back to the CPU bo. In that case, we need to be
+ sure to mark the pixmap as requiring the flush.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit f47f192f2240d19ede0a3a59b7970e4f563f3195
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Mar 14 09:17:36 2014 +0000
+
+ intel-virtual-output: Include extra debug information for modesets
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 0ad54325e94c4fd144c9fbcba25c3d167b6c5e18
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Mar 14 07:42:32 2014 +0000
+
+ intel-virtual-output: Disable remote CRTCs at startup
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit cbcc1b6190ab733c9ab11543af4a4eb1890225e4
+Author: Kenneth Graunke <kenneth@whitecape.org>
+Date: Thu Mar 6 13:12:32 2014 -0800
+
+ uxa: Enable BLT acceleration on Broadwell.
+
+ This supports solid, copy, put_image, and get_image acceleration via the
+ BLT engine. RENDER acceleration (composite) and Xv would be piles of work,
+ which is not worth doing since SNA exists, and Glamor is coming.
+
+ Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
+
+commit c1d7abadbb0009e9f2b9d8d3744d4ae5c13a1c8f
+Author: Kenneth Graunke <kenneth@whitecape.org>
+Date: Thu Mar 6 13:12:31 2014 -0800
+
+ uxa: Remove implicit length from BLT command #defines.
+
+ These command packets grew on Gen8.
+
+ Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
+
+commit 44fe21018330e0ce750ce25be36cc780ccdb78eb
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Mar 13 08:52:45 2014 +0000
+
+ sna/gen6+: Simplify BLT vs RENDER decisions for fill ops
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 5d8ded0dd671fbcbd212e06afbea88a7a56a8f0d
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Mar 13 08:51:29 2014 +0000
+
+ sna: Nullify extra fill.ops
+
+ I forgot that the initial memset(&fill, 0, sizeof(fill)) was no longer
+ performed and we rely on explicit initialisation during the setup, so
+ add the missing fields.
+
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76088
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 923b158e5c5dd50f943fe315a058410aeaa76269
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Mar 13 08:14:48 2014 +0000
+
+ intel: Fallback to drmGetDeviceNameFromFd()
+
+ If we are not supplied the path, call the libdrm function to search for
+ the canonical name for our device.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 202787ffa2bae5b1455137a344dabb9d85ee3aa0
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Mar 12 23:57:04 2014 +0000
+
+ sna: Restore asserts that we do not map a freed buffer
+
+ The complication comes with stolen bo that we treat as purged (because
+ they have no backing storage we can access) and so require an extra
+ caveat.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 4368a74b1c904625158f0b6baf98ef2a60bb54d4
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Mar 12 17:37:01 2014 +0000
+
+ sna: Add DBG around using pixman's glyph cache
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 08d73f1a4499cfe7c3121ff2ecdd36729c5f3544
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Mar 12 12:17:55 2014 +0000
+
+ sna: Only couple up a proxy->rq when inserting into the request->buffers list
+
+ Otherwise, we may never decouple it again afterwards leading to a
+ dangling pointer dereference.
+
+ Bugzilla: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1289923
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 2f50261539618c30c8470a5795fe5c2440e2318f
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Mar 12 10:51:56 2014 +0000
+
+ sna: Simplify code when no 64-bit registers are available in the ISA
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 20026626d28b304a6156fb2c49752e18f2498de5
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Mar 7 13:18:07 2014 +0000
+
+ sna: Missing fixes for using BLT points
+
+ On a lone machine I had a vital fix for setting the destination tiling
+ bit inside the XY_PIXEL_BLT command. Sadly, I forgot about the fix before
+ the patch from another machine.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit fd189c868908c81e7c57abf442ec1659efc2637a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Mar 11 11:37:01 2014 +0000
+
+ sna/glyphs: Add a smattering of DBG for validating the glyph mask
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit d31569455ca25b7050a240cad58bea492c58194a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Mar 11 10:46:06 2014 +0000
+
+ sna: Avoid using the wrong pitch for comparing replacement sizes
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 8c5593037f31159532da992ae3b503c3b4a42f8e
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Mar 11 10:44:52 2014 +0000
+
+ sna: Assert that the pixmap pitch is initialised before use
+
+ This is a sanity check that the pixmap is mapped for use by the CPU
+ prior to us actually using it.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit dd1ff3230292a31d366c96b97711d7df97362093
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Mar 11 10:06:24 2014 +0000
+
+ intel: Protect against a NULL platform device with server fd
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 59f2f4885dbead3f2aece668f48c3ac749f724c2
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Mar 11 10:00:27 2014 +0000
+
+ intel: Fix versioning of SUPPORTS_SERVER_FD
+
+ The current snapshot is 1.15.99.901, which means that the new feature
+ will first be available in 1.15.99.902.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 78970676e79d462cf99509012db54479ba93c01a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Mar 11 07:33:09 2014 +0000
+
+ sna: Be defensive when applying size restrictions to bo
+
+ The assumption that all paths prevalidate the restrictions upon creation
+ the bo are false. Some important paths try to force the bo creation in
+ order to meet client expectations (e.g. DRI). So we are faced with
+ impossible requests which must fail, so make sure we do report those
+ failures.
+
+ Bugzilla: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1289049
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit d10a5abcbd7c751adc08e24d9f4bdc33596b6f12
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Mar 7 19:44:07 2014 +0000
+
+ intel: Supply a fallback guess for the device path
+
+ If for some reason we have an fd, but no device path, use the likely
+ default path (derived from and validated against the major/minor of the
+ open device fd).
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 28cab948f50b1d67468edbd9c8e10d3d696155f5
+Author: Hans de Goede <hdegoede@redhat.com>
+Date: Fri Mar 7 14:13:38 2014 +0100
+
+ intel: Add support for server managed fds
+
+ In the post-modern world, the platform device nodes are handed to a
+ non-privileged Xserver by systemd/logind. We can then query the core for
+ our assigned fd rather than try to open the device for ourselves (which
+ would fail when trying to obtain DRM_MASTER status). A consequence is
+ that we then do not directly control DRM_MASTER status and must act as a
+ delegate of systemd.
+
+ Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+
+commit e5f8118bdbc4655d987ab1c52e0a46fa85cc92c4
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Mar 10 22:12:39 2014 +0000
+
+ sna: DBG compilation fixups
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 6ed8570f6aa01fdd4edc3df7585f01083b4a9778
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Mar 10 16:39:50 2014 +0000
+
+ sna: Pass render hints for migration based on source location
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 955b5de4ba103fb115ec0b45f9b59eb2628ca3dd
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Mar 10 16:38:54 2014 +0000
+
+ sna/glyph: Release the pixman glyph cache along the error paths
+
+ If we lock the glyph cache and then hit an error, we must make sure we
+ release our lock. An easy way would be not to lock when we may err.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit e1cb0284218aaf248e251ac0d12fee4bcd3c7650
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Mar 10 15:01:10 2014 +0000
+
+ sna/gen2: Fix build after last minute patch editing
+
+ Whoops, the selective editing of the patch left a trailing '{' and
+ breaking the build.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 142f8461944b294dbc3fb0a7bf607bccf0bccc1f
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Mar 10 15:20:16 2014 +0000
+
+ sna/gen2: Tidy blend factor selection for the source
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 0075c90d3192ba90ff1ae8a7b04bfc3ff4fccda7
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Mar 10 15:17:51 2014 +0000
+
+ sna/gen2: Fix alpha blending with 8bit destination surfaces
+
+ On gen2 (like gen3), 8-bit destination surfaces are read into the Green
+ channel (and written to from the Green channel). Therefore the expected
+ alpha blending must instead be converted to colour blending.
+
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75818
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit f0b70ca660416af42be8b3f76f9e38a81dcac464
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Mar 7 08:16:50 2014 +0000
+
+ sna: Unroll finding bbox of points
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 928453b1bc5a059a87fbcdba9156d318a0310073
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Mar 7 08:15:21 2014 +0000
+
+ sna: Emit points using the BLT primitive when appropriate
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit a2b4f2657f8cd503fce4e3b8cc3240d7b45d36ce
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Wed Mar 5 09:51:24 2014 +0000
+
+ sna/gen8: Correct MOCS settings for render targets
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit a7123410a33f29c67a11f26d17ce8b0dc09cc594
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Mon Mar 3 10:12:11 2014 +0000
+
+ NEWS: Fix dates for 2014
+
+ It has come to my attention that between December and January is
+ traditionally a New Year.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit a3bfb4d3c15e6a37aba5d2f5ba92134c5186e3a4
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Feb 28 08:47:21 2014 +0000
+
+ sna: Reorder writes during thread task decoupling
+
+ So that the lockless reads do not see the task complete signal prior to
+ marking the task as successful. Otherwise, we falsely detect that the
+ thread trapped a signal and kill them all.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 37d080929a20bd969749c6c12d1ef4ebe236063f
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Feb 27 08:36:40 2014 +0000
+
+ sna: Limit the WHOLE_HINT to large PutImages
+
+ The goal here is to predict when we are uploading an entire image though
+ multiple PutImage requests. If the image is small enough, then the
+ PutImage will be contained within a single request and the damage
+ tracking will be accurate.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 27ac9f574f65cbd535751c925e9b2e2d7c8a6b3a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Feb 27 08:33:52 2014 +0000
+
+ sna: Avoid promoting region-to-whole migration and discarding damage
+
+ Fixes regression from
+ commit 1de1104064b5898cbed37e836901694a381c1266
+ Author: Chris Wilson <chris@chris-wilson.co.uk>
+ Date: Fri Feb 21 22:43:04 2014 +0000
+
+ sna: Use a hint to do whole image uploads inplace
+
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75549
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit ff49944928c7399527b11bb0da7699711591c21a
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Feb 21 21:21:46 2014 +0000
+
+ sna: Tighten assertion for tiling blt fallbacks
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit cf4683209d11ca7382079feb242cc0c07fefc402
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 22 20:17:08 2014 +0000
+
+ sna/gen6+: Add missing DBG argument
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit a4d23ff3b2a75cc5a1c65b6b8464fc639c9f90b8
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 22 19:35:40 2014 +0000
+
+ sna: Add DBG for why trapezoids may be preferred inplace
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit d316d14283d8af86e4c5020f9974280570a78959
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 22 19:31:39 2014 +0000
+
+ sna: Include mono/precise hints in trapezoids DBG
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 2a144baec87b17ead36373a8c5fd80f37be3ac19
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 22 19:19:11 2014 +0000
+
+ sna: Add a little more DBG to watch the flow of allocated bo sizes
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 921e9aff3f8e7c4a33c352241311aeb4df3011fc
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 22 18:29:27 2014 +0000
+
+ sna: Avoid signed overflow when printing allocated bytes in DBG
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit b0b6c043c997732559a971a788c24a5a73812df4
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 22 18:22:38 2014 +0000
+
+ sna: Cleanup caches if execbuf fails
+
+ One of the failure modes for execbuf is running out of memory - often
+ this is reported as a false ENOSPC (thanks shmemfs!). Because of this,
+ we should try to resubmit after we purge our caches.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit bfef9916124973b5e08f9b32eb1fcfb400ee4e8b
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 22 18:12:24 2014 +0000
+
+ sna: Propagate thread signals for extra DBG
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 64fc1bb9c87e95ff484ecd11f391b1c0d556d584
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 22 14:34:05 2014 +0000
+
+ sna: Allow SIGBUS/SEGV to kill the thread
+
+ To handle sigtrapping of the threads, we allow the threads to handle
+ their async signals and upon hitting the trap, we kill the thread. All
+ the rest of the threads are reaped by the main xserver thread
+ afterwards.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 900499bff962a63e1d9b5f808d1deb65d55754a2
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 22 13:58:11 2014 +0000
+
+ sna: Move sigtrap wrapping closer to threaded sw composite
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit aae3bfeb28ca86b416a6a4de71eb23cdb46cf9de
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 22 12:44:16 2014 +0000
+
+ sna: Assert that sigtrap is active
+
+ Curiouser and curiouser.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 75cff26ebad33aca7ade7aa5a650235a7d42e47c
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 22 10:05:41 2014 +0000
+
+ sna: Apply the dst offset for pixman fills
+
+ Along one of the sw blt paths we failed to apply the offset for
+ Composite redirection.
+
+ Reported-by: Jiri Slaby <jirislaby@gmail.com>
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73811
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 59d471de7fc7581b112f37a68714d0e1f8728dfd
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 22 08:35:50 2014 +0000
+
+ sna: Handle asynchronous signals from threads
+
+ By killing the threads and leaking their allocations - marginally
+ preferrable to losing the entire Xserver.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 1de1104064b5898cbed37e836901694a381c1266
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Feb 21 22:43:04 2014 +0000
+
+ sna: Use a hint to do whole image uploads inplace
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 2c0aacb869bea34620a2b0029ddfa7f2a9513dc7
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Feb 21 21:48:36 2014 +0000
+
+ sna: Allow allocation to fail even when debugging
+
+ Let the malloc failure propagate rather than assert.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit cb87b179532a9b533df458f3367fde7fc3d64d0c
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Feb 21 21:41:52 2014 +0000
+
+ sna: Wrap inplace trapezoid operators with SIGBUS protection
+
+ For the moment, this still leaves open the vexing question of how to
+ protect the multi-threaded variants, but it should provide more shelter
+ for extreme OOM.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit b6fc46d63c5b7bc1347d4e03e71df9e6fdbcaaab
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Feb 21 21:21:46 2014 +0000
+
+ sna: Tighten assertion for tiling blt fallbacks
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit be6d218c6888bce41e15a8e4899618b5e6eacd99
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Feb 21 19:43:30 2014 +0000
+
+ sna: Do not attempt fallback configuration without any CRTCs
+
+ The fallback xf86InitialConfiguration() is another function that may
+ explode if called without any CRTCs attached.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 769a959d84d7e573b11cc1a7d85c122f17dfeea0
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Feb 21 13:43:09 2014 +0000
+
+ sna: Do not register colormaps without any CRTCs
+
+ The xserver may crash if we try to setup colormap handling without any
+ CRTCs, so don't.
+
+ Suggested-by: Dave Airlie <airlied@gmail.com>
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 0b92b1285ce553c4f475c7fb8ac57ba418009682
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Feb 20 19:18:46 2014 +0000
+
+ backlight: Make search routine for device specific backlight common
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit caaf52834015c084704cf638f453b1fc3316eaa9
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Feb 20 07:51:40 2014 +0000
+
+ sna: Query cursor size from the kernel
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit c91af569ee90a832899c9038badd84921e9a87fc
+Author: Mark Kettenis <mark.kettenis@xs4all.nl>
+Date: Tue Feb 18 19:02:14 2014 +0000
+
+ backlight: Build fixes for OpenBSD
+
+ Chris would like to humbly apologise for making these changes to the
+ OpenBSD code blind, and to thank Mark and Jonathan for their support
+ and understanding.
+
+commit ecc20fbcf8d5adb6c3b7d005c01788e35bba9d3c
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue Feb 18 07:56:07 2014 +0000
+
+ intel-virtual-output: Discard unwanted events from the mouse recorder
+
+ X always sends MappingNotify events (there is no way for the client
+ to ignore them). In particular, MappingNotify would be sent after a VT
+ switch, and this would knock out our ability to track the cursor..
+
+ Reported-by: Raul Dias <raul@dias.com.br>
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75115
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit e860b3eaedcb5d56745d5bcc9ce720e9a0e9c293
+Author: Hans de Goede <hdegoede@redhat.com>
+Date: Mon Feb 17 13:16:54 2014 +0100
+
+ backlight-helper: Simplify reading the level from stdin
+
+ Since the helper is a standalone app, the usual xserver rules of not using
+ stdio because of signal handling don't apply.
+
+ And since the helper does run with elevated rights, it is important to keep
+ the code KISS so that it can be audited easily.
+
+ This commit replaces the hard to read "raw" read loop with a much simpler
+ loop using fgets, improving readability of the code.
+
+ Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+
+commit b5229c6e15964e723a7bb99d3c2c20a2fa168e3b
+Author: Hans de Goede <hdegoede@redhat.com>
+Date: Mon Feb 17 13:16:53 2014 +0100
+
+ backlight: Drop rights before executing pkexec
+
+ Event though we've failed to open the backlight normally, we may still be
+ running under a suid-root xserver, so drop any elevated rights before
+ executing what we hope will be pkxec.
+
+ Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+
+commit 27a9dc4ce8fa3ba56f68e04d11a6272348772039
+Author: Hans de Goede <hdegoede@redhat.com>
+Date: Mon Feb 17 13:16:52 2014 +0100
+
+ backlight: Use System instead of system when checking for pkexec
+
+ Even though we've failed to open the backlight normally, we may still be
+ running under a suid-root xserver, so use the servers build in System instead
+ of system so as to properly drop root rights.
+
+ Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+
+commit 06066b7269b5ccf502c27466ad0434adfd9e3866
+Author: Hans de Goede <hdegoede@redhat.com>
+Date: Mon Feb 17 13:16:51 2014 +0100
+
+ backlight: Explain better why we support both pkexec and suid root for the helper
+
+ Update the comment about trying suid-root first with some explanations of
+ why pkexec may be preferable in some cases.
+
+ Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+
+commit 6b5c2b4515b646db6be0f9307f53651620516521
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 15 21:03:49 2014 +0000
+
+ backlight: tidy use of BACKLIGHT_CLASS
+
+ Use string concantenation to simply the sprintf slightly.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit eb7d2b19e2829b00317991fba05352e3ba1a1902
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 15 21:00:57 2014 +0000
+
+ backlight: Reject user overrides on OpenBSD
+
+ We only handle the singular wscons OpenBSD interface for backlight, so
+ explicitly reject any user requests for something else.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 268842a47f05508fc7e1c69cd21e8e66a000dcde
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 15 19:54:30 2014 +0000
+
+ backlight: Amalgamate hardcoded priority tables
+
+ Our fallback path for finding the backlight interface uses a hardcoded
+ table of known backlight controllers in proirity order. Rather than
+ maintain this table twice in the midst of the KMS logic, push it to the
+ new set of common backlight routines.
+
+ This incorporates bugfixes from SNA to handle unknown backlights, but
+ usable, gracefully.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit b71f3d8bd4d6773899c1bdc903911cf240e68ead
+Author: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+Date: Sat Feb 15 17:53:16 2014 +0100
+
+ Backlight helper build fixes
+
+ Don't hardcode $(prefix)/libexec
+
+ Fix install hook when DESTDIR is set
+
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75028
+
+commit 3d629c91cfa98b75c6685c2a2003e64fd1b612c4
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Sat Feb 15 14:55:09 2014 +0000
+
+ intel: Add a helper for setting backlight without root rights
+
+ Once the xserver stops running as root on kms capabable systems, we will need
+ some other way to access the backlight.
+
+ The approach taken in this patch moves most of the heavy lifting to a
+ helper that runs with root privileges and pipes our requested brightness
+ into the sysfs backlight interface. Where required, we use pkexec to
+ launch the helper with the elevated privilege.
+
+ v2: Amalgamate much more of the duplicate code.
+ Keep the daemon and pipe alive for the lifetime of the backlight interface.
+ Provide an alternative for systems without PolicyKit.
+
+ Signed-off-by: Hans de Goede <hdegoede@redhat.com> [v1]
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit a01548ccf192a5b1fa1f4a3e31e1634db39f6b39
+Author: Hans de Goede <hdegoede@redhat.com>
+Date: Sat Feb 15 00:02:36 2014 +0100
+
+ intel: export fd_set_cloexec / fd_set_nonblock
+
+ Allow fd_set_cloexec / fd_set_nonblock to be used outside of intel_device.c.
+
+ Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+
+commit 5601f8cc330fe88eadfa7238659c5abb223e3b28
+Author: Hans de Goede <hdegoede@redhat.com>
+Date: Sat Feb 15 00:02:35 2014 +0100
+
+ intel: Fix fd_set_nonblock
+
+ O_NONBLOCK is a status flag not a descriptor flag, so F_GETFL / F_SETFL should
+ be used to modify it.
+
+ Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+
+commit 8eb6335653e6e38228ecf95c3eef82ca2a864e45
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Feb 14 19:36:47 2014 +0000
+
+ sna: Inherit the native rotation on initial output probing
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 5f8714335729b4fbbb33d89dbaf0f13aa3d8427b
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Feb 14 16:18:34 2014 +0000
+
+ sna: Reorganise native rotation ioctls to compile on old Linux
+
+ It is not just the BSDs that lack these ioctls in their userspace
+ headers, but everything older than about a year...
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 699bde3991624c25d3b731caf7129ed87710b3b3
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Feb 14 15:11:21 2014 +0000
+
+ sna: Guard use of DRM_MODE_OBJECT type ids
+
+ These are not currently exported on OpenBSD and cause the build to fail.
+ Hide their use behind an ifdef guard for the time being.
+
+ "I noticed the following when trying to compile xf86-video-intel git on OpenBSD:
+
+ /usr/users/jsg/src/xf86-video-intel/src/sna/sna_display.c:2106: error: 'DRM_MODE_OBJECT_CRTC' undeclared (first use in this function)
+ /usr/users/jsg/src/xf86-video-intel/src/sna/sna_display.c:2106: error: (Each undeclared identifier is reported only once
+ /usr/users/jsg/src/xf86-video-intel/src/sna/sna_display.c:2106: error: for each function it appears in.)
+ /usr/users/jsg/src/xf86-video-intel/src/sna/sna_display.c:2107: error: 'DRM_MODE_OBJECT_PLANE' undeclared (first use in this function)"
+
+ Reported-by: Jonathan Gray
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 37dbd669415ac82a79b3699da0450aaf68cb1c4c
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Fri Feb 14 14:53:14 2014 +0000
+
+ sna: Check that the backlight interface is in sysfs before access
+
+ Before we write values into the file, we want to be sure that it is our
+ sysfs backlight interface, and not some ordinary file we are about to
+ destroy.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 3a893d14cd227454826a9a86cb3ce227d04bc352
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Feb 13 22:46:22 2014 +0000
+
+ sna: Increase the acceptable screen size range
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 2d9fcb3f729e3959dd30b7d7859438894b806b34
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Feb 13 22:36:36 2014 +0000
+
+ sna: Filter out requests to create a 0x0 frontbuffer
+
+ Attempting to create a 0x0 frontbuffer results in erroneous pixmap
+ generation, and is liable to explode at a random point in future, so
+ just reject it outright.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 1037a1a3f6a8dbde017a28a7b59ef5398c84dba1
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Feb 13 21:36:26 2014 +0000
+
+ sna: Fix comparison of previous BLT commands
+
+ After altering the command bits to accommodate Broadwell, we needed to
+ fixup the comparison of previous BLT commands to detect overwritten
+ commands.
+
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 9a9f6a9487201e4c80338e771eec28067f044240
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Feb 13 16:18:43 2014 +0000
+
+ uxa: Check for access to backlight interface
+
+ Before attaching properties to any connector, check that we can indeed
+ control the backlight through the sysfs interface by doing an access
+ check. If the xserver is started without root privileges, we cannot
+ write through /sys/class/backlight and so should take care not to
+ advertise that we can.
+
+ Reported-by: Hans de Geode <hdegeode@redhat.com>
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 611490a176d9bfd136f4340f7c31e0e0f0beea4e
+Author: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu Feb 13 16:18:43 2014 +0000
+
+ sna: Check for access to backlight interface
+
+ Before attaching properties to any connector, check that we can indeed
+ control the backlight through the sysfs interface by doing an access
+ check. If the xserver is started without root privileges, we cannot
+ write through /sys/class/backlight and so should take care not to
+ advertise that we can.
+
+ Reported-by: Hans de Geode <hdegeode@redhat.com>
+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit 83d17cded854871fd41cd3fcf25f38c9b67a4705
Reply to: