Re: [PATCH 2/2] drm/udl: add a release method and delay modeset teardown

2019-03-15 Thread Noralf Trønnes
Den 15.03.2019 06.13, skrev Dave Airlie: > From: Dave Airlie > > If we unplug a udl device, the usb callback with deinit the > mode_config struct, however userspace will still have an open > file descriptor and a framebuffer on that device. When userspace > closes the fd, we'll oops because it'

Re: [PATCH 2/2] drm/udl: add a release method and delay modeset teardown

2019-03-15 Thread Daniel Vetter
On Fri, Mar 15, 2019 at 03:13:30PM +1000, Dave Airlie wrote: > From: Dave Airlie > > If we unplug a udl device, the usb callback with deinit the > mode_config struct, however userspace will still have an open > file descriptor and a framebuffer on that device. When userspace > closes the fd, we'l