git: drm/ttm: Fix ttm_bo_wait_unreserved()

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sun Nov 16 09:31:58 PST 2014


commit e434fbb5b75d1f4dcd1ea15b038280f8c81a2cad
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sun Nov 16 18:09:45 2014 +0100

    drm/ttm: Fix ttm_bo_wait_unreserved()
    
    By using the wait event API and code from Linux 3.8.13
    
    The old implementation of this function had a tendency to wrongly
    go to an uninterruptible sleep state.

Summary of changes:
 sys/dev/drm/include/drm/ttm/ttm_bo_api.h |  1 +
 sys/dev/drm/include/linux/wait.h         |  3 +++
 sys/dev/drm/ttm/ttm_bo.c                 | 18 ++++--------------
 3 files changed, 8 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e434fbb5b75d1f4dcd1ea15b038280f8c81a2cad


-- 
DragonFly BSD source repository



More information about the Commits mailing list