On Mon, Nov 13, 2017 at 4:02 PM, Ville Syrjala <ville.syrjala@xxxxxxxxxxxxxxx> wrote: > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > 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 <arnd@xxxxxxxx> Sorry about the mess and thanks for cleaning up behind me. Arnd _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel