From: Christian König Date: Wed, 9 May 2012 13:34:48 +0000 (+0200) Subject: drm/radeon: rework locking ring emission mutex in fence deadlock detection v2 X-Git-Tag: v3.5-rc1~83^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a47cc9ec1249eefd600adb273148c62879a560d;p=pandora-kernel.git drm/radeon: rework locking ring emission mutex in fence deadlock detection v2 Some callers illegal called fence_wait_next/empty while holding the ring emission mutex. So don't relock the mutex in that cases, and move the actual locking into the fence code. v2: Don't try to unlock the mutex if it isn't locked. Signed-off-by: Christian König Signed-off-by: Dave Airlie --- Reading git-diff-tree failed