From: Kenneth Graunke Date: Sun, 12 Nov 2017 06:04:01 +0000 (-0800) Subject: intel/tools/error: Only decode a few sections of error states. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4bb119f00b2a5742adf79958d691d3b92ea6f87e;p=mesa.git 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 --- 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);