diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-09-15 20:26:33 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-11-21 16:19:17 +0200 |
commit | 1f5814e2e1dce53e6df5d1179785ef68420029e7 (patch) | |
tree | 2016ee06205e2d7dbe3af56be1eea933c9c1d33e /tools | |
parent | 8809638e8e42488aac701066d7ced164854c6c9c (diff) |
tools/intel_watermark: Print linetime wms in usec
Let's print the linetime watermarks un usecs. Might make it easier to
spot bogus values.
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/intel_watermark.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/intel_watermark.c b/tools/intel_watermark.c index de0b0831..c702f954 100644 --- a/tools/intel_watermark.c +++ b/tools/intel_watermark.c @@ -239,8 +239,10 @@ static void ilk_wm_dump(void) } if (is_hsw_plus(devid)) { for (i = 0; i < num_pipes; i++) { - printf("WM_LINETIME_%c: line time=%d, ips line time=%d\n", - pipe_name(i), wm.linetime[i].linetime, wm.linetime[i].ips); + printf("WM_LINETIME_%c: line time=%d (%.3f usec), ips line time=%d (%.3f usec)\n", + pipe_name(i), + wm.linetime[i].linetime, wm.linetime[i].linetime * 0.125f, + wm.linetime[i].ips, wm.linetime[i].ips * 0.125f); } } if (is_gen7_plus(devid)) { |