Re: [PATCH] drm: Provide a driver hook for drm_dev_release()

2017-01-19 Thread Laurent Pinchart
Hi Chris, On Thursday 19 Jan 2017 11:20:37 Chris Wilson wrote: > On Wed, Dec 14, 2016 at 12:04:38AM +0200, Laurent Pinchart wrote: > > On Thursday 08 Dec 2016 08:18:40 Chris Wilson wrote: > >> Some state is coupled into the device lifetime outside of the > >> load/unload timeframe and requires tea

Re: [PATCH] drm: Provide a driver hook for drm_dev_release()

2017-01-19 Thread Chris Wilson
On Wed, Dec 14, 2016 at 12:04:38AM +0200, Laurent Pinchart wrote: > Hi Chris, > > Thank you for the patch. > > On Thursday 08 Dec 2016 08:18:40 Chris Wilson wrote: > > Some state is coupled into the device lifetime outside of the > > load/unload timeframe and requires teardown during final unrefe

[PATCH] drm: Provide a driver hook for drm_dev_release()

2016-12-14 Thread Laurent Pinchart
Hi Chris, Thank you for the patch. On Thursday 08 Dec 2016 08:18:40 Chris Wilson wrote: > Some state is coupled into the device lifetime outside of the > load/unload timeframe and requires teardown during final unreference > from drm_dev_release(). For example, dmabufs hold both a device and > mo

[Intel-gfx] [PATCH] drm: Provide a driver hook for drm_dev_release()

2016-12-08 Thread Daniel Vetter
On Thu, Dec 08, 2016 at 08:18:40AM +, Chris Wilson wrote: > Some state is coupled into the device lifetime outside of the > load/unload timeframe and requires teardown during final unreference > from drm_dev_release(). For example, dmabufs hold both a device and > module reference and may live

[PATCH] drm: Provide a driver hook for drm_dev_release()

2016-12-08 Thread Chris Wilson
Some state is coupled into the device lifetime outside of the load/unload timeframe and requires teardown during final unreference from drm_dev_release(). For example, dmabufs hold both a device and module reference and may live longer than expected (i.e. the current pattern of the driver tearing d