aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2015-11-24 09:00:36 +0000
committerRussell King <[email protected]>2015-12-05 21:44:07 +0000
commit0b8ebeacf5ef43a467c7ec5400ccc1ffc3fbdfba (patch)
treeae367b9b8dfa91535a38ec8a62d20184b804d58d /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/armada: drop struct_mutex from cursor paths (diff)
downloadkernel-0b8ebeacf5ef43a467c7ec5400ccc1ffc3fbdfba.tar.gz
kernel-0b8ebeacf5ef43a467c7ec5400ccc1ffc3fbdfba.zip
drm/armada: use a private mutex to protect priv->linear
Reusing the Big DRM Lock just leaks, and the few things left that dev->struct_mutex protected are very well contained - it's just the linear drm_mm manager. With this armada is completely struct_mutex free! v2: Convert things properly and also take the lock in armada_gem_free_object, and remove the stale comment (Russell). 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