summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-04-06 13:43:38 -0700
committerMatt Turner <[email protected]>2017-05-15 11:43:20 -0700
commit23685f07d161cb48af182ee26dc36641e79f89e7 (patch)
treeab878dca4c0bb05cf525e7e34d0db87a0c9ef2ed
parent8e7221fa5a6125a6a06887e8bdd3a1b581c2d713 (diff)
intel/aubinator_error_decode: Stop decoding after MI_BATCH_BUFFER_END
Reviewed-by: Topi Pohjolainen <[email protected]>
-rw-r--r--src/intel/tools/aubinator_error_decode.c3
1 files changed, 3 insertions, 0 deletions
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;
}
}