[PATCH xorg-gtest] xserver: add GetVersion() to retrieve server version

2012-08-07 Thread Peter Hutterer
For non-integrated tests, knowing the X server version is important. Signed-off-by: Peter Hutterer --- I thought about decomposing this string into numbers, but really, strcmp() will likely handle 90% of the cases we need include/xorg/gtest/xorg-gtest-xserver.h | 10 ++ src/xserver.cp

[PATCH xorg-gtest] process: use fork(), not vfork()

2012-08-07 Thread Peter Hutterer
>From the man page: The vfork() function has the same effect as fork(2), except that the behavior is undefined if the process created by vfork() either modifies any data other than a variable of type pid_t used to store the return value from vfork(), or returns from the function in which vf

Re: [PATCH 1/7] xfree86/loader: Do not unload sibling modules.

2012-08-07 Thread Peter Hutterer
On Tue, Aug 07, 2012 at 03:51:18PM -0700, Keith Packard wrote: > Michal Suchanek writes: > > > Ping? > > I'm not getting the feeling that this is resolving a known bug, so I > think it should wait for X server 1.14 at this point. Yes, I won't get to review this in time for 1.13, unfortunately.

[PATCH 3/3] Kludge -- Call RandR screen before cleaning up xf86 crtcs

2012-08-07 Thread Keith Packard
The core RandR screen cleanup now involves cleaning up any GPU screen associations, and those call down into DDX to clean up the driver. If the pointers from the xf86 structures back to the core randr structures are set to NULL at that point, bad things happen. This patch "knows" that the core Ran

[PATCH 2/3] Close GPU screens before core screens

2012-08-07 Thread Keith Packard
This should make cleaning up the GPU screens easier as the core screens they are associated with will still be around. Signed-off-by: Keith Packard --- dix/main.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dix/main.c b/dix/main.c index 42f517d..fb935

[PATCH 1/3] Only free Render filter names on last screen close

2012-08-07 Thread Keith Packard
Hotplugging screens causes the render filter names to get freed while still in use; wait for the last core screen to be closed before freeing them. That only happens at server reset, when we want them to be freed. Signed-off-by: Keith Packard --- render/filter.c |5 - 1 file changed, 4 i

Re: [PATCH 1/7] xfree86/loader: Do not unload sibling modules.

2012-08-07 Thread Keith Packard
Michal Suchanek writes: > Ping? I'm not getting the feeling that this is resolving a known bug, so I think it should wait for X server 1.14 at this point. -- keith.pack...@intel.com pgpx3l2pNuqKs.pgp Description: PGP signature ___ xorg-devel@lists.

Re: libdrm-2.4.37: use ETIMEDOUT instead of ETIME?

2012-08-07 Thread Mark Kettenis
> From: Matt Turner > Date: Tue, 17 Jul 2012 12:04:26 -0700 > > On Tue, Jul 17, 2012 at 11:58 AM, Thomas Klausner wrote: > > On Tue, Jul 17, 2012 at 07:02:56AM -0700, Matt Turner wrote: > >> On Mon, Jul 16, 2012 at 11:34 AM, Thomas Klausner wrote: > >> > libdrm-2.4.37 added a use of ETIME (from

Naive questions about Spice virtual frame buffer driver

2012-08-07 Thread Jeremy White
The xf86-video-qxl driver is an Xorg driver, based on the dummy driver and some UXA code, which provides a virtualized Spice guest environment by linking to and running the Spice server code. Altogether, that stack is known as Xspice. I've been spending a lot of time with xf86-video-qxl in an at

Re: [PATCH 2/2] Bump glproto requirement to 1.4.16

2012-08-07 Thread Keith Packard
Julien Cristau writes: > Keith can you merge this patch? Thanks for the reminder. Merged. 02f94b2..9ca67de master -> master -- keith.pack...@intel.com pgpQP0RBtf9Ei.pgp Description: PGP signature ___ xorg-devel@lists.x.org: X.Org development Ar

Re: [PATCH 1/7] xfree86/loader: Do not unload sibling modules.

2012-08-07 Thread Michal Suchanek
Ping? ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel

Re: [PATCH 2/2] Bump glproto requirement to 1.4.16

2012-08-07 Thread Julien Cristau
Keith can you merge this patch? Thanks, Julien On Sun, Jul 15, 2012 at 04:45:41 +1000, Dave Airlie wrote: > On Sun, Jul 15, 2012 at 12:07 AM, Julien Cristau wrote: > > Signed-off-by: Julien Cristau > > Reviewed-by: Dave Airlie > > > --- > > configure.ac |2 +- > > 1 file changed, 1 ins