drm/ttm: cleanup ttm_eu_reserve_buffers handling
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 15 Jan 2013 13:56:48 +0000 (14:56 +0100)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 15 Jan 2013 13:56:48 +0000 (14:56 +0100)
commit7a1863084c9d90ce4b67d645bf9b0f1612e68f62
treef888cffea1079ef31e4e27bf5d7215c92b325756
parent63d0a4195560362e2e00a3ad38fc331d34e1da9b
drm/ttm: cleanup ttm_eu_reserve_buffers handling

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 <maarten.lankhorst@canonical.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
drivers/gpu/drm/ttm/ttm_execbuf_util.c