From 62b7723e6bed126be4950223593a6fd3395c58a6 Mon Sep 17 00:00:00 2001 From: Ville Syrjälä Date: Tue, 21 Nov 2017 20:44:50 +0200 Subject: tools/intel_watermark: Right justify register names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I think the dump is a more legible when the register names are right justified. That way the register name and its value are right next to each other. Cc: Dhinakaran Pandiyan Cc: Tvrtko Ursulin Reviewed-by: Dhinakaran Pandiyan Signed-off-by: Ville Syrjälä --- tools/intel_watermark.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/intel_watermark.c b/tools/intel_watermark.c index 3c70f4ec..308e351d 100644 --- a/tools/intel_watermark.c +++ b/tools/intel_watermark.c @@ -248,7 +248,7 @@ static void skl_wm_dump(void) } for (pipe = 0; pipe < num_pipes; pipe++) { - printf("%-18s 0x%08x\t", + printf("%18s 0x%08x\t", skl_wm_linetime_reg_name(pipe), wm_linetime[pipe]); } @@ -260,7 +260,7 @@ static void skl_wm_dump(void) if (plane >= skl_num_planes(devid, pipe)) break; - printf("%-18s 0x%08x\t" , + printf("%18s 0x%08x\t" , skl_wm_reg_name(pipe, plane, level), wm[level][pipe][plane]); } @@ -274,7 +274,7 @@ static void skl_wm_dump(void) if (plane >= skl_num_planes(devid, pipe)) break; - printf("%-18s 0x%08x\t", + printf("%18s 0x%08x\t", skl_wm_trans_reg_name(pipe, plane), wm_trans[pipe][plane]); } @@ -287,7 +287,7 @@ static void skl_wm_dump(void) if (plane >= skl_num_planes(devid, pipe)) break; - printf("%-18s 0x%08x\t", + printf("%18s 0x%08x\t", skl_buf_cfg_reg_name(pipe, plane), buf_cfg[pipe][plane]); } -- cgit v1.2.3