Re: [PATCH] Remove deprecated nv driver from autoconfiguration list

2010-03-31 Thread Mark Kettenis
From: Alan Coopersmith alan.coopersm...@oracle.com Date: Wed, 31 Mar 2010 13:38:08 -0700 Nvidia hardware will now default to vesa until an xorg.conf file is created to set it to nv, nvidia, or nouveau. The vesa driver only works on i386/amd64. Where does this leave users of other

Re: [PATCH] Define/use pad_to_pow_two() instead of open coding it

2010-03-24 Thread Mark Kettenis
From: Matt Turner matts...@gmail.com Date: Wed, 24 Mar 2010 13:57:15 -0400 diff --git a/hw/dmx/dmxpict.c b/hw/dmx/dmxpict.c index 072e3a6..51616bb 100644 --- a/hw/dmx/dmxpict.c +++ b/hw/dmx/dmxpict.c @@ -674,7 +674,7 @@ static int dmxProcRenderSetPictureFilter(ClientPtr client) if

Re: [PATCH] Use arc4random instead of rand where available

2010-03-23 Thread Mark Kettenis
From: Yann Droneaud ydrone...@mandriva.com Date: Tue, 23 Mar 2010 13:05:22 +0100 Le lundi 22 mars 2010 à 17:49 -0700, Jeremy Huddleston a écrit : I was thinking smaller would be more acceptable ... but I too would prefer something like OsRandom() in os/utils.c ... I would prefer

Re: [PATCH] Don't bother checking for O_ASYNC, glibc's had it since '98.

2010-03-12 Thread Mark Kettenis
From: Matt Turner matts...@gmail.com Date: Fri, 12 Mar 2010 01:50:46 -0500 No, seriously. 1998. No problems with dropping that Linux libc5 bit, but O_ASYNC isn't defined by POSIX, so I think the #ifdef O_ASYNC bits will have to stay. diff --git a/hw/xfree86/os-support/shared/sigio.c

Re: [PATCH] DRI2: make target_sbc signed

2010-03-04 Thread Mark Kettenis
Date: Thu, 4 Mar 2010 09:21:50 -0800 From: Jesse Barnes jbar...@virtuousgeek.org We need to track invalid targets as well as 0 targets, so just make it unsigned so our comparisons work like they should. This not only changes signedness, but also makes it 32-bit, at least on 32-bit systems.

Re: [PATCH kbproto 2/5] Convert mask specifications to (next - 1) scheme

2010-02-06 Thread Mark Kettenis
From: Dirk Wallenstein hals...@t-online.de Date: Fri, 5 Feb 2010 20:42:44 +0100 This makes editing flags less error-prone. But this doesn't work if the mask doesn't start with bit 0. Oh, and it changes the type of the constants too. I don't think this is a good idea. Signed-off-by: Dirk

Re: [PATCH:xload] Internationalize xload: Call gettext on strings printed to stderr

2010-01-30 Thread Mark Kettenis
From: Alan Coopersmith alan.coopersm...@sun.com Date: Fri, 15 Jan 2010 22:30:06 -0800 From: Jay Hobson jay.hob...@sun.com Originally done for Solaris 9 to fix Sun bug 4365629 http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4365629 Signed-off-by: Alan Coopersmith

Re: [PATCH] MAINTAINERS: add video-mach64, update video-ati

2009-12-17 Thread Mark Kettenis
From: Gaetan Nadon gaetan.na...@videotron.ca Date: Thu, 17 Dec 2009 14:56:54 -0500 On Wed, Dec 16, 2009 at 16:42:16 -0500, Gaetan Nadon wrote: Hi, I have added mach64. I updated ati by copying data from radeon. mach64 looks unmaintained to me. I was acting on

Re: [PATCH] util-macros: Addition of a meta data file xorg-macros.pc.in used by XORG_INSTALL

2009-12-02 Thread Mark Kettenis
From: Mikhail Gusarov dotted...@dottedmag.net Date: Thu, 03 Dec 2009 07:42:24 +0600 Twas brillig at 17:36:45 02.12.2009 UTC-08 when cwo...@cworth.org did gyre = and gimble: CW I hope I don't come across as incredibly dense, but I still don't CW understand why this .pc file must be

Re: [PATCH 2/2] I/O port access routines

2009-11-19 Thread Mark Kettenis
From: Adam Jackson a...@redhat.com Date: Thu, 19 Nov 2009 13:58:52 -0500 On Thu, 2009-11-19 at 18:25 +0100, Luc Verhaegen wrote: The baby was thrown out with the bathwater with libpciaccess and vga arbitration, and now suddenly the plan seems to be to put these new enable/disable

Re: [PATCH 2/2] I/O port access routines

2009-11-19 Thread Mark Kettenis
From: Adam Jackson a...@redhat.com Date: Thu, 19 Nov 2009 10:23:49 -0500 On Thu, 2009-11-19 at 00:13 +0100, Mark Kettenis wrote: From: Adam Jackson a...@redhat.com Date: Wed, 18 Nov 2009 14:28:57 -0500 Signed-off-by: Adam Jackson a...@redhat.com --- include/pciaccess.h

Re: [PATCH 2/2] I/O port access routines

2009-11-18 Thread Mark Kettenis
From: Adam Jackson a...@redhat.com Date: Wed, 18 Nov 2009 14:28:57 -0500 Signed-off-by: Adam Jackson a...@redhat.com --- include/pciaccess.h | 14 src/Makefile.am |1 + src/common_io.c | 95 src/linux_sysfs.c | 184

[PATCH] Don't mess with the blender unit on chips that don't have it.

2009-11-11 Thread Mark Kettenis
Where your typical x86 machine silently ignores writes to non-existing registers, UltraSPARC machines generate a bus error. So we shouldn't write to the alpha blender setup register on the Imagine 1 and Imagine 2 that don't seem to have the blender unit. Signed-off-by: Mark Kettenis mark.kette

Re: [PATCH] xfree86: Use SA_SIGINFO if available for SIGIO handlers

2009-11-10 Thread Mark Kettenis
From: Adam Jackson a...@redhat.com Date: Tue, 10 Nov 2009 15:03:31 -0500 This one's slightly subtle, the fcntl(F_SETSIG) is required for -si_fd to actually be filled in correctly, at least on Linux. I know this area has been sensitive to platform variation in the past, so I'd appreciate a

Re: [Mesa3d-dev] glX TLS disabled by default?

2009-11-09 Thread Mark Kettenis
From: Adam Jackson a...@nwnk.net Date: Mon, 09 Nov 2009 10:51:13 -0500 On Sat, 2009-11-07 at 16:29 -0800, Ian Romanick wrote: tom fogal wrote: Is there any reason TLS for glX is disabled by default? Most systems support TLS these days, do they not? Further, I'm not sure if this is

[PATCH] i128: Make use of hardware byteswap on big-endian platforms.

2009-11-01 Thread Mark Kettenis
Fixes 16 and 32 bit-per-pixel modes with a Tech Source Raptor GFX-8M board on OpenBSD/sparc64 (although a few more diffs are needed for a working driver). Signed-off-by: Mark Kettenis mark.kette...@xs4all.nl --- src/i128init.c | 15 ++- 1 files changed, 14 insertions(+), 1

Re: [PATCH] [alpha] Remove unused code, _dense_* functions, iobase stuff

2009-11-01 Thread Mark Kettenis
From: Matt Turner matts...@gmail.com Date: Sun, 1 Nov 2009 15:05:08 -0500 This code has been unused since the switch to libpciaccess. It really should have been killed by fba700f1f6a8976. Uh, what makes you think so? As far as I can tell, libpciaccess only handles mmio. One could argue

Re: [PATCH] Abstract calls to in/out with IN/OUT macros

2009-11-01 Thread Mark Kettenis
From: Matt Turner matts...@gmail.com Date: Sun, 1 Nov 2009 14:01:20 -0500 This will allow us to include sys/io.h and use libc's in/out when available. While I sympathise with your attempt to clean up the mess in compiler.h, this will break at least one driver (xf86-video-i128).

Re: [PATCH] [alpha] Remove unused code, _dense_* functions, iobase stuff

