Re: drm, fbdev emulation and drm_dev_unplug()

2017-08-22 Thread Daniel Vetter
On Mon, Aug 21, 2017 at 08:53:08PM +0200, Noralf Trønnes wrote: > Hi, > > I'm looking into what happens if fbdev has open file handles when > drm_dev_unplug() is called. udl is the only user of drm_dev_unplug(), > but AFAICT it will keel over if unplugged with a /dev/fb handle open > since fbdev

drm, fbdev emulation and drm_dev_unplug()

2017-08-21 Thread Noralf Trønnes
Hi, I'm looking into what happens if fbdev has open file handles when drm_dev_unplug() is called. udl is the only user of drm_dev_unplug(), but AFAICT it will keel over if unplugged with a /dev/fb handle open since fbdev is torn down during drm_driver->unload. My first attempt was to rely on