Re: [PATCH RFC] configurable maximum number of clients

2015-05-28 Thread Alan Coopersmith
On 05/28/15 08:56 AM, Olivier Fourdan wrote: Make the maximum number of client user configurable, either from the command line or from xorg.conf This patch works by keeping the MAXCLIENTS define (of 512) as the maximum allowed number of clients, but allowing the actual limit to be set by the

Re: [PATCH] glamor: don't do render ops with matching source/dest (v3)

2015-05-28 Thread Eric Anholt
Dave Airlie airl...@gmail.com writes: From: Dave Airlie airl...@redhat.com XRender defines this, GL really doesn't like it. kwin 4.x and qt 4.x seem to make this happen for the gradient in the titlebar, and on radeonsi/r600 hw this draws all kinds of wrong. v2: bump this up a level, and

Re: [PATCH] glamor: don't do render ops with matching source/dest

2015-05-28 Thread Jasper St. Pierre
I wonder if we should tell the Qt people about this so they can get back on the fast path? In any case, makes sense. Reviewed-by: Jasper St. Pierre jstpie...@mecheye.net On Wed, May 27, 2015 at 10:31 PM, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com XRender

Re: [PATCH 2/3] present: Query the Window's CRTC every time

2015-05-28 Thread Michel Dänzer
On 28.05.2015 18:30, Chris Wilson wrote: On Thu, May 28, 2015 at 06:27:34PM +0900, Michel Dänzer wrote: On 28.05.2015 18:07, Chris Wilson wrote: On Thu, May 28, 2015 at 05:56:15PM +0900, Michel Dänzer wrote: On 28.05.2015 17:38, Chris Wilson wrote: On Thu, May 28, 2015 at 04:59:14PM +0900,

Re: [PATCH v3 2/3] linux: Add a may_fail paramter to linux_parse_vt_settings

2015-05-28 Thread Peter Hutterer
typo in the subject: parameter On Tue, May 19, 2015 at 10:10:20AM +0200, Hans de Goede wrote: linux_parse_vt_settings() was split out of xf86OpenConsole so that it can be called earlier during systemd-logind init, but it is possible to run the xserver in such a way that xf86OpenConsole() is

[PATCH] glamor: don't do render ops with matching source/dest (v3)

2015-05-28 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com XRender defines this, GL really doesn't like it. kwin 4.x and qt 4.x seem to make this happen for the gradient in the titlebar, and on radeonsi/r600 hw this draws all kinds of wrong. v2: bump this up a level, and check it earlier. (I assume the was for

Re: [PATCH 2/3] present: Query the Window's CRTC every time

2015-05-28 Thread Michel Dänzer
On 27.05.2015 15:51, Chris Wilson wrote: On Tue, May 26, 2015 at 02:30:32PM -0700, Keith Packard wrote: Michel Dänzer mic...@daenzer.net writes: The old code also called present_get_crtc() unless pixmap == NULL, so the problem couldn't affect flips but only MSC waits. The original code was

[PULL 1.17.x] unaccelerated valuator masks

2015-05-28 Thread Peter Hutterer
This is needed for the SDL + libinput combination, but mainly I want this in the offical branch so we have a standardised ABI bump that distros can rely on (input abi bumped to 21.1) The following changes since commit 27846c49e883a47d80a33fd2979ee4357f776ffd: backtrace.c: Fix word cast to a

Re: [PATCH 2/3] present: Query the Window's CRTC every time

2015-05-28 Thread Chris Wilson
On Thu, May 28, 2015 at 04:59:14PM +0900, Michel Dänzer wrote: On 27.05.2015 15:51, Chris Wilson wrote: On Tue, May 26, 2015 at 02:30:32PM -0700, Keith Packard wrote: Michel Dänzer mic...@daenzer.net writes: The old code also called present_get_crtc() unless pixmap == NULL, so the

Re: [PATCH 2/3] present: Query the Window's CRTC every time

2015-05-28 Thread Chris Wilson
On Thu, May 28, 2015 at 05:56:15PM +0900, Michel Dänzer wrote: On 28.05.2015 17:38, Chris Wilson wrote: On Thu, May 28, 2015 at 04:59:14PM +0900, Michel Dänzer wrote: The patch below is an alternative fix for the problem I'm seeing, while preserving the window CRTC for MSC waits when

Re: [PATCH 2/3] present: Query the Window's CRTC every time

2015-05-28 Thread Michel Dänzer
On 28.05.2015 17:38, Chris Wilson wrote: On Thu, May 28, 2015 at 04:59:14PM +0900, Michel Dänzer wrote: On 27.05.2015 15:51, Chris Wilson wrote: On Tue, May 26, 2015 at 02:30:32PM -0700, Keith Packard wrote: Michel Dänzer mic...@daenzer.net writes: The old code also called present_get_crtc()

Re: [PATCH] glamor: don't do render ops with matching source/dest (v2)

2015-05-28 Thread Dave Airlie
On 28 May 2015 at 16:09, Keith Packard kei...@keithp.com wrote: Dave Airlie airl...@gmail.com writes: From: Dave Airlie airl...@redhat.com XRender defines this, GL really doesn't like it. kwin 4.x and qt 4.x seem to make this happen for the gradient in the titlebar, and on radeonsi/r600 hw

Re: [PATCH] glamor: don't do render ops with matching source/dest (v2)

2015-05-28 Thread Dave Airlie
On 28 May 2015 at 16:17, Dave Airlie airl...@gmail.com wrote: On 28 May 2015 at 16:09, Keith Packard kei...@keithp.com wrote: Dave Airlie airl...@gmail.com writes: From: Dave Airlie airl...@redhat.com XRender defines this, GL really doesn't like it. kwin 4.x and qt 4.x seem to make this

Re: [PATCH 1/5] modesetting: Improve the ms_flush_drm_events() API.

2015-05-28 Thread Michel Dänzer
On 22.04.2015 09:58, Kenneth Graunke wrote: Previously, ms_flush_drm_events() returned a boolean value, and it was very easy to interpret the meaning incorrectly. Now, we return an integer value. The possible outcomes of this call are: - poll() raised an error (formerly TRUE, now -1 -

Re: [PATCH] glamor: don't do render ops with matching source/dest (v2)

2015-05-28 Thread Keith Packard
Dave Airlie airl...@gmail.com writes: From: Dave Airlie airl...@redhat.com XRender defines this, GL really doesn't like it. kwin 4.x and qt 4.x seem to make this happen for the gradient in the titlebar, and on radeonsi/r600 hw this draws all kinds of wrong. v2: bump this up a level, and

Re: [PATCH 2/3] present: Query the Window's CRTC every time

2015-05-28 Thread Michel Dänzer
On 28.05.2015 18:07, Chris Wilson wrote: On Thu, May 28, 2015 at 05:56:15PM +0900, Michel Dänzer wrote: On 28.05.2015 17:38, Chris Wilson wrote: On Thu, May 28, 2015 at 04:59:14PM +0900, Michel Dänzer wrote: The patch below is an alternative fix for the problem I'm seeing, while preserving

Re: [PATCH 2/3] present: Query the Window's CRTC every time

2015-05-28 Thread Chris Wilson
On Thu, May 28, 2015 at 06:27:34PM +0900, Michel Dänzer wrote: On 28.05.2015 18:07, Chris Wilson wrote: On Thu, May 28, 2015 at 05:56:15PM +0900, Michel Dänzer wrote: On 28.05.2015 17:38, Chris Wilson wrote: On Thu, May 28, 2015 at 04:59:14PM +0900, Michel Dänzer wrote: The patch below is