2009-11-01 Thread Mark Kettenis
Date: Sun, 1 Nov 2009 16:15:47 -0500 From: Matt Turner matts...@gmail.com On Sun, Nov 1, 2009 at 4:04 PM, Mark Kettenis mark.kette...@xs4all.nl wrote: From: Matt Turner matts...@gmail.com Date: Sun,  1 Nov 2009 15:05:08 -0500 This code has been unused since the switch to libpciaccess

Re: [PATCH] Add support for RENDER BGRA formats.

2009-10-31 Thread Mark Kettenis
From: Adam Jackson a...@nwnk.net Date: Thu, 29 Oct 2009 18:33:20 -0400 To make the card work properly I still have to solve two issues: =20 1. It seems the ACNTRL register doesn't exist on the i128v2 chip. Writes to this register result in a PCI bus error. This was probably

Re: [PATCH] Add support for RENDER BGRA formats.

2009-10-29 Thread Mark Kettenis
From: Adam Jackson a...@nwnk.net Date: Wed, 28 Oct 2009 10:39:29 -0400 (--) PCI: (0:0:3:0) 105d:2339:105d:000b Number 9 Imagine-128 II rev 2, Mem @ 0x0200/8388608, 0x0280/8388608, 0x0300/8388608, 0x0380/8388608, 0x0016/65536, I/O @ 0x0600/256, BIOS @

Re: [PATCH] Add support for RENDER BGRA formats.

2009-10-27 Thread Mark Kettenis
From: Michael macal...@netbsd.org Date: Tue, 13 Oct 2009 15:22:55 -0400 Hello, Hi Michael, Sorry for the late reply; I just returned from a trip to India. ... which reminds me - I have an SBus card with ( among others ) an I128. I wrote an accelerated kernel driver for NetBSD using the

Re: Splitting hardware access out of xserver (in/out, int10, xf86emu)

2009-10-27 Thread Mark Kettenis
Date: Thu, 22 Oct 2009 15:59:38 -0400 From: Matt Turner matts...@gmail.com rnoland and I discussing on IRC how to clean the in/out functions/macros/disasters. He suggested moving them to libpciaccess or drm. Similarly, it seems to me that x86emu and int10 could be split into separate

Re: [PATCH] Add support for RENDER BGRA formats.

2009-10-27 Thread Mark Kettenis
From: Adam Jackson a...@nwnk.net Date: Tue, 13 Oct 2009 14:51:26 -0400 On Fri, 2009-10-09 at 11:26 +0200, Mark Kettenis wrote: Hmm, right. The two hunks above were aimed towards my first approach f= or fixing radeon KMS on big endian machines, by making the root window visual

Re: Splitting hardware access out of xserver (in/out, int10, xf86emu)

2009-10-27 Thread Mark Kettenis
From: Adam Jackson a...@nwnk.net Date: Tue, 27 Oct 2009 13:35:45 -0400 On Tue, 2009-10-27 at 16:56 +0100, Mark Kettenis wrote: That said, the way in/out are used in the xserver and associated (PCI) drivers is really bogus. Their usage should be replaced by a mechanism similar to how

Re: [PATCH] Add support for RENDER BGRA formats.

2009-10-09 Thread Mark Kettenis
On Thu, 2009-10-08 at 19:11 -0700, Aaron Plattner wrote: On Sun, Aug 02, 2009 at 08:00:01AM -0700, wrote: diff --git a/composite/compinit.c b/composite/compinit.c index dfc3929..6159e4e 100644 --- a/composite/compinit.c +++ b/composite/compinit.c @@ -238,6 +238,7 @@ static

Re: [PATCH 1/3] Remove shave now that automake-1.11 has AM_SILENT_RULES

2009-10-06 Thread Mark Kettenis
From: Alan Coopersmith alan.coopersm...@sun.com Date: Mon, 5 Oct 2009 17:27:27 -0700 Revert Add shave so that we can see the steaming piles of warnings generated. This reverts commit 181cc08c8908a119fc403f970dea8cc98d3e0b9b. shave was left in the xserver 1.7 release/branch to allow

Re: luit: Cygwin compatibility

