[igt-dev] [PATCH i-g-t] tools/intel_vbt_decode: Dump DSI panel rotation
Ville Syrjala
ville.syrjala at linux.intel.com
Mon Oct 22 15:59:38 UTC 2018
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Dump out the rotation field from the MIPI config block.
Cc: Hans de Goede <hdegoede at redhat.com>
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
tools/intel_vbt_decode.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index e61f0a8c8ea8..c92bfb65a895 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -1049,6 +1049,7 @@ static void dump_mipi_config(struct context *context,
printf("\tGeneral Param\n");
printf("\t\t BTA disable: %s\n", config->bta ? "Disabled" : "Enabled");
+ printf("\t\t Panel Rotation: %d degrees\n", config->rotation * 90);
printf("\t\t Video Mode Color Format: ");
if (config->videomode_color_format == 0)
--
2.18.1
More information about the igt-dev
mailing list