[Intel-gfx] [PATCH 14/29] drm/tegra: don't take dev->struct_mutex in mmap offset ioctl
Thierry Reding
thierry.reding at gmail.com
Mon Nov 23 02:00:51 PST 2015
On Mon, Nov 23, 2015 at 10:32:47AM +0100, 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 still cares).
>
> v2: Finally get rid of the copypasta from another commit in this
> commit message. And convert to _unlocked like we need to (Patrik).
>
> Cc: Patrik Jakobsson <patrik.r.jakobsson at gmail.com>
> Cc: Thierry Reding <thierry.reding at gmail.com>
> Acked-by: Thierry Reding <thierry.reding at gmail.com>
> Reviewed-by: Patrik Jakobsson <patrik.r.jakobsson at gmail.com>
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> ---
> drivers/gpu/drm/tegra/gem.c | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
Applied, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20151123/ef1ff25c/attachment.sig>
More information about the Intel-gfx
mailing list