]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ttm: Return -ERESTART when a signal interrupts bo eviction.
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 17 Jun 2009 10:29:55 +0000 (12:29 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 18 Jun 2009 23:01:02 +0000 (09:01 +1000)
commit78ecf091aa592a9e160ebbbfa5873c2bb2e2d0f8
treefec828d3355ccbb45d95cfbbf229c32198eff8c2
parent9a298b2acd771d8a5c0004d8f8e4156c65b11f6b
ttm: Return -ERESTART when a signal interrupts bo eviction.

A bug caused the ttm code to just terminate the wait when a signal
was received while waiting for the GPU to release a buffer object that
was to be evicted.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c