drm/ttm: add ttm_bo_reserve_slowpath
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 15 Jan 2013 13:57:05 +0000 (14:57 +0100)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 15 Jan 2013 13:57:05 +0000 (14:57 +0100)
commit5e45d7dfd74100d622f9cdc70bfd1f9fae1671de
treeb12de2542f55d332a73fcd7d863bd2e45fd7d4ef
parent7a1863084c9d90ce4b67d645bf9b0f1612e68f62
drm/ttm: add ttm_bo_reserve_slowpath

Instead of dropping everything, waiting for the bo to be unreserved
and trying over, a better strategy would be to do a blocking wait.

This can be mapped a lot better to a mutex_lock-like call.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c
include/drm/ttm/ttm_bo_driver.h
This page took 0.024442 seconds and 5 git commands to generate.