[PATCH i-g-t 10/13] tools/intel_vbt_decode: Dump out the backlight entry size

Jani Nikula jani.nikula at intel.com
Thu Apr 11 13:06:58 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>
>
> Dump the backlight entry size for completeness. It's easier to
> compare against the spec/etc. when everything is decoded.
>
> 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, 2 insertions(+)
>
> diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
> index 642cb84a56b6..b57d1e9602ae 100644
> --- a/tools/intel_vbt_decode.c
> +++ b/tools/intel_vbt_decode.c
> @@ -627,6 +627,8 @@ static void dump_backlight_info(struct context *context,
>  		return;
>  	}
>  
> +	printf("\tEntry size: %u\n", backlight->entry_size);
> +
>  	for (i = 0; i < ARRAY_SIZE(backlight->data); i++) {
>  		if (i != context->panel_type && !context->dump_all_panel_types)
>  			continue;

-- 
Jani Nikula, Intel


More information about the igt-dev mailing list