2009-10-06 Thread Mark Kettenis
From: Adam Jackson a...@nwnk.net Date: Tue, 06 Oct 2009 11:21:13 -0400 On Mon, 2009-10-05 at 19:08 -0500, Yaakov (Cygwin/X) wrote: Cygwin has O_NOCTTY but no TIOCSCTTY, so the tty is never made=20 controlling. This raises two questions: =20 1) What is the point of O_NOCTTY if

Re: [PATCH] Use PRId32/PRIx32 from inttypes.h for printf of CARD32 values.

2009-10-05 Thread Mark Kettenis
From: Adam Jackson a...@nwnk.net Date: Mon, 05 Oct 2009 15:41:05 -0400 On Sun, 2009-10-04 at 06:57 -0400, Thomas Dickey wrote: On Sun, 4 Oct 2009, Mark Kettenis wrote: @@ -219,7 +219,7 @@ port_rep_inb(xf86Int10InfoPtr pInt, register int inc =3D3D d_f ? -1 : 1; CARD32 dst

Re: [PATCH] Use PRId32/PRIx32 from inttypes.h for printf of CARD32 values.

2009-10-04 Thread Mark Kettenis
Date: Sun, 4 Oct 2009 12:06:02 +1100 From: Daniel Stone dan...@fooishbar.org On Fri, Oct 02, 2009 at 01:42:46PM -0700, Jamey Sharp wrote: Signed-off-by: Jamey Sharp ja...@minilop.net --- hw/xfree86/int10/helper_exec.c | 28 ++-- 1 files changed, 14

Re: Removing direct graphics access from DGA

2009-09-20 Thread Mark Kettenis
From: Keith Packard kei...@aiko.keithp.com Date: Sun, 20 Sep 2009 14:00:50 -0700 Yes, I've seen DGA work, and it could be made to work again on at least some of our hardware. However, it's been broken for any driver exposing RandR 1.2, and the last bug report about this was from 2007.

Re: [PATCH] Prefer locally defined symbols in modules

2009-09-08 Thread Mark Kettenis
Date: Tue, 08 Sep 2009 09:03:30 -0700 From: Alan Coopersmith alan.coopersm...@sun.com I don't see RTLD_DEEPBIND on Solaris, so we'd need some #ifdef's there - the closest match I seen in our dlopen() man page would be to turn off DLOPEN_GLOBAL and use _LOCAL instead, though using the direct

Re: [PATCH 1/4] Hide a number of private symbols

2009-07-31 Thread Mark Kettenis
From: Julien Cristau jcris...@debian.org Date: Fri, 31 Jul 2009 13:49:39 +0200 Add _X_HIDDEN for some symbols that aren't used outside of Xlib. Make _XKeyInitialize static (with the associated code movement inside src/KeyBind.c) +#ifdef XKB +_X_HIDDEN +#endif +KeySym

Re: [RFC][PATCH 3/6] xfree86: delete devices probe code (-probe and -probeonly options)

2009-07-14 Thread Mark Kettenis
From: Tiago Vignatti tiago.vigna...@nokia.com Date: Tue, 14 Jul 2009 20:06:40 +0300 In a near future KMS drivers will do all device's configuration inside the kernel. For those that don't want/need/can't do the mode setting inside the kernel, then we need to design a tool _external_ from

Re: [RFC][PATCH 0/6] towards the dietary: removing libpciaccess dependency from Xorg

2009-07-14 Thread Mark Kettenis
Date: Tue, 14 Jul 2009 21:43:10 +0300 From: Vignatti Tiago (Nokia-D/Helsinki) tiago.vigna...@nokia.com Hi, On Tue, Jul 14, 2009 at 07:23:38PM +0200, ext Alan Coopersmith wrote: Alan Coopersmith wrote: A lot of documentation and people start with Run Xorg -configure to generate a

Re: [PATCH 01/18] include: introduce byte counting functions.

2009-07-09 Thread Mark Kettenis
Date: Thu, 9 Jul 2009 19:53:17 +1000 From: Peter Hutterer peter.hutte...@who-t.net On Thu, Jul 09, 2009 at 11:01:54AM +0200, David Jander wrote: On Thursday 09 July 2009 02:04:59 Peter Hutterer wrote: This patch adds the following three functions: num_bytes_for_bits(bits) - the

<    1   2   3   4   5   6