[PATCH xinput] property: plug a memory leak

2018-09-11 Thread Peter Hutterer
Not that it matters since we'll exit after this call anyway, but coverity is unhappy and that makes us all unhappy, doesn't it? Signed-off-by: Peter Hutterer --- src/property.c | 27 +++ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/property.c

[PATCH app/sessreg] Replace strncpy calls with a sane version that always terminates

2018-09-11 Thread Peter Hutterer
Fixes coverity complaints about potentially unterminated strings Signed-off-by: Peter Hutterer --- sessreg.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/sessreg.c b/sessreg.c index 0a8fdb2..53b30b0 100644 --- a/sessreg.c +++ b/sessreg.c @@

Re: [PATCH] devices: break after finding and removing device from lists

2018-09-11 Thread Peter Hutterer
On Wed, Sep 12, 2018 at 11:40:56AM +1000, Dave Airlie wrote: > From: Dave Airlie > > Coverity complains about a use after free in here after the > freeing, I can't follow the linked list so well, but whot > says the device can only be on one list once, so break should > fix it. > >

[PATCH] devices: break after finding and removing device from lists

2018-09-11 Thread Dave Airlie
From: Dave Airlie Coverity complains about a use after free in here after the freeing, I can't follow the linked list so well, but whot says the device can only be on one list once, so break should fix it. Signed-off-by: Dave Airlie --- dix/devices.c | 2 ++ 1 file changed, 2 insertions(+)

Re: [PATCH xserver v8 05/14] modesetting: Use atomic modesetting API for pageflip if available

2018-09-11 Thread Dave Airlie
On Wed, 28 Feb 2018 at 11:21, Daniel Stone wrote: > > From: Louis-Francis Ratté-Boulianne > > In order to flip between compressed and uncompressed buffers - > something drmModePageFlip explicitly bans us from doing - we need > to port use the atomic modesetting API. It's only 'fake' atomic >

Re: [PATCH xserver v2] glamor: add support for NV12 in Xv

2018-09-11 Thread Adam Jackson
On Tue, 2018-09-11 at 15:41 -0400, Alex Deucher wrote: > On Tue, Sep 11, 2018 at 1:30 PM Julien Isorce wrote: > > > > Useful when video decoders only output NV12. Currently > > glamor Xv only supports I420 and YV12. > > > > Note that Intel's sna supports I420, YV12, YUY2, UYVY, NV12. > > > >

Re: [PATCH xserver v2] glamor: add support for NV12 in Xv

2018-09-11 Thread Alex Deucher
On Tue, Sep 11, 2018 at 1:30 PM Julien Isorce wrote: > > Useful when video decoders only output NV12. Currently > glamor Xv only supports I420 and YV12. > > Note that Intel's sna supports I420, YV12, YUY2, UYVY, NV12. > > Test: xvinfo | grep NV12 > Test: gst-launch-1.0 videotestsrc ! video/x-raw,

Re: [PATCH xserver v2] glamor: add support for NV12 in Xv

2018-09-11 Thread Matt Turner
On Tue, Sep 11, 2018 at 10:28 AM Julien Isorce wrote: > > Useful when video decoders only output NV12. Currently > glamor Xv only supports I420 and YV12. > > Note that Intel's sna supports I420, YV12, YUY2, UYVY, NV12. > > Test: xvinfo | grep NV12 > Test: gst-launch-1.0 videotestsrc !

Re: [PATCH xserver 0/3] Xv: add NV12 support in glamor

2018-09-11 Thread Julien Isorce
Thx! On Tue, Sep 11, 2018 at 12:29 AM Olivier Fourdan wrote: > Hi Julien, > > On Fri, 7 Sep 2018 at 00:40, Julien Isorce > wrote: > > > > Some video decoders can only output NV12 and currently glamor Xv only > > supports I420 and YV12. > > > > Tested with xf86-video-ati, xf86-video-amdgpu and

[PATCH xserver v2] glamor: add support for NV12 in Xv

2018-09-11 Thread Julien Isorce
Useful when video decoders only output NV12. Currently glamor Xv only supports I420 and YV12. Note that Intel's sna supports I420, YV12, YUY2, UYVY, NV12. Test: xvinfo | grep NV12 Test: gst-launch-1.0 videotestsrc ! video/x-raw, format=NV12 ! xvimagesink v2: Combine the two texture2Ds on

Re: [PATCH xserver 3/3] glamor: add support for NV12 in Xv

2018-09-11 Thread Matt Turner
On Thu, Sep 6, 2018 at 3:40 PM Julien Isorce wrote: > > Useful when video decoders only support NV12. Currently > glamor Xv only supports I420 and YV12. > > Note that Intel's sna supports I420, YV12, YUY2, UYVY, NV12. > > Test: xvinfo | grep NV12 > Test: gst-launch-1.0 videotestsrc ! video/x-raw,

Re: [PATCH xserver 0/3] Xv: add NV12 support in glamor

2018-09-11 Thread Alex Deucher
On Thu, Sep 6, 2018 at 6:40 PM Julien Isorce wrote: > > Some video decoders can only output NV12 and currently glamor Xv only > supports I420 and YV12. > > Tested with xf86-video-ati, xf86-video-amdgpu and xf86-video-modesetting > on AMD graphics but should work on any setup that can use glamor.

Re: [PATCH xserver 0/3] Xv: add NV12 support in glamor

2018-09-11 Thread Olivier Fourdan
Hi Julien, On Fri, 7 Sep 2018 at 00:40, Julien Isorce wrote: > > Some video decoders can only output NV12 and currently glamor Xv only > supports I420 and YV12. > > Tested with xf86-video-ati, xf86-video-amdgpu and xf86-video-modesetting > on AMD graphics but should work on any setup that can

Re: [Pixman] [BUG] SIGSEGV in sse2_fill

2018-09-11 Thread Frédéric Fauberteau
Le 2018-09-10 12:34, Michel Dänzer a écrit : On 2018-09-10 12:01 p.m., Frédéric Fauberteau wrote: Le 2018-09-10 09:26, Michel Dänzer a écrit : On 2018-09-10 8:22 a.m., Frédéric Fauberteau wrote: Le 2018-09-01 15:16, Michel Dänzer a écrit : On 2018-09-01 9:22 a.m., Frédéric Fauberteau wrote: