From 4bb119f00b2a5742adf79958d691d3b92ea6f87e Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 11 Nov 2017 22:04:01 -0800 Subject: [PATCH] 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 --- 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.30.2