diff options
author | Daniel Vetter <[email protected]> | 2015-07-09 23:32:48 +0200 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2015-08-17 16:51:12 -0400 |
commit | 34ddc3e9d1781a4914c673013c0eaca3ae642641 (patch) | |
tree | e1c96ad0bcfad7d1a43adf9c49408a7c5f86cec6 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | 42192a941e427440e642623c64bda4486c527a54 (diff) |
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_pm.c')
0 files changed, 0 insertions, 0 deletions