[igt-dev] [PATCH i-g-t v2] tools/i915-perf-recorder: fix topology alignment issue

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 1 11:57:50 UTC 2020


Quoting Lionel Landwerlin (2020-04-01 12:55:13)
> The additional alignment added when writing into the output was not
> accounted in the header. This is preventing reading the recorded data.
> 
> Instead of adding the alignment when writing, just account for it when
> querying the topology.
> 
> v2: Use calloc
>     Drop unused var
> 
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> Fixes: f08865e58cd3 ("tools: add i915 perf recorder tool")
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the igt-dev mailing list