[PATCH i-g-t 05/13] tools/intel_vbt_decode: Dump AIM offsets

Jani Nikula jani.nikula at intel.com
Thu Apr 11 12:25:24 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 AIM offsets from the header. I don't think these should
> be actually in ant of modern VBT, but no harm in dumping them out
> anyway.
>
> 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 ead3dd6450e9..9c0774248e56 100644
> --- a/tools/intel_vbt_decode.c
> +++ b/tools/intel_vbt_decode.c
> @@ -2734,6 +2734,8 @@ static void dump_headers(struct context *context)
>  	printf("\tVBT size:\t\t0x%04x (%u)\n", vbt->vbt_size, vbt->vbt_size);
>  	printf("\tVBT checksum:\t\t0x%02x\n", vbt->vbt_checksum);
>  	printf("\tBDB offset:\t\t0x%08x (%u)\n", vbt->bdb_offset, vbt->bdb_offset);
> +	for (i = 0; i < ARRAY_SIZE(vbt->aim_offset); i++)
> +		printf("\tAIM #%d offset:\t\t0x%08x (%u)\n", i+1, vbt->aim_offset[i], vbt->aim_offset[i]);
>  
>  	printf("\n");

-- 
Jani Nikula, Intel


More information about the igt-dev mailing list