[igt-dev] [PATCH i-g-t 14/14] tools/intel_vbt_decode: Dump the compression structure index as decimal

Ville Syrjala ville.syrjala at linux.intel.com
Fri Jul 15 20:25:20 UTC 2022


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

The compression structure index is just that, and index. So just
dump it as a decimal number (and drop the mispaced parenthesis).

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 tools/intel_vbt_decode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index de515aa6fd25..8d88cdfa283c 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -959,7 +959,7 @@ static void dump_child_device(struct context *context,
 		printf("\t\tCompression enable: %s\n", YESNO(child->compression_enable));
 		printf("\t\tCompression method CPS: %s\n", YESNO(child->compression_method_cps));
 		printf("\t\tDual pipe ganged eDP: %s\n", YESNO(child->ganged_edp));
-		printf("\t\tCompression structure index: 0x%02x)\n", child->compression_structure_index);
+		printf("\t\tCompression structure index: %d\n", child->compression_structure_index);
 
 		if (context->bdb->version >= 237) {
 			printf("\t\tHDMI Max FRL rate valid: %s\n",
-- 
2.35.1



More information about the igt-dev mailing list