commit | a66b2ea224c40cf341ca2096aad225536aa25956 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Jul 09 23:32:36 2015 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Aug 10 13:36:55 2015 +0200 |
tree | dba9161a090599d464f548e5cc2d0d2d6a88cbfb | |
parent | 8d77a9404ec38be34ffc491a2022022a56e72c90 [diff] |
drm/ast: Don't grab dev->struct_mutex for in mmap offset ioctl 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). Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>