git: drm: Add a linux/completion.h implementation

Francois Tigeot ftigeot at crater.dragonflybsd.org
Fri Jul 4 05:04:48 PDT 2014


commit 24b50f1af793d1447ff34aca2a93d0c8363b9f69
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Fri Jul 4 11:54:40 2014 +0200

    drm: Add a linux/completion.h implementation
    
    * The drm/i915 code expect completion to be a struct containing a
      counter named 'done' and a wait queue named 'wait'
    
    * It also expects this wait queue to be a struct containing a spinlock
      named 'lock'. Adjust the implementation in linux/wait.h accordingly.

Summary of changes:
 sys/dev/drm/drm_fops.c                 |   1 -
 sys/dev/drm/include/linux/completion.h | 101 +++++++++++++++++++++++++++++++++
 sys/dev/drm/include/linux/wait.h       |  13 ++++-
 3 files changed, 112 insertions(+), 3 deletions(-)
 create mode 100644 sys/dev/drm/include/linux/completion.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/24b50f1af793d1447ff34aca2a93d0c8363b9f69


-- 
DragonFly BSD source repository



More information about the Commits mailing list