Re: [PATCH:libpciaccess 1/2] Move 'const' to correct place, so it has meaning.

2013-06-12 Thread Alan Coopersmith
Thanks for following these through - I've now pushed both patches of this set to git master: To ssh://git.freedesktop.org/git/xorg/lib/libpciaccess 719888a..5aff35d master - master Looks like we should make a libpciaccess 0.13.2 release soon with all the changes that have accumulated since

Re: [PATCH:xrandr 2/2] Use __UNCONST to work around const problem.

2013-06-12 Thread Thomas Klausner
On Thu, Jun 06, 2013 at 11:23:00PM -0700, Alan Coopersmith wrote: On 06/ 2/13 05:15 PM, Thomas Klausner wrote: On Mon, Jun 03, 2013 at 01:37:31AM +0200, Thomas Klausner wrote: On Sun, Jun 02, 2013 at 04:35:51PM -0700, Alan Coopersmith wrote: On 06/ 2/13 12:30 PM, Thomas Klausner wrote: XXX:

Re: [PATCH xf86-video-cirrus] Add basic EXA acceleration for the alpine driver.

2013-06-12 Thread Matthieu Herrb
On Mon, Jun 10, 2013 at 10:12:17PM +0200, Matthieu Herrb wrote: This provides only SolidFill and Copy acceleration, like XAA did. Ping... For other drivers that also could use basic EXA acceleration now that XAA is gone, I'm considering removing XAA support completely. The logic to be able

Re: [PATCH 2/6] gpu: host1x: Fix syncpoint wait return value

2013-06-12 Thread Terje Bergström
On 11.06.2013 15:09, Daniel Vetter wrote: Maybe it wasn't clear, but -EAGAIN does _not_ resubmit work. -EAGAIN is used to restart the ioctl if we had to kick a thread (to make sure it doesn't hold any locks), e.g. for a blocking wait on oustanding rendering. The codepaths taken work exactly as

[PATCH:libpciaccess 1/3] Enable boot_vga support only if WSDISPLAYIO_GET_BUSID is defined.

2013-06-12 Thread Thomas Klausner
Fixes build on NetBSD-5. --- src/netbsd_pci.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/netbsd_pci.c b/src/netbsd_pci.c index 3566d7b..c9bd052 100644 --- a/src/netbsd_pci.c +++ b/src/netbsd_pci.c @@ -248,6 +248,7 @@ pci_device_netbsd_write(struct pci_device *dev, const void

[PATCH:libpciaccess 2/3] Fix build on NetBSD-4.

2013-06-12 Thread Thomas Klausner
--- configure.ac | 10 ++ src/netbsd_pci.c | 13 + 2 files changed, 23 insertions(+) diff --git a/configure.ac b/configure.ac index 3441b63..537cfe3 100644 --- a/configure.ac +++ b/configure.ac @@ -108,7 +108,17 @@ AC_SYS_LARGEFILE AC_CHECK_HEADERS([err.h]) +if test

[PATCH:libpciaccess 3/3] Support more pci functions on NetBSD.

2013-06-12 Thread Thomas Klausner
From Chuck Silvers c...@chuq.com based on openbsd_pci.c. Signed-off-by: Thomas Klausner w...@netbsd.org --- src/netbsd_pci.c | 335 +++ 1 file changed, 335 insertions(+) diff --git a/src/netbsd_pci.c b/src/netbsd_pci.c index 2d99680..ab49272

Re: [PATCH:libpciaccess 1/2] Move 'const' to correct place, so it has meaning.

2013-06-12 Thread Thomas Klausner
On Tue, Jun 11, 2013 at 11:22:32PM -0700, Alan Coopersmith wrote: Thanks for following these through - I've now pushed both patches of this set to git master: To ssh://git.freedesktop.org/git/xorg/lib/libpciaccess 719888a..5aff35d master - master Thank you! Looks like we should make a

Re: [PATCH 2/6] gpu: host1x: Fix syncpoint wait return value

2013-06-12 Thread Daniel Vetter
On Wed, Jun 12, 2013 at 12:28 PM, Terje Bergström tbergst...@nvidia.com wrote: On 11.06.2013 15:09, Daniel Vetter wrote: Maybe it wasn't clear, but -EAGAIN does _not_ resubmit work. -EAGAIN is used to restart the ioctl if we had to kick a thread (to make sure it doesn't hold any locks), e.g.

