git: drm/linux: Implement hrtimers

Francois Tigeot ftigeot at crater.dragonflybsd.org
Wed Mar 15 02:13:03 PDT 2017


commit 5915b712cf8cf6a4179eb25f88ba2a980399003d
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Wed Mar 15 08:33:02 2017 +0100

    drm/linux: Implement hrtimers
    
    This initial implementation is based on callouts and not
    highly precise.
    
    It nevertheless works fine with the drm/i915 driver from
    Linux 4.7 and will be enough for now.

Summary of changes:
 sys/conf/files                                     |  1 +
 sys/dev/drm/drm/Makefile                           |  1 +
 sys/dev/drm/include/linux/{kobject.h => hrtimer.h} | 57 +++++++++---------
 sys/dev/drm/include/linux/interrupt.h              |  1 +
 sys/dev/drm/include/linux/ktime.h                  | 11 +++-
 sys/dev/drm/include/linux/sched.h                  | 19 +++++-
 .../asm/special_insns.h => linux_hrtimer.c}        | 67 ++++++++++++++++++----
 7 files changed, 116 insertions(+), 41 deletions(-)
 copy sys/dev/drm/include/linux/{kobject.h => hrtimer.h} (60%)
 copy sys/dev/drm/{include/asm/special_insns.h => linux_hrtimer.c} (50%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5915b712cf8cf6a4179eb25f88ba2a980399003d


-- 
DragonFly BSD source repository



More information about the Commits mailing list