count field is in dwords, the argument to the decoder is in bytes... Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Fixes: d374423eabbfe3 ("intel/tools: Switch aubinator_error_decode over to the gen_print_batch") --- src/intel/tools/aubinator_error_decode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/intel/tools/aubinator_error_decode.c b/src/intel/tools/aubinator_error_decode.c index 735d3552722..2d918f0ec0f 100644 --- a/src/intel/tools/aubinator_error_decode.c +++ b/src/intel/tools/aubinator_error_decode.c @@ -610,7 +610,8 @@ read_data_file(FILE *file) strcmp(sections[s].buffer_name, "batch buffer") == 0 || strcmp(sections[s].buffer_name, "ring buffer") == 0 || strcmp(sections[s].buffer_name, "HW Context") == 0) { - gen_print_batch(&batch_ctx, sections[s].data, sections[s].count, + gen_print_batch(&batch_ctx, sections[s].data, + sections[s].count * 4, sections[s].gtt_offset, false); } } -- 2.19.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev