Module: Mesa
Branch: master
Commit: 23685f07d161cb48af182ee26dc36641e79f89e7
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=23685f07d161cb48af182ee26dc36641e79f89e7

Author: Matt Turner <[email protected]>
Date:   Thu Apr  6 13:43:38 2017 -0700

intel/aubinator_error_decode: Stop decoding after MI_BATCH_BUFFER_END

Reviewed-by: Topi Pohjolainen <[email protected]>

---

 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 2e623698ed..244bef8934 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;
    }
 }
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to