Re: [Intel-gfx] [PATCH 09/35] drm/gem: support BO freeing without dev->struct_mutex

2016-04-27 Thread Daniel Vetter
On Wed, Apr 27, 2016 at 11:31:00AM +0200, Lucas Stach wrote: > Am Dienstag, den 26.04.2016, 19:29 +0200 schrieb Daniel Vetter: > > Finally all the core gem and a lot of drivers are entirely free of > > dev->struct_mutex depencies, and we can start to have an entirely > > lockless unref path. > > >

Re: [Intel-gfx] [PATCH 09/35] drm/gem: support BO freeing without dev->struct_mutex

2016-04-27 Thread Lucas Stach
Am Dienstag, den 26.04.2016, 19:29 +0200 schrieb Daniel Vetter: > Finally all the core gem and a lot of drivers are entirely free of > dev->struct_mutex depencies, and we can start to have an entirely > lockless unref path. > > To make sure that no one who touches the core code accidentally breaks

Re: [Intel-gfx] [PATCH 09/35] drm/gem: support BO freeing without dev->struct_mutex

2016-04-27 Thread Daniel Vetter
On Tue, Apr 26, 2016 at 05:52:31PM -0400, Alex Deucher wrote: > On Tue, Apr 26, 2016 at 1:29 PM, Daniel Vetter wrote: > > Finally all the core gem and a lot of drivers are entirely free of > > dev->struct_mutex depencies, and we can start to have an entirely > > lockless unref path. > > > > To mak

Re: [Intel-gfx] [PATCH 09/35] drm/gem: support BO freeing without dev->struct_mutex

2016-04-26 Thread Alex Deucher
On Tue, Apr 26, 2016 at 1:29 PM, Daniel Vetter wrote: > Finally all the core gem and a lot of drivers are entirely free of > dev->struct_mutex depencies, and we can start to have an entirely > lockless unref path. > > To make sure that no one who touches the core code accidentally breaks > existin

Re: [Intel-gfx] [PATCH 09/35] drm/gem: support BO freeing without dev->struct_mutex

2016-04-26 Thread Chris Wilson
On Tue, Apr 26, 2016 at 10:10:14PM +0200, Daniel Vetter wrote: > On Tue, Apr 26, 2016 at 08:47:32PM +0100, Chris Wilson wrote: > > On Tue, Apr 26, 2016 at 07:29:42PM +0200, Daniel Vetter wrote: > > > Finally all the core gem and a lot of drivers are entirely free of > > > dev->struct_mutex depencie

Re: [Intel-gfx] [PATCH 09/35] drm/gem: support BO freeing without dev->struct_mutex

2016-04-26 Thread Daniel Vetter
On Tue, Apr 26, 2016 at 08:47:32PM +0100, Chris Wilson wrote: > On Tue, Apr 26, 2016 at 07:29:42PM +0200, Daniel Vetter wrote: > > Finally all the core gem and a lot of drivers are entirely free of > > dev->struct_mutex depencies, and we can start to have an entirely > > lockless unref path. > > >

Re: [Intel-gfx] [PATCH 09/35] drm/gem: support BO freeing without dev->struct_mutex

2016-04-26 Thread Chris Wilson
On Tue, Apr 26, 2016 at 07:29:42PM +0200, Daniel Vetter wrote: > Finally all the core gem and a lot of drivers are entirely free of > dev->struct_mutex depencies, and we can start to have an entirely > lockless unref path. > > To make sure that no one who touches the core code accidentally breaks

[Intel-gfx] [PATCH 09/35] drm/gem: support BO freeing without dev->struct_mutex

2016-04-26 Thread Daniel Vetter
Finally all the core gem and a lot of drivers are entirely free of dev->struct_mutex depencies, and we can start to have an entirely lockless unref path. To make sure that no one who touches the core code accidentally breaks existing drivers which still require dev->struct_mutex I've made the migh