Re: [PATCH:libpciaccess 1/3] Enable boot_vga support only if WSDISPLAYIO_GET_BUSID is defined.

2013-06-12 Thread walter harms
Am 12.06.2013 13:43, schrieb Thomas Klausner: Fixes build on NetBSD-5. --- src/netbsd_pci.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/netbsd_pci.c b/src/netbsd_pci.c index 3566d7b..c9bd052 100644 --- a/src/netbsd_pci.c +++ b/src/netbsd_pci.c @@ -248,6 +248,7 @@

[PATCH] hw/xfree86: improve detection of devices

2013-06-12 Thread Maarten Lankhorst
xf86_check_platform_slot should not exit prematurely, this causes intel to be added twice when using pci devices like the nvidia blob. Probing is changed slightly, xf86platform probe returns false if a pci device is found, to force a fallback to pci detection. pci probe returns TRUE if a

[RFC PATCH v2] xfree86: add a -gpu switch to select primary gpu

2013-06-12 Thread Maarten Lankhorst
Well with the detection bug fixed, here's the patch in a slightly cleaned up form, tested with nvidia and nouveau. :-) 8 For obvious reasons probably not suitable to be upstreamed, but I'm looking for some feedback on this patch. This allows some playing around with optimus, if you feel so

Re: [PATCH] xvfb: add randr support (v2)

2013-06-12 Thread Michal Srb
From: Lambros Lambrou lambroslamb...@google.com Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26391 Signed-off-by: Lambros Lambrou lambroslamb...@google.com Signed-off-by: Mike Frysinger vap...@gentoo.org Signed-off-by: Michal Srb m...@suse.com --- Second version, modified according to

Re: [PATCH:libpciaccess 1/3] Enable boot_vga support only if WSDISPLAYIO_GET_BUSID is defined.

2013-06-12 Thread Alan Coopersmith
On 06/12/13 06:22 AM, walter harms wrote: Am 12.06.2013 13:43, schrieb Thomas Klausner: Fixes build on NetBSD-5. --- src/netbsd_pci.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/netbsd_pci.c b/src/netbsd_pci.c index 3566d7b..c9bd052 100644 --- a/src/netbsd_pci.c +++

Re: [PATCH:libpciaccess 1/3] Enable boot_vga support only if WSDISPLAYIO_GET_BUSID is defined.

2013-06-12 Thread Matthieu Herrb
On Wed, Jun 12, 2013 at 01:43:31PM +0200, Thomas Klausner wrote: Fixes build on NetBSD-5. --- src/netbsd_pci.c | 6 ++ 1 file changed, 6 insertions(+) Reviewed-by: Matthieu Herrb matthieu.he...@laas.fr diff --git a/src/netbsd_pci.c b/src/netbsd_pci.c index 3566d7b..c9bd052 100644

Re: [PATCH:libpciaccess 2/3] Fix build on NetBSD-4.

2013-06-12 Thread Matthieu Herrb
On Wed, Jun 12, 2013 at 01:43:32PM +0200, Thomas Klausner wrote: --- configure.ac | 10 ++ src/netbsd_pci.c | 13 + 2 files changed, 23 insertions(+) Reviewed-by: Matthieu Herrb matthieu.he...@laas.fr May be add a comment to explain which NetBSD version uses which

Re: [PATCH:libpciaccess 3/3] Support more pci functions on NetBSD.

2013-06-12 Thread Matthieu Herrb
On Wed, Jun 12, 2013 at 01:43:33PM +0200, Thomas Klausner wrote: From Chuck Silvers c...@chuq.com based on openbsd_pci.c. Signed-off-by: Thomas Klausner w...@netbsd.org --- src/netbsd_pci.c | 335 +++ 1 file changed, 335 insertions(+)