diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-09-15 20:40:17 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-11-21 16:19:17 +0200 |
commit | a297c9348b258435fef08e98d6a89cbed1d2386d (patch) | |
tree | 87db96a92b499a34083f9233f28ce5dd01e27446 /tools | |
parent | 9a2ba28a87b0fc20ea80a614069615262d311a17 (diff) |
tools/intel_watermark: Polish SKL+ register dump output a bit
Print hex numbers with "0x" prefix, and make the output a bit more
compact.
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, 3 insertions, 3 deletions
diff --git a/tools/intel_watermark.c b/tools/intel_watermark.c index e5c2ef38..43f846f8 100644 --- a/tools/intel_watermark.c +++ b/tools/intel_watermark.c @@ -172,7 +172,7 @@ static void skl_wm_dump(void) snprintf(reg_name, sizeof(reg_name), "PLANE_WM_%1d_%c_%1d", plane, pipe_name(pipe), level); - printf("%-19s %8x\t\t" , reg_name, wm[level][pipe][plane]); + printf("%-18s 0x%08x\t" , reg_name, wm[level][pipe][plane]); } printf("\n"); } @@ -188,7 +188,7 @@ static void skl_wm_dump(void) snprintf(reg_name, sizeof(reg_name), "PLANE_WM_TRANS_%1d_%c", plane, pipe_name(pipe)); - printf("%-19s %8x\t\t", reg_name, wm_trans[pipe][plane]); + printf("%-18s 0x%08x\t", reg_name, wm_trans[pipe][plane]); } printf("\n"); } @@ -203,7 +203,7 @@ static void skl_wm_dump(void) snprintf(reg_name, sizeof(reg_name), "PLANE_BUF_CFG_%1d_%c", plane, pipe_name(pipe)); - printf("%-19s %8x\t\t", reg_name, buf_cfg[pipe][plane]); + printf("%-18s 0x%08x\t", reg_name, buf_cfg[pipe][plane]); } printf("\n"); } |