mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-15 05:03:01 -05:00
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>
This commit is contained in:
committed by
Petr Mladek
parent
9d2a48c3a7
commit
083364667d
@@ -794,10 +794,8 @@ drm_crtc_vblank_helper_get_vblank_timestamp_internal(
|
||||
ts_vblank_time = ktime_to_timespec64(*vblank_time);
|
||||
|
||||
drm_dbg_vbl(dev,
|
||||
"crtc %u : v p(%d,%d)@ %lld.%06ld -> %lld.%06ld [e %d us, %d rep]\n",
|
||||
pipe, hpos, vpos,
|
||||
(u64)ts_etime.tv_sec, ts_etime.tv_nsec / 1000,
|
||||
(u64)ts_vblank_time.tv_sec, ts_vblank_time.tv_nsec / 1000,
|
||||
"crtc %u : v p(%d,%d)@ %ptSp -> %ptSp [e %d us, %d rep]\n",
|
||||
pipe, hpos, vpos, &ts_etime, &ts_vblank_time,
|
||||
duration_ns / 1000, i);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user