drm/linux: Implement hrtimers
authorFrançois Tigeot <ftigeot@wolfpond.org>
Wed, 15 Mar 2017 07:33:02 +0000 (08:33 +0100)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Wed, 15 Mar 2017 08:05:55 +0000 (09:05 +0100)
commit5915b712cf8cf6a4179eb25f88ba2a980399003d
tree9f00ab26b3e1c261cb526ea6b48c9dcad60834a2
parente0b761290ebb6c726126444ac954ccddf594d6c7
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.
sys/conf/files
sys/dev/drm/drm/Makefile
sys/dev/drm/include/linux/hrtimer.h [copied from sys/dev/drm/include/linux/sched.h with 58% similarity]
sys/dev/drm/include/linux/interrupt.h
sys/dev/drm/include/linux/ktime.h
sys/dev/drm/include/linux/sched.h
sys/dev/drm/linux_hrtimer.c [new file with mode: 0644]