Re: Xserver driver merging pros & cons

2011-09-18 Thread Keith Packard
On Mon, 19 Sep 2011 16:44:17 +1000, Peter Hutterer wrote: > If we're really concerned about the numbers changing in an unpredictable > manner and the difficulty of associating the server with a specific ABI, we > should consider switching to a date-based ABI major. 2019 or something > like t

Re: Xserver driver merging pros & cons

2011-09-18 Thread Peter Hutterer
On Sat, Sep 17, 2011 at 01:23:27PM +0100, Daniel Stone wrote: > Hi, > > On 17 September 2011 12:04, Matthieu Herrb wrote: > > On Thu, Sep 15, 2011 at 10:45:17AM -0500, Jesse Barnes wrote: > >> Cons: > >>  [...] > > > >   3) makes it harder to maintain out of tree drivers, since API > >      break

Re: Bus layer cleanups

2011-09-18 Thread Jamey Sharp
I've built each patch in the series and minimally tested that each resulting server works with the xf86-video-nested driver, a window manager, and an xterm. That means I'm not testing most of the changed code paths, but I'm doing what I can on this airplane... Patches 3 and 4 don't compile because

[PATCH resend] CreateRootWindow: Set root windows' drawable.x/y to -pScreen->x/y.

2011-09-18 Thread Jamey Sharp
A window's DrawableRec's x and y fields contain the offsets to be applied to protocol-visible window-relative coordinates in order to make those coordinates screen-relative instead. When Xinerama is active, coordinates relative to the root window need to be adjusted for each screen by the position

[PATCH] Replace XmuSnprintf with snprintf.

