Re: [Intel-gfx] [PATCH 16/18] drm/radeon: Don't take dev->struct_mutex in pm functions

2015-08-10 Thread Thierry Reding
On Thu, Jul 09, 2015 at 11:32:48PM +0200, Daniel Vetter wrote: > 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

[Intel-gfx] [PATCH 16/18] drm/radeon: Don't take dev->struct_mutex in pm functions

2015-07-09 Thread Daniel Vetter
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 st