[PATCH] xf86i2c: add pscrn for drivers to use

2012-05-24 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com This just adds a pScrn pointer into the struct for the drivers to use instead of scrnIndex. Mostly scrnIndex is used for logging, but some drivers use it to lookup xf86Screens, so let them stash a pScrn instead. Removing the scrnIndex is a bit more involved

Re: [PATCH] cvt: add -i/--interlaced to documentation

2012-05-24 Thread Alon Levy
On Wed, May 23, 2012 at 04:37:48PM -0700, Alan Coopersmith wrote: On 05/20/12 04:54 AM, Alon Levy wrote: Signed-off-by: Alon Levy al...@redhat.com cvt.c currently says: /* * I'm not documenting --interlaced for obvious reasons, even though I did * implement it. I also can't deny

Re: [PATCH] prevent X crash on pressing multimedia buttons, again

2012-05-24 Thread Michal Suchanek
On 24 May 2012 04:42, Peter Hutterer peter.hutte...@who-t.net wrote: what is the trigger for this again? Is this the warp pointer case? Attaching console output. Thanks Michal ___ xorg-devel@lists.x.org: X.Org development Archives:

Re: [PATCH] xf86i2c: add pscrn for drivers to use

2012-05-24 Thread Alex Deucher
On Thu, May 24, 2012 at 2:28 AM, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com This just adds a pScrn pointer into the struct for the drivers to use instead of scrnIndex. Mostly scrnIndex is used for logging, but some drivers use it to lookup xf86Screens, so let

Re: [PATCH xorg-gtest] Update source files to use new headers

2012-05-24 Thread Chase Douglas
On 05/23/2012 08:13 PM, Peter Hutterer wrote: introduced in e1c010f23272e61c28c73aa603b477ba6fbae875 Signed-off-by: Peter Hutterer peter.hutte...@who-t.net I'm guessing I compile checked while I still had the old headers installed in /usr/include... --- examples/xorg-gtest-example.cpp |

Re: [PATCH 2/2 xorg-gtest] Namespace xorg-gtest header filenames

2012-05-24 Thread Chase Douglas
On 05/23/2012 08:13 PM, Peter Hutterer wrote: On Mon, May 21, 2012 at 10:54:08AM -0700, Chase Douglas wrote: On 05/20/2012 02:55 PM, Peter Hutterer wrote: On Fri, May 18, 2012 at 01:23:32PM -0700, Chase Douglas wrote: Due to the default automake compilation flags including -I. -I.., it is

fbBlt - memcpy on overlapping ranges

2012-05-24 Thread Michal Srb
Hi, In fb/fbblt.c in fbBlt function, memcpy is used to blit inside lines: if (!upsidedown) for (i = 0; i height; i++) MEMCPY_WRAPPED(dst + i * dstStride, src + i * srcStride, width); else for (i = height - 1; i = 0; i--) MEMCPY_WRAPPED(dst + i * dstStride, src + i *

Re: fbBlt - memcpy on overlapping ranges

2012-05-24 Thread Mihai Donțu
On Thu, 24 May 2012 17:20:16 +0200 Michal Srb wrote: Hi, In fb/fbblt.c in fbBlt function, memcpy is used to blit inside lines: if (!upsidedown) for (i = 0; i height; i++) MEMCPY_WRAPPED(dst + i * dstStride, src + i * srcStride, width); else for (i = height - 1; i =

RE: [Linaro-mm-sig] New xf86-video-armsoc DDX driver

2012-05-24 Thread Tom Cooksey
-Original Message- From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: 21 May 2012 10:04 To: Dave Airlie Cc: Tom Cooksey; linaro-mm-...@lists.linaro.org; xorg- de...@lists.x.org; dri-de...@lists.freedesktop.org Subject: Re: [Linaro-mm-sig] New

[PULL] Fix signal-unsafe logging

2012-05-24 Thread Chase Douglas
The following changes since commit 9bc53d8cb04af2be3feeebb1b10774c2d599a76b: dri2: SProcDRI2Connect - send the response. (2012-05-22 21:19:40 -0700) are available in the git repository at: git://people.freedesktop.org/~cndougla/xserver signal-logging-v5 for you to fetch changes up to

Re: [PATCH v4 07/16] Print backtrace in a signal-safe manner

2012-05-24 Thread Chase Douglas
On 05/23/2012 09:49 PM, Peter Hutterer wrote: On Mon, May 14, 2012 at 02:14:28PM -0700, Chase Douglas wrote: Backtraces are often printed in signal context, such as when a segfault occurs. Signed-off-by: Chase Douglas chase.doug...@canonical.com --- os/backtrace.c | 49

Re: [PATCH v3 1/3] Add xorg-gtest integration test framework

2012-05-24 Thread Chase Douglas
On 05/23/2012 08:32 PM, Peter Hutterer wrote: pulled the branch you sent me that contained (amongst others) this patchset. On Fri, May 18, 2012 at 02:02:04PM -0700, Chase Douglas wrote: Signed-off-by: Chase Douglas chase.doug...@canonical.com --- Changes since v2: * Refreshed xorg-gtest.m4

[PATCH v4 1/5] Add xorg-gtest integration test framework

2012-05-24 Thread Chase Douglas
Signed-off-by: Chase Douglas chase.doug...@canonical.com --- Changes since v3: * Add integration test directory to test/Makefile.am SUBDIRS configure.ac| 21 +- m4/xorg-gtest.m4| 110 +++ test/Makefile.am

[PATCH v4 2/5] Add XInput 2.x integration test framework

2012-05-24 Thread Chase Douglas
Signed-off-by: Chase Douglas chase.doug...@canonical.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- configure.ac | 14 +++ test/integration/.gitignore |1 + test/integration/Makefile.am | 24 ++ test/integration/xi2.cpp | 194

[PATCH v4 3/5] Add test for XIQueryPointer button mask when physical touch is active

2012-05-24 Thread Chase Douglas
Signed-off-by: Chase Douglas chase.doug...@canonical.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- .../recordings/ntrig_dell_xt2/device.prop | 32 + .../recordings/ntrig_dell_xt2/touch_1_begin.record | 11 +++ .../recordings/ntrig_dell_xt2/touch_1_end.record

[PATCH v4 4/5] Add test for touch end on device disable

2012-05-24 Thread Chase Douglas
When a device is disabled, all physically active touches must end. Signed-off-by: Chase Douglas chase.doug...@canonical.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- Changes since v3: * Fix wait_for_event functions to WaitForEvent functions test/integration/xi2.cpp | 71

[PATCH v4 5/5] End physically active touches when device is disabled

2012-05-24 Thread Chase Douglas
Otherwise: * We can't end the touches while device is disabled * New touches after enabling the device may erroneously be mapped to old logical touches Signed-off-by: Chase Douglas chase.doug...@canonical.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- dix/devices.c |1 +

[PATCH] xf86: xf86ClearEntityListForScreen should take a pScrn

2012-05-24 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com When adding GPU screens this make life easier. Signed-off-by: Dave Airlie airl...@redhat.com --- hw/xfree86/common/xf86Bus.c|3 +-- hw/xfree86/common/xf86Helper.c |2 +- hw/xfree86/common/xf86Priv.h |2 +- 3 files changed, 3 insertions(+),

Re: [PATCH] xf86: xf86ClearEntityListForScreen should take a pScrn

2012-05-24 Thread Peter Hutterer
On Thu, May 24, 2012 at 08:14:55PM +0100, Dave Airlie wrote: From: Dave Airlie airl...@redhat.com When adding GPU screens this make life easier. Signed-off-by: Dave Airlie airl...@redhat.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net Cheers, Peter ---

Re: [PATCH] xf86: xf86ClearEntityListForScreen should take a pScrn

2012-05-24 Thread Alan Coopersmith
On 05/24/12 12:14 PM, Dave Airlie wrote: From: Dave Airlie airl...@redhat.com When adding GPU screens this make life easier. Signed-off-by: Dave Airlie airl...@redhat.com Reviewed-by: Alan Coopersmith alan.coopersm...@oracle.com but you'd earn bonus points for also fixing the comment

Re: [PULL] Fix signal-unsafe logging

2012-05-24 Thread Peter Hutterer
Keith: I'll pull this into my tree, this needs an input API bump and I need to check if the input drivers can be updated easily for this first. When I tried yesterday, I got logspam to no end. On Thu, May 24, 2012 at 09:57:37AM -0700, Chase Douglas wrote: The following changes since commit

Re: [PATCH v4 4/5] Add test for touch end on device disable

2012-05-24 Thread Peter Hutterer
On Thu, May 24, 2012 at 10:27:59AM -0700, Chase Douglas wrote: When a device is disabled, all physically active touches must end. Signed-off-by: Chase Douglas chase.doug...@canonical.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- Changes since v3: * Fix wait_for_event

[PATCH xorg-gtest 1/2] Print the display we were trying to start up on.

2012-05-24 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/environment.cpp |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/environment.cpp b/src/environment.cpp index 38765ac..9e58e4a 100644 --- a/src/environment.cpp +++ b/src/environment.cpp @@ -124,8 +124,10

[PATCH xorg-gtest 2/2] XCloseDisplay(3) cannot handle NULL

2012-05-24 Thread Peter Hutterer
If the display failed to start, tearing it down with a NULL pointer causes a segfault. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/test.cpp |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test.cpp b/src/test.cpp index c2df5a7..f016f06 100644 ---

Re: [PATCH v3 1/3] Add xorg-gtest integration test framework

2012-05-24 Thread Peter Hutterer
On Thu, May 24, 2012 at 10:25:00AM -0700, Chase Douglas wrote: On 05/23/2012 08:32 PM, Peter Hutterer wrote: pulled the branch you sent me that contained (amongst others) this patchset. On Fri, May 18, 2012 at 02:02:04PM -0700, Chase Douglas wrote: Signed-off-by: Chase Douglas

[PULL] Xvfb leaks, DGA mouse wheel support

2012-05-24 Thread Peter Hutterer
The following changes since commit 9bc53d8cb04af2be3feeebb1b10774c2d599a76b: dri2: SProcDRI2Connect - send the response. (2012-05-22 21:19:40 -0700) are available in the git repository at: git://people.freedesktop.org/~whot/xserver for-keith for you to fetch changes up to

[PATCH evdev] Use LogMessageVerbSigSafe if available

2012-05-24 Thread Peter Hutterer
Messages logged during the signal handler should use LogMessageVerbSigSafe as of ABI 18. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev.c | 17 +++-- src/evdev.h |4 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/evdev.c

[PATCH synaptics] Use LogMessageVerbSigSafe on ABI 18

2012-05-24 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/eventcomm.c |7 --- src/synapticsstr.h |4 test/fake-symbols.c |8 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/eventcomm.c b/src/eventcomm.c index 6cfbcc7..57070c8 100644 ---

[PATCH] Fix Xephyr build when DRI is enabled but GLX is not

2012-05-24 Thread Alan Coopersmith
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- configure.ac|8 ++-- hw/kdrive/ephyr/Makefile.am |7 ++- hw/kdrive/ephyr/ephyr.c |2 ++ hw/kdrive/ephyr/hostx.c |4 4 files changed, 18 insertions(+), 3 deletions(-) diff --git

[PATCH xf86-video-mga 1/2] Move PCI vendor/device id defines into mga.h instead of using xf86PciInfo.h

2012-05-24 Thread Alan Coopersmith
Silences deprecation warnings from xf86PciInfo.h in current Xorg servers Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- Both of these patches are just compile-tested, not actually run, since I don't have any mga hardware handy and haven't tracked down which of the servers in our

[PATCH xf86-video-mga 2/2] Add const qualifier to char *from in MGAdoDDC

2012-05-24 Thread Alan Coopersmith
Only used to store arguments to pass as printf %s strings to xf86DrvMsg Fixes gcc warnings: mga_driver.c: In function 'MGAdoDDC': mga_driver.c:1338:7: warning: assignment discards qualifiers from pointer target type mga_driver.c:1343:11: warning: assignment discards qualifiers from pointer