drm/radeon: Remove tests for -ERESTART from the TTM code.
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 7 Dec 2009 17:36:19 +0000 (18:36 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 10 Dec 2009 05:09:03 +0000 (15:09 +1000)
Also sets affected TTM calls up to not wait interruptible, since
that would cause an in-kernel spin until the TTM call succeeds, since
the Radeon code does not return to user-space when a signal is received.

Modifies interruptible fence waits to return -ERESTARTSYS rather than
-EBUSY when interrupted by a signal, since that's the (yet undocumented)
semantics required by the TTM sync object hooks.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found