commit | d2cb58c85ce4789caafa66fa8f1c641ab2504ead | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Wed Jul 16 21:04:26 2014 +0000 |
committer | John Stultz <john.stultz@linaro.org> | Wed Jul 23 10:18:03 2014 -0700 |
tree | c2676c12e5058c0ac7582a5d14bacb7298728536 | |
parent | 5cac2f4d1c5f3eb3d981fab85d926d19f7b6b889 [diff] |
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>