From 23685f07d161cb48af182ee26dc36641e79f89e7 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 6 Apr 2017 13:43:38 -0700 Subject: [PATCH] intel/aubinator_error_decode: Stop decoding after MI_BATCH_BUFFER_END Reviewed-by: Topi Pohjolainen --- src/intel/tools/aubinator_error_decode.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intel/tools/aubinator_error_decode.c b/src/intel/tools/aubinator_error_decode.c index 2e623698ed1..244bef89344 100644 --- a/src/intel/tools/aubinator_error_decode.c +++ b/src/intel/tools/aubinator_error_decode.c @@ -243,6 +243,9 @@ static void decode(struct gen_spec *spec, gen_print_group(stdout, inst, offset, p, option_color == COLOR_ALWAYS); + + if (strcmp(inst->name, "MI_BATCH_BUFFER_END") == 0) + break; } } -- 2.30.2