]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: allow interruptible waits for objects.
authorDave Airlie <airlied@redhat.com>
Fri, 24 Jul 2009 03:47:45 +0000 (13:47 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 29 Jul 2009 05:59:49 +0000 (15:59 +1000)
commit10cb84fb8f4de0072a705f17c3077ae72efce671
treec3d9395ecbc05d223f8cd9ef7f4ba20bba6fa474
parent1b74a5a83308288dd1c6a5c6051af9c419caa886
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>
drivers/gpu/drm/radeon/radeon_fence.c
drivers/gpu/drm/radeon/radeon_object.c