On Mon, Nov 13, 2017 at 4:02 PM, Ville Syrjala <ville.syrj...@linux.intel.com> wrote: > From: Ville Syrjälä <ville.syrj...@linux.intel.com> > > We're currently calling ktime_to_timespec64() on stack garbage > hence the debug output for vblank timestamps also contains garbage. > Let's assing something to the ktime_t first before we go converting > it to a timespec. > > While at it micro-optimize the ktime_to_timespec64() calls away > when vblank debugging isn't enabled. > > Fixes: 67680d3c0464 ("drm: vblank: use ktime_t instead of timeval")
Acked-by: Arnd Bergmann <a...@arndb.de> Sorry about the mess and thanks for cleaning up behind me. Arnd _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel