CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2020/07/06 22:05:25

Modified files:
        sys/dev/pci/drm/include/linux: ktime.h timekeeping.h 

Log message:
drm: use hi-res time to implement ktime_get(), ktime_get_real()

There seems to have been some confusion about the granularity of
certain time interfaces in the Linux kernel when our DRM compatibility
layer was written.

To be clear: the Linux ktime_get() and ktime_get_real() interfaces are
*high resolution* clocks.  We should to implement them with high
resolution interfaces from our own kernel.

Thus, use microuptime(9) to implement ktime_get() and microtime(9) to
implement ktime_get_real().

While here, ktime_get_raw_ns() should use ktime_get_raw(), not
ktime_get().

Discussed with kettenis@ and jsg@.

ok jsg@

Reply via email to