Re: [Intel-gfx] [PATCH 09/18] drm/cma-helper: Don't grab dev-struct_mutex for in mmap offset ioctl

2015-08-10 Thread Thierry Reding
On Thu, Jul 09, 2015 at 11:32:41PM +0200, Daniel Vetter wrote: Since David Herrmann's mmap vma manager rework we don't need to grab dev-struct_mutex any more to prevent races when looking up the mmap offset. Drop it and instead don't forget to use the unref_unlocked variant (since the drm core

[Intel-gfx] [PATCH 09/18] drm/cma-helper: Don't grab dev-struct_mutex for in mmap offset ioctl

2015-07-09 Thread Daniel Vetter
Since David Herrmann's mmap vma manager rework we don't need to grab dev-struct_mutex any more to prevent races when looking up the mmap offset. Drop it and instead don't forget to use the unref_unlocked variant (since the drm core still cares). Cc: Laurent Pinchart