]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
drm/ttm: Import Linux commit 5e45d7dfd74100d622f9cdc70bfd1f9fae1671de
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Sun, 25 Aug 2013 14:47:22 +0000 (14:47 +0000)
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Sun, 25 Aug 2013 14:47:22 +0000 (14:47 +0000)
commit8aa5d01931ea53ed8b9f9686e9503446f329a91b
tree8941dd9ac83de3353ed26d63348e4e69fcfb9d91
parentaa675725db65b6ecc129e85b257a383ca33e8b7f
drm/ttm: Import Linux commit 5e45d7dfd74100d622f9cdc70bfd1f9fae1671de

Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Tue Jan 15 14:57:05 2013 +0100

    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>
Approved by: kib@
sys/dev/drm2/ttm/ttm_bo.c
sys/dev/drm2/ttm/ttm_bo_driver.h