[PATCH i-g-t 3/5] tools/intel_vbt_decode: Change panel indicator from * to (1)

Ville Syrjala ville.syrjala at linux.intel.com
Fri Mar 22 16:32:49 UTC 2024


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

In preparation for also indicating the second panel (panel_type2)
change the indicator for the first panel (panel_type) to "(1)"
from "*".

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 2473812cca6d..98f64d0822c6 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -92,7 +92,7 @@ static bool dump_panel(const struct context *context, int panel_type)
 
 static const char *panel_str(const struct context *context, int panel_type)
 {
-	return panel_type == context->panel_type ? " *" : "";
+	return panel_type == context->panel_type ? " (1)" : "";
 }
 
 /* Get BDB block size given a pointer to Block ID. */
-- 
2.43.2



More information about the igt-dev mailing list