[PATCH i-g-t 10/13] tools/intel_vbt_decode: Dump out the backlight entry size

Ville Syrjala ville.syrjala at linux.intel.com
Fri Mar 22 20:41:22 UTC 2024


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

Dump the backlight entry size for completeness. It's easier to
compare against the spec/etc. when everything is decoded.

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

diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index 642cb84a56b6..b57d1e9602ae 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -627,6 +627,8 @@ static void dump_backlight_info(struct context *context,
 		return;
 	}
 
+	printf("\tEntry size: %u\n", backlight->entry_size);
+
 	for (i = 0; i < ARRAY_SIZE(backlight->data); i++) {
 		if (i != context->panel_type && !context->dump_all_panel_types)
 			continue;
-- 
2.43.2



More information about the igt-dev mailing list