[igt-dev] [PATCH i-g-t v2 17/17] tools/intel_vbt_decode: Print panel_type2
Ville Syrjala
ville.syrjala at linux.intel.com
Tue Sep 6 12:29:44 UTC 2022
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Print out the second panel type as well.
I decided to just get rid of the "(override %d)" stuff
as it doesn't really get us anything and doesn't really
make sense anyway when we have two possible panel types
to consider. The command line override may or may not match
either of those.
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
tools/intel_vbt_decode.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index 8f48d43abe58..767853b64b3d 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -1130,11 +1130,9 @@ static void dump_lvds_options(struct context *context,
{
const struct bdb_lvds_options *options = block_data(block);
- if (context->panel_type == options->panel_type)
- printf("\tPanel type: %d\n", options->panel_type);
- else
- printf("\tPanel type: %d (override %d)\n",
- options->panel_type, context->panel_type);
+ printf("\tPanel type: %d\n", options->panel_type);
+ if (context->bdb->version >= 212)
+ printf("\tPanel type 2: %d\n", options->panel_type2);
printf("\tLVDS EDID available: %s\n", YESNO(options->lvds_edid));
printf("\tPixel dither: %s\n", YESNO(options->pixel_dither));
printf("\tPFIT auto ratio: %s\n", YESNO(options->pfit_ratio_auto));
--
2.35.1
More information about the igt-dev
mailing list