aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2015-07-09 21:32:48 +0000
committerAlex Deucher <[email protected]>2015-08-17 20:51:12 +0000
commit34ddc3e9d1781a4914c673013c0eaca3ae642641 (patch)
treee1c96ad0bcfad7d1a43adf9c49408a7c5f86cec6 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/radeon: Don't take dev->struct_mutex in bo_force_delete (diff)
downloadkernel-34ddc3e9d1781a4914c673013c0eaca3ae642641.tar.gz
kernel-34ddc3e9d1781a4914c673013c0eaca3ae642641.zip
drm/radeon: Don't take dev->struct_mutex in pm functions
We already grab 2 device-global locks (write-sema rdev->pm.mclk_lock and rdev->ring_lock), adding another global mutex won't serialize this code more. And since there's really nothing interesting that gets protected in radeon by dev->struct mutex (we only have the global z buffer owners and it's still serializing gem bo destruction in the drm core - which is irrelevant since radeon uses ttm anyway internally) this doesn't add protection. Remove it. Cc: Alex Deucher <[email protected]> Cc: "Christian König" <[email protected]> Reviewed-by: Thierry Reding <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions