aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timekeeping.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-07-16 21:04:26 +0000
committerJohn Stultz <john.stultz@linaro.org>2014-07-23 10:18:03 -0700
commitd2cb58c85ce4789caafa66fa8f1c641ab2504ead (patch)
treec2676c12e5058c0ac7582a5d14bacb7298728536 /include/linux/timekeeping.h
parent5cac2f4d1c5f3eb3d981fab85d926d19f7b6b889 (diff)
downloadlinux-linaro-stable-d2cb58c85ce4789caafa66fa8f1c641ab2504ead.tar.gz
drm: Use ktime_mono_to_real()
Convert the monotonic timestamp with ktime_mono_to_real() in drm_calc_vbltimestamp_from_scanoutpos(). In get_drm_timestamp we can call either ktime_get() or ktime_get_real() depending on drm_timestamp_monotonic. No point in having two calls into the core for CLOCK_REALTIME. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/timekeeping.h')
0 files changed, 0 insertions, 0 deletions