Commit 67e3c787 authored by Christian König's avatar Christian König Committed by Dave Airlie
Browse files

drm/radeon: unlock the ring mutex while waiting for the next fence

Fixing just another deadlock problem with gpu reset tests.
Signed-off-by: default avatarChristian König <>
Reviewed-by: default avatarJerome Glisse <>
Signed-off-by: default avatarDave Airlie <>
parent 3368ff0c
......@@ -346,7 +346,9 @@ int radeon_ring_alloc(struct radeon_device *rdev, struct radeon_ring *ring, unsi
if (ndw < ring->ring_free_dw) {
r = radeon_fence_wait_next(rdev, radeon_ring_index(rdev, ring));
if (r)
return r;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment