From: Matt Turner Date: Thu, 6 Apr 2017 20:43:38 +0000 (-0700) Subject: intel/aubinator_error_decode: Stop decoding after MI_BATCH_BUFFER_END X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23685f07d161cb48af182ee26dc36641e79f89e7;p=mesa.git intel/aubinator_error_decode: Stop decoding after MI_BATCH_BUFFER_END Reviewed-by: Topi Pohjolainen --- 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; } }