commit | 8a47cc9ec1249eefd600adb273148c62879a560d | [log] [tgz] |
---|---|---|
author | Christian König <deathsimple@vodafone.de> | Wed May 09 15:34:48 2012 +0200 |
committer | Dave Airlie <airlied@redhat.com> | Wed May 09 17:22:20 2012 +0100 |
tree | 70cda5e8f7830a508431b1a87c472978c927150b | |
parent | 3b7a2b24ea2b703b3af595d0d4ee233ab0b36377 [diff] |
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 <deathsimple@vodafone.de> Signed-off-by: Dave Airlie <airlied@redhat.com>