aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2015-11-23 09:32:44 +0000
committerRussell King <[email protected]>2015-12-03 15:55:19 +0000
commit39146d6f866888beefaecba3115576c10e1033aa (patch)
tree457041f7ac5f1285f3ca2c844c344177c96a8879 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/armada: plug leak in dumb_map_offset (diff)
downloadkernel-39146d6f866888beefaecba3115576c10e1033aa.tar.gz
kernel-39146d6f866888beefaecba3115576c10e1033aa.zip
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 <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions