Re: [PATCH xserver] xwayland: replace hardcoded function name with __func__ in error msg

2017-02-06 Thread Pekka Paalanen
On Tue, 7 Feb 2017 11:47:35 +1000 Peter Hutterer wrote: > Signed-off-by: Peter Hutterer > --- > hw/xwayland/xwayland-input.c | 4 ++-- > hw/xwayland/xwayland-output.c | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git

[PATCH xserver] xwayland: replace hardcoded function name with __func__ in error msg

2017-02-06 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- hw/xwayland/xwayland-input.c | 4 ++-- hw/xwayland/xwayland-output.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/xwayland/xwayland-input.c b/hw/xwayland/xwayland-input.c index 580df09..8d8bcbd 100644 ---

Re: [PATCH edid-decode v2 1/2] Make do_checksum reusable for DisplayID checksums.

2017-02-06 Thread walter harms
look good for me. Reviewed-by: wha...@bfs.de Am 06.02.2017 14:51, schrieb Mark Ferry: > DisplayID, unlike EDID and CEA, is a variable length structure. > Allow for reuse of do_checksum by adding a length parameter. > > Return a boolean to allow the caller to record failure. > --- >

Re: [PATCH edid-decode v2 2/2] Report broken CEA and DisplayID checksums.

2017-02-06 Thread walter harms
look good for me. Reviewed-by: wha...@bfs.de Am 06.02.2017 14:51, schrieb Mark Ferry: > --- > edid-decode.c | 21 ++--- > 1 file changed, 18 insertions(+), 3 deletions(-) > > diff --git a/edid-decode.c b/edid-decode.c > index 15660dc..95e9c96 100644 > --- a/edid-decode.c > +++

Re: [RFC PATCH xserver] modesetting: re-set the crtc's mode when link-status goes BAD

2017-02-06 Thread Martin Peres
On 03/02/17 10:04, Daniel Vetter wrote: On Fri, Feb 03, 2017 at 01:30:14AM +0200, Martin Peres wrote: On 01/02/17 22:05, Manasi Navare wrote: On Wed, Feb 01, 2017 at 11:58:16AM -0800, Eric Anholt wrote: Jani Nikula writes: On Tue, 31 Jan 2017, Eric Anholt

Re: Xorg 1.19.1 SIGPIPE on application close

2017-02-06 Thread Antoine Martin
On 06/02/17 21:46, Julien Cristau wrote: > On 02/06/2017 03:32 PM, Antoine Martin wrote: >> Hi, >> >> I can reproduce this Xorg server crash fairly reliably using xpra and >> glxspheres simply by closing the application window: >> >> Thread 1 "Xorg" received signal SIGPIPE, Broken pipe. >>

Re: Xorg 1.19.1 SIGPIPE on application close

2017-02-06 Thread Julien Cristau
On 02/06/2017 03:32 PM, Antoine Martin wrote: > Hi, > > I can reproduce this Xorg server crash fairly reliably using xpra and > glxspheres simply by closing the application window: > > Thread 1 "Xorg" received signal SIGPIPE, Broken pipe. > 0x757ca83d in writev () at

Xorg 1.19.1 SIGPIPE on application close

2017-02-06 Thread Antoine Martin
Hi, I can reproduce this Xorg server crash fairly reliably using xpra and glxspheres simply by closing the application window: Thread 1 "Xorg" received signal SIGPIPE, Broken pipe. 0x757ca83d in writev () at ../sysdeps/unix/syscall-template.S:84 84 T_PSEUDO (SYSCALL_SYMBOL,

Re: [edid-decode] [PATCH 2/2] Calculate DisplayID checksums. Refactor do_checksum.

2017-02-06 Thread Mark Ferry
Finally returning to this: On Tue, 13 Dec 2016 16:51:07 +0100, walter harms wrote: > > >> Am 10.12.2016 20:44, schrieb Mark Ferry: > >>> +printf("Checksum: 0x%hx", x[len -1]); > >>> + > >>> +for (i = 0; i < len; i++) > >>> +sum += x[i]; > >>> + > >>> +if (sum) { > >>> +

[PATCH edid-decode v2 2/2] Report broken CEA and DisplayID checksums.

2017-02-06 Thread Mark Ferry
--- edid-decode.c | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/edid-decode.c b/edid-decode.c index 15660dc..95e9c96 100644 --- a/edid-decode.c +++ b/edid-decode.c @@ -50,6 +50,8 @@ static int name_descriptor_terminated = 0; static int

[PATCH edid-decode v2 1/2] Make do_checksum reusable for DisplayID checksums.

2017-02-06 Thread Mark Ferry
DisplayID, unlike EDID and CEA, is a variable length structure. Allow for reuse of do_checksum by adding a length parameter. Return a boolean to allow the caller to record failure. --- edid-decode.c | 45 - 1 file changed, 28 insertions(+), 17

[PATCH xserver v2] xwayland: Support RR_Rotate_0 in rrGetInfo()

2017-02-06 Thread Olivier Fourdan
If the Wayland compositor sets a rotation on the output, Xwayland translates the transformation as an xrandr rotation for the given output. However, if the rotation is not supported, this is not a valid setup and xrandr will fail. Make sure we support the default rotation (RR_Rotate_0) and use

[PATCH xserver] xwayland: Pretend we support all transformations

2017-02-06 Thread Olivier Fourdan
If the Wayland compositor sets a rotation on the output, Xwayland translates the transformation as an xrandr rotation. However, if the rotations is not supported, this is not a valid setup and xrandr will fail. Pretend we support all rotations and transformations (as this may be set via Wayland

Re: [PATCH xserver] dmx: fix linking

2017-02-06 Thread Michel Dänzer
On 04/02/17 06:53 AM, Mihail Konev wrote: > On Fri, Feb 03, 2017 at 10:08:03AM +0900, Michel Dänzer wrote: >> On 03/02/17 06:57 AM, Mihail Konev wrote: >>> Regressed-in: bb9128fd ("present: disable page flip") >>> Signed-off-by: Mihail Konev >>> --- >>> Maybe there should be #ifdef-s