[PATCH] modesetting: Support native primary plane rotation

2014-07-11 Thread Chris Wilson
With the advent of universal drm planes and the introduction of generic plane properties for rotations, we can query and program the hardware for native rotation support. NOTE: this depends upon the next release of libdrm to remove one opencoded define. v2: Use enum to determine primary plane,

[PATCH] Fix ODEV_ATTRIB_DRIVER overlapping with ODEV_ATTRIB_FD

2014-07-11 Thread Hans de Goede
Looks like the value of ODEV_ATTRIB_DRIVER was not updated when the patch adding it got rebased on top of a newer server version. This fixes the xserver crashing when systemd-logind integration is used. https://bugzilla.redhat.com/show_bug.cgi?id=1118540 Signed-off-by: Hans de Goede

Re: [PATCH] Fix ODEV_ATTRIB_DRIVER overlapping with ODEV_ATTRIB_FD

2014-07-11 Thread Keith Packard
Hans de Goede hdego...@redhat.com writes: Looks like the value of ODEV_ATTRIB_DRIVER was not updated when the patch adding it got rebased on top of a newer server version. This points out some weaknesses in the config_odev API; it shouldn't be possible to crash the server in this way. Here's a

[PATCH] Avoid mesa_dri_drivers import lib being installed

2014-07-11 Thread Jon TURNEY
On Cygwin and MinGW, linking a shared library also generates an import library Use a wildcard which also matches the name of the megadriver import lib, mesa_dri_drivers.dll.a, so that is also removed after megadriver symlinks are created (This then matches src/gallium/targets/dri/Makefile.am,

Re: [PATCH] Avoid mesa_dri_drivers import lib being installed

2014-07-11 Thread Jon TURNEY
On 11/07/2014 14:33, Jon TURNEY wrote: On Cygwin and MinGW, linking a shared library also generates an import library Ooops. Wrong list. Sorry. ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info:

[PATCH] Fix locking bugs with XIAllowTouchEvents() and XIUngrabTouchBegin()

2014-07-11 Thread otaylor
From: Owen W. Taylor otay...@fishsoup.net Fix two places where the display was double locked when an API function chained to an implementation that also locks the display. --- src/XIAllowEvents.c | 6 +- src/XIPassiveGrab.c | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git

Re: [PATCH] Fix locking bugs with XIAllowTouchEvents() and XIUngrabTouchBegin()

2014-07-11 Thread Jasper St. Pierre
On Fri, Jul 11, 2014 at 1:54 PM, otay...@redhat.com wrote: From: Owen W. Taylor otay...@fishsoup.net Fix two places where the display was double locked when an API function chained to an implementation that also locks the display. --- src/XIAllowEvents.c | 6 +- src/XIPassiveGrab.c |

Re: [PATCH] Revert glamor: Fix coordinates handling for composite source/mask pictures

2014-07-11 Thread Keith Packard
Michel Dänzer mic...@daenzer.net writes: On 24.06.2014 16:09, Michel Dänzer wrote: This reverts commit 4e9aabb6fc15d8052934f20c6a07801c197ec36a. It broke kwin decorations with XRender compositing. After several complaints about this revert from users of other DEs (because it broke their

[PATCH] Fix locking bugs with XIAllowTouchEvents() and XIUngrabTouchBegin()

2014-07-11 Thread otaylor
From: Owen W. Taylor otay...@fishsoup.net Fix two places where the display was double locked when an API function chained to an implementation that also locks the display. --- src/XIAllowEvents.c | 7 +-- src/XIPassiveGrab.c | 1 + 2 files changed, 2 insertions(+), 6 deletions(-) diff --git

Re: [PATCH] Fix locking bugs with XIAllowTouchEvents() and XIUngrabTouchBegin()

2014-07-11 Thread Owen Taylor
Jasper St. Pierre wrote: int touchid, LockDisplay(dpy); if (_XiCheckExtInit(dpy, XInput_2_2, extinfo) == -1) return (NoSuchExtension); - - status = _XIAllowEvents(dpy, deviceid, event_mode, CurrentTime, touchid, grab_window); - UnlockDisplay(dpy); - SyncHandle(); - return status; +

[PATCH v2] xfree86: Only support one sysconfigdir

2014-07-11 Thread Aaron Plattner
When the X server is compiled with --prefix set to something other than /usr, then it ends up with a nonstandard sysconfigdir in its .pc file. This causes various other components to install their xorg.conf.d snippets there. However, the X server first looks for /usr/share/X11/xorg.conf.d before

[PATCH:libX11 2/2] specs/libX11: Correct value of IconicState to match Xutil.h

2014-07-11 Thread Alan Coopersmith
Xutil.h has always had a value of 3 for IconicState, since 2 was previously used for the long-obsolete ZoomState, so make the spec match what programs have used for decades. Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- specs/libX11/CH14.xml |2 +- 1 file changed, 1

[PATCH:libX11 1/2] Use C99 named initializers to fill in events passed to XSendEvent

2014-07-11 Thread Alan Coopersmith
Forces compiler to zero-fill unset fields in the struct (fixing bug 81236) and allows optimizer to order field initialization to best fit cache layout or other considertations. Before after output of gcc -S on AMD64 shows insertion of rep stosq instructions to rapidly zero-fill structs.

[PATCH vmmouse] Fix wheel button labels

2014-07-11 Thread Loïc Yhuel
Wheel is using buttons 4/5, but btn_labels array is 0-based. It matches mouse and evdev drivers, and fixes wheel in Qt5.3. --- src/vmmouse.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vmmouse.c b/src/vmmouse.c index 523f4fd..7ed94e9 100644 --- a/src/vmmouse.c

Re: [PATCH:libX11 1/2] Use C99 named initializers to fill in events passed to XSendEvent

2014-07-11 Thread Matthieu Herrb
On 07/12/2014 06:22 AM, Alan Coopersmith wrote: Forces compiler to zero-fill unset fields in the struct (fixing bug 81236) and allows optimizer to order field initialization to best fit cache layout or other considertations. Before after output of gcc -S on AMD64 shows insertion of rep stosq

Re: [PATCH:libX11 2/2] specs/libX11: Correct value of IconicState to match Xutil.h

2014-07-11 Thread Matthieu Herrb
On 07/12/2014 06:22 AM, Alan Coopersmith wrote: Xutil.h has always had a value of 3 for IconicState, since 2 was previously used for the long-obsolete ZoomState, so make the spec match what programs have used for decades. Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com