Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/vblank: Switch to use %ptSp

Use %ptSp instead of open coded variants to print content of
struct timespec64 in human readable format.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20251113150217.3030010-8-andriy.shevchenko@linux.intel.com
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>

authored by

Andy Shevchenko and committed by
Petr Mladek
08336466 9d2a48c3

+2 -4
+2 -4
drivers/gpu/drm/drm_vblank.c
··· 794 794 ts_vblank_time = ktime_to_timespec64(*vblank_time); 795 795 796 796 drm_dbg_vbl(dev, 797 - "crtc %u : v p(%d,%d)@ %lld.%06ld -> %lld.%06ld [e %d us, %d rep]\n", 798 - pipe, hpos, vpos, 799 - (u64)ts_etime.tv_sec, ts_etime.tv_nsec / 1000, 800 - (u64)ts_vblank_time.tv_sec, ts_vblank_time.tv_nsec / 1000, 797 + "crtc %u : v p(%d,%d)@ %ptSp -> %ptSp [e %d us, %d rep]\n", 798 + pipe, hpos, vpos, &ts_etime, &ts_vblank_time, 801 799 duration_ns / 1000, i); 802 800 803 801 return true;