[PATCH 10/10] drm/ttm: remove reliance on ttm_bo_wait_unreserved

2012-11-12 Thread Maarten Lankhorst
Slightly makes things more complicated, but instead of testing for unreserved and starting over, try to block and acquire reservation first, then start over. This maps a lot better to a blocking acquire operation. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/nouveau/nouveau_gem.c | 19

[PATCH 10/10] drm/ttm: remove reliance on ttm_bo_wait_unreserved

2012-11-12 Thread Maarten Lankhorst
Slightly makes things more complicated, but instead of testing for unreserved and starting over, try to block and acquire reservation first, then start over. This maps a lot better to a blocking acquire operation. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/nouveau/nouveau_gem.c | 19