From: Daniel Vetter Date: Thu, 9 Jul 2015 21:32:48 +0000 (+0200) Subject: drm/radeon: Don't take dev->struct_mutex in pm functions X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~22^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34ddc3e9d1781a4914c673013c0eaca3ae642641;p=pandora-kernel.git 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 Cc: "Christian König" Reviewed-by: Thierry Reding Signed-off-by: Daniel Vetter Signed-off-by: Alex Deucher --- Reading git-diff-tree failed