[igt-dev] [PATCH i-g-t] tools/intel_vbt_decode: Dump DSI panel rotation
Jani Nikula
jani.nikula at linux.intel.com
Tue Oct 23 08:18:49 UTC 2018
On Mon, 22 Oct 2018, Ville Syrjala <ville.syrjala at linux.intel.com> wrote:
> 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>
>From memory, can't be bothered to double check the spec ;)
Reviewed-by: Jani Nikula <jani.nikula at 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)
--
Jani Nikula, Intel Open Source Graphics Center
More information about the igt-dev
mailing list