]> git.baikalelectronics.ru Git - kernel.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)
commit80722a773a297f7ee5e7a294dbd7b99ac9b90adb
treefec828d3355ccbb45d95cfbbf229c32198eff8c2
parent9032b77dd1fd8d525d2caa00dfd83e95211ec828
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