drm/ttm: Don't deadlock on recursive multi-bo reservations
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 17 Nov 2010 12:28:28 +0000 (12:28 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 22 Nov 2010 03:25:17 +0000 (13:25 +1000)
commit96726fe50feae74812a2ccf5d5da23cb01c0a413
tree1c5cb041b88e33ae5d10cb9292852cc5ee5fb24b
parent68c4fa31aa52765314b4285a7835368ea35b509c
drm/ttm: Don't deadlock on recursive multi-bo reservations

Add an aid for the driver to detect deadlocks on multi-bo reservations
Update documentation.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jerome Glisse <j.glisse@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c
include/drm/ttm/ttm_bo_driver.h