[PATCH i-g-t 06/20] tools/intel_vbt_decode: Indent ALS dump

Ville Syrjala ville.syrjala at linux.intel.com
Fri May 31 14:23:40 UTC 2024


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

Add an extra indent level to the ALS table dump to make it nicer
to look at.

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

diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index f9bc1deb906c..318069ee948e 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -1853,9 +1853,10 @@ static void dump_lfp_power(struct context *context,
 	       YESNO(lfp_block->features.dpst_support));
 
 	for (i = 0; i < 5; i++) {
-		printf("\tALS backlight adjust: %d\n",
+		printf("\tALS entry #%d\n", i + 1);
+		printf("\t\tALS backlight adjust: %d\n",
 		       lfp_block->als[i].backlight_adjust);
-		printf("\tALS Lux: %d\n",
+		printf("\t\tALS Lux: %d\n",
 		       lfp_block->als[i].lux);
 	}
 
-- 
2.44.1



More information about the igt-dev mailing list