Re: [PATCH xrandr] Split verbose mode printing into a helper function

2015-04-22 Thread Aaron Plattner
On 04/22/2015 12:10 AM, Kenneth Graunke wrote: On Thursday, April 09, 2015 11:18:58 AM Aaron Plattner wrote: Combine the two forms of verbose mode printing into a single function. Pass the 'current' and 'preferred' flags as arguments. This fixes the code that prints unassociated modes to

[xserver PATCH] dix: Send KeyPress and KeyRelease events to the XACE_KEY_AVAIL hook

2015-04-22 Thread Andrew Eikum
While it's documented in the XACE spec, the XACE_KEY_AVAIL hook is currently never actually invoked by the xserver. This hook was added in 13c6713c82 (25 Aug 2006), but as the keyboard processing was moved into XKB, the hook was forgotten and silently dropped. The code calling this hook was

[PATCH] composite: Don't bother copying the pixmap for ForgetGravity windows

2015-04-22 Thread Jasper St. Pierre
If a window has ForgetGravity in its bitGravity, that very likely means it will repaint on the ConfigureNotify / Expose event, and thus we don't have to copy the old pixmap into the new pixmap, we can simply leave it blank. Preventing this copy is super simple to do and a big win on small devices

Re: [PATCH:lbxproxy] Ensure lbxMaxServers stays within a reasonable range

2015-04-22 Thread Alan Coopersmith
On 04/21/15 11:50 PM, Kenneth Graunke wrote: Never heard of this software before now :) Consider yourself lucky. I read up on it a bit; it sounds like hardly anyone actually uses it. Since the server side was dropped around Xorg 1.2 or so, there shouldn't be, but I know some

Re: [PATCH] xfree86: attempt to autoconfig gpu slave devices (v3)

2015-04-22 Thread Alex Deucher
On Tue, Apr 21, 2015 at 9:08 PM, Dave Airlie airl...@gmail.com wrote: On 1 April 2015 at 11:33, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com This allows us to skip the screen section, the first Device section will get assigned to the screen, any remaining ones

Re: glamor cleanups

2015-04-22 Thread Kenneth Graunke
On Tuesday, March 24, 2015 01:25:49 PM Eric Anholt wrote: Here are some documentation fixes and dead code removal from glamor, as well as a tiny patch from trying to figure out how some of the large pixmap code works. This can be found on the glamor-cleanups branch of my tree. Series is:

Re: [PATCH] glamor: fix build when DRI3 is not defined

2015-04-22 Thread Kenneth Graunke
On Wednesday, April 15, 2015 09:29:58 PM Jonathan Gray wrote: Signed-off-by: Jonathan Gray j...@jsg.id.au --- glamor/glamor_egl.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/glamor/glamor_egl.c b/glamor/glamor_egl.c index 6033780..dc54561 100644 ---

Re: [PATCH:lbxproxy] Ensure lbxMaxServers stays within a reasonable range

2015-04-22 Thread Kenneth Graunke
On Thursday, April 16, 2015 10:15:41 PM Alan Coopersmith wrote: Avoid opportunity for integer overflow when allocating servers array. Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- di/utils.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/di/utils.c

Re: [PATCH] glamor: remove const from the return type of glamor_get_drawable_location()

2015-04-22 Thread Kenneth Graunke
On Wednesday, April 15, 2015 09:29:07 PM Jonathan Gray wrote: Fixes a build error with gcc 4.2.1 on OpenBSD due to -Werror=return-type from xorg-macros. error: type qualifiers ignored on function return type Signed-off-by: Jonathan Gray j...@jsg.id.au --- glamor/glamor_core.c | 2 +-

Re: [PATCH xrandr] Split verbose mode printing into a helper function

2015-04-22 Thread Kenneth Graunke
On Thursday, April 09, 2015 11:18:58 AM Aaron Plattner wrote: Combine the two forms of verbose mode printing into a single function. Pass the 'current' and 'preferred' flags as arguments. This fixes the code that prints unassociated modes to print the flags as well. Signed-off-by: Aaron

Re: [PATCH] Add amdgpu as a default driver for AMD GPUs

2015-04-22 Thread Michel Dänzer
On 22.04.2015 00:51, Aaron Plattner wrote: Is there any chance you could use the new OutputClass match rules in /usr/share/X11/xorg.conf.d rather than adding to this list? Yes, that seems to work nicely. :) Thanks for the suggestion! This patch is retracted. -- Earthling Michel Dänzer

[PULL] Build fixes for MinGW

2015-04-22 Thread Jon Turney
Hi Keith, A few patches to fix building Xserver using the MinGW-w64 toolchain. I'm not sure what the status is of releasing 1.18, so I can resend this after that is done, if you prefer. Please consider pulling into master. The following changes since commit