drm/radeon/kms: allow interruptible waits for objects.
Blocking here isn't something the X server mouse appreciates, avoid the block and let userspace retry the waits. libdrm_radeon userspace library is also expecting EBUSY not ERESTART Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@ -195,7 +195,7 @@ retry:
|
||||
r = wait_event_interruptible_timeout(rdev->fence_drv.queue,
|
||||
radeon_fence_signaled(fence), timeout);
|
||||
if (unlikely(r == -ERESTARTSYS)) {
|
||||
return -ERESTART;
|
||||
return -EBUSY;
|
||||
}
|
||||
} else {
|
||||
r = wait_event_timeout(rdev->fence_drv.queue,
|
||||
|
Reference in New Issue
Block a user