2011-09-18 Thread Jamey Sharp
Alan Coopersmith explains: XmuSnprintf() can be replaced by snprintf() now. (It was a implementation X provided for it's libraries to use in the days before all platforms we cared about had snprintf in libc.) Reported-by: walter harms Signed-off-by: Jamey Sharp --- hw/d

[PATCH dri2proto] RFCv3: video support for dri2

2011-09-18 Thread Rob Clark
From: Rob Clark To allow the potential use of overlays to display video content, a few extra parameters are required: + source buffer in different format (for example, various YUV formats) and size as compared to destination drawable + multi-planar formats where discontiguous buffers are us

Re: [PATCH libXi multitouch 3/4] Define macros for unstable protocol development

2011-09-18 Thread Chase Douglas
On 09/18/2011 10:37 AM, Dan Nicholson wrote: > On Sep 17, 2011 9:54 AM, "Chase Douglas" > wrote: >> >> On 09/17/2011 06:53 AM, Gaetan Nadon wrote: >> > On Sat, 2011-09-17 at 06:52 +1000, Peter Hutterer wrote: >> >> On Wed, Sep 14, 2011 at 10:33:56PM -0700, Chase

[PATCH] savage: Warn if broken drm maps are detected

2011-09-18 Thread Tormod Volden
From: Tormod Volden Linux kernel 2.6.30 - 2.6.39 had broken drm maps which would result in assorted problems. Leave a message in the log if it looks like the framebuffer map and the aperture map are mixed up. https://bugs.freedesktop.org/show_bug.cgi?id=32511 Signed-off-by: Tormod Volden ---

Re: [PATCH libXi multitouch 3/4] Define macros for unstable protocol development

2011-09-18 Thread Dan Nicholson
On Sep 17, 2011 9:54 AM, "Chase Douglas" wrote: > > On 09/17/2011 06:53 AM, Gaetan Nadon wrote: > > On Sat, 2011-09-17 at 06:52 +1000, Peter Hutterer wrote: > >> On Wed, Sep 14, 2011 at 10:33:56PM -0700, Chase Douglas wrote: > >> > Signed-off-by: Chase Douglas > > >> > --- > >> > configure.ac |

Re: [PATCH libXi multitouch 3/4] Define macros for unstable protocol development

2011-09-18 Thread Chase Douglas
On 09/17/2011 03:31 PM, Gaetan Nadon wrote: > On Sat, 2011-09-17 at 09:54 -0700, Chase Douglas wrote: >> On 09/17/2011 06:53 AM, Gaetan Nadon wrote: >> > On Sat, 2011-09-17 at 06:52 +1000, Peter Hutterer wrote: >> >> On Wed, Sep 14, 2011 at 10:33:56PM -0700, Chase Douglas wrote: >> >> > Signed-off-

Re: drivers to de-support (was: [PATCH 2/3] xorg-server.pc.in: Remove libpciaccess and pixman-1 from Requires)

2011-09-18 Thread Michael
Hello, On Sun, 18 Sep 2011 15:56:25 +0200 Michal Suchanek wrote: > On 18 September 2011 03:20, Michael wrote: > > Hello, > > > Sure, I'll get there eventually ;) > > There are some new drivers too ( for old hardware though ) which for now > > are kinda NetBSD-specific ( I made no real attempt

Re: drivers to de-support (was: [PATCH 2/3] xorg-server.pc.in: Remove libpciaccess and pixman-1 from Requires)

2011-09-18 Thread Michal Suchanek
On 18 September 2011 03:20, Michael wrote: > Hello, > Sure, I'll get there eventually ;) > There are some new drivers too ( for old hardware though ) which for now are > kinda NetBSD-specific ( I made no real attempt to keep > - xf86-video-crime, for the SGI O2. Register and DMA buffer mapping

Re: [PATCH] Add a 'wscons' autoconf mechanism to configure input devices on BSD.

2011-09-18 Thread Alexandr Shadchin
Three small notes: * Remove part USE_XKEYBOARD_CONFIG (Now this not used). * Is it correct to use priv_open_device() ? This is our local change. * Style, see below. Reviewed-by: Alexandr Shadchin On Sun, Sep 18, 2011 at 12:49:51PM +0200, Matthieu Herrb wrote: > This does not really handle hotplu

Re: [PATCH libXi] Use AM_CPPFLAGS to use in tree headers before installed headers

2011-09-18 Thread Gaetan Nadon
On Sun, 2011-09-18 at 01:01 -0700, Jeremy Huddleston wrote: > This addresses a build failure found by the tinderbox. > > Signed-off-by: Jeremy Huddleston > --- > > See: http://tinderbox.x.org/builds/2011-09-17-/logs/libXi > > src/Makefile.am |9 + > 1 files changed, 5 insertio

Re: drivers to de-support (was: [PATCH 2/3] xorg-server.pc.in: Remove libpciaccess and pixman-1 from Requires)

2011-09-18 Thread Michael
Hello, On Sat, 17 Sep 2011 16:55:47 +0100 Daniel Stone wrote: > Hi, > On 17 September 2011 02:36, Michael wrote: > > On Fri, 16 Sep 2011 21:13:10 -0400 > > Matt Turner wrote: > >> I think we should simply maintain the drivers we care about. I'll try > >> to keep -glint going. For other drivers

Re: drivers to de-support (was: [PATCH 2/3] xorg-server.pc.in: Remove libpciaccess and pixman-1 from Requires)

2011-09-18 Thread Michael
Hello, On Sat, 17 Sep 2011 11:59:29 -0400 Matt Turner wrote: > Where's the SGI O2's video driver? It's still not hosted on FDO. I > thought that was one reason you were getting commit access. cvs://anoncvs.netbsd.org/xsrc/external/mit/xf86-video-crime ;) Day job and other stuff kept me busy. Di

[PATCH] XGrabKey manual page fix

2011-09-18 Thread Alexander Polakov
I guess it's meant to be like this diff --git a/man/XGrabKey.man b/man/XGrabKey.man index 66e85e0..8b31dd1 100644 --- a/man/XGrabKey.man +++ b/man/XGrabKey.man @@ -290,7 +290,7 @@ alternatives can generate this error. .ZN BadWindow A value for a Window argument does not name a defined Window. .

[PATCH] Add a 'wscons' autoconf mechanism to configure input devices on BSD.

2011-09-18 Thread Matthieu Herrb
This does not really handle hotplug (it's handled inside the kernel, by the 'mux' devices), but uses the wscons console driver configuration to figure out the keyboard layout and the list of pointing devices found by the kernel. Signed-off-by: Matthieu Herrb --- config/Makefile.am |

Re: drivers to de-support (was: [PATCH 2/3] xorg-server.pc.in: Remove libpciaccess and pixman-1 from Requires)

2011-09-18 Thread Michal Suchanek
On 17 September 2011 01:53, Alan Coopersmith wrote: > On 09/16/11 01:54, Jeremy Huddleston wrote: >> >> On Sep 15, 2011, at 8:31 AM, Gaetan Nadon wrote: >> >>> A bonus would be a list of drivers that do use pciaccess (maybe not in >>> the commit text!). A complete list of drivers can be found in b

Re: [PATCH] savage: Fix Xv scaling on non-native resolutions

2011-09-18 Thread Tormod Volden
On Sat, Sep 17, 2011 at 5:52 PM, Matt Turner wrote: > > I don't know the hardware or Xv, but the changes look reasonable. > There are enough changes in -savage since the last release to warrant > a new one. Once this lands, let's do a new -savage release. Yes, that is my plan. There is a couple of

[PATCH libXi] Use AM_CPPFLAGS to use in tree headers before installed headers

2011-09-18 Thread Jeremy Huddleston
This addresses a build failure found by the tinderbox. Signed-off-by: Jeremy Huddleston --- See: http://tinderbox.x.org/builds/2011-09-17-/logs/libXi src/Makefile.am |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index c03

Re: libXi: Changes to 'master'

2011-09-18 Thread Jeremy Huddleston
3ed1b463205295a5ebba7d570a4cb8dfade51a38 introduced this warning which looks like a potential problem: XExtInt.c:1580:95: warning: shift count >= width of type [Semantic Issue] cls_lib->increment += (unsigned int)cls_wire->increment.frac/(double)(1UL << 32);