[Mesa-dev] [PATCH 04/11] intel/tools/error: Only decode a few sections of error states.

Kenneth Graunke kenneth at whitecape.org
Sun Nov 12 08:35:05 UTC 2017


These three are the only we can reasonably decode with genxml.
---
 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 94436e957d4..ae9f08f1d2b 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);
-- 
2.15.0



More information about the mesa-dev mailing list