Re: [PATCH] modesetting: handle NULL cursor in drmmode_set_cursor.

2017-07-04 Thread Peter Hutterer
On Tue, Jul 04, 2017 at 09:26:16AM +0200, Daniel Martin wrote: > On 23 June 2017 at 01:29, Dave Airlie wrote: > > From: Dave Airlie > > > > We had a bug reported with a touchscreen where we could end up > > in here with a NULL cursor, so let's not crash the X server. > > I'm able to reproduce th

Re: [PATCH] modesetting: handle NULL cursor in drmmode_set_cursor.

2017-07-04 Thread Daniel Martin
On 23 June 2017 at 01:29, Dave Airlie wrote: > From: Dave Airlie > > We had a bug reported with a touchscreen where we could end up > in here with a NULL cursor, so let's not crash the X server. I'm able to reproduce the bug reliable and can confirm that this patch fixes the issue. Reviewed-and

[PATCH] modesetting: handle NULL cursor in drmmode_set_cursor.

2017-06-22 Thread Dave Airlie
From: Dave Airlie We had a bug reported with a touchscreen where we could end up in here with a NULL cursor, so let's not crash the X server. Signed-off-by: Dave Airlie --- hw/xfree86/drivers/modesetting/drmmode_display.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/xfree86/driver