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

Author: Kenneth Graunke <[email protected]>
Date:   Sat Nov 11 22:04:01 2017 -0800

intel/tools/error: Only decode a few sections of error states.

These three are the only we can reasonably decode with genxml.

Reviewed-by: Chris Wilson <[email protected]>

---

 src/intel/tools/aubinator_error_decode.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/intel/tools/aubinator_error_decode.c 
b/src/intel/tools/aubinator_error_decode.c
index 94436e957d..ae9f08f1d2 100644
--- a/src/intel/tools/aubinator_error_decode.c
+++ b/src/intel/tools/aubinator_error_decode.c
@@ -527,7 +527,9 @@ read_data_file(FILE *file)
                                            stdout);
                }
             }
-         } else {
+         } else if (strcmp(buffer_name, "batch buffer") == 0 ||
+                    strcmp(buffer_name, "ring buffer") == 0 ||
+                    strcmp(buffer_name, "HW Context") == 0) {
             decode(spec, gtt_offset, data, count);
          }
          free(data);

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

Reply via email to