drm/radeon: fix radeon_fence_wait_empty_locked
authorChristian König <christian.koenig@amd.com>
Tue, 5 Nov 2013 13:09:54 +0000 (14:09 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Nov 2013 03:40:59 +0000 (13:40 +1000)
commit721529b5780dd40d2d27310c69ae2615a878221c
treea495e9082d2a3f8259ac8381646748e40eedf2cb
parentd9bbf1895f354c8641824e1dd10d0501efd34790
drm/radeon: fix radeon_fence_wait_empty_locked

Don't block forever if there is nothing to wait for.

Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Rafa? Mi?ecki <zajec5@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_fence.c