git: DragonFly_RELEASE_4_0 drm/ttm: Fix ttm_bo_wait_unreserved()

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sun Nov 16 12:55:08 PST 2014


commit cfa972faf187868ffc93e59ed777ef290b7fdf13
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/cfa972faf187868ffc93e59ed777ef290b7fdf13


-- 
DragonFly BSD source repository



More information about the Commits mailing list