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

Jani Nikula jani.nikula at intel.com
Mon Mar 25 14:57:10 UTC 2024


On Fri, 22 Mar 2024, Ville Syrjala <ville.syrjala at linux.intel.com> wrote:
> 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>

Reviewed-by: Jani Nikula <jani.nikula at 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. */

-- 
Jani Nikula, Intel


More information about the igt-dev mailing list