[PATCH 3/7] drm/ttm: cleanup ttm_eu_reserve_buffers handling

2012-12-10 Thread Maarten Lankhorst
With the lru lock no longer required for protecting reservations we can just do a ttm_bo_reserve_nolru on -EBUSY, and handle all errors in a single path. Signed-off-by: Maarten Lankhorst Reviewed-by: Jerome Glisse --- drivers/gpu/drm/ttm/ttm_execbuf_util.c | 53 ++---

[PATCH 3/7] drm/ttm: cleanup ttm_eu_reserve_buffers handling

2012-12-10 Thread Maarten Lankhorst
With the lru lock no longer required for protecting reservations we can just do a ttm_bo_reserve_nolru on -EBUSY, and handle all errors in a single path. Signed-off-by: Maarten Lankhorst Reviewed-by: Jerome Glisse --- drivers/gpu/drm/ttm/ttm_execbuf_util.c | 53 ++---