diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-11-23 12:32:44 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-12-03 18:55:19 +0300 |
commit | 39146d6f866888beefaecba3115576c10e1033aa (patch) | |
tree | 457041f7ac5f1285f3ca2c844c344177c96a8879 /drivers/gpu/drm/armada/armada_crtc.c | |
parent | 8d6185b55ceadea4fe3d7b451843786c4cae564e (diff) | |
download | linux-39146d6f866888beefaecba3115576c10e1033aa.tar.xz |
drm/armada: 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).
v2: Split out the leak fix in dump_map_offset into a separate patch as
requested by Russell. Also align labels the same way as before to
stick with local coding style.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/armada/armada_crtc.c')
0 files changed, 0 insertions, 0 deletions