diff options
author | Kenneth Graunke <[email protected]> | 2017-11-11 22:04:01 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-11-13 17:10:38 -0800 |
commit | 4bb119f00b2a5742adf79958d691d3b92ea6f87e (patch) | |
tree | c8158f96eb5d62718a72124be14035dc55d2a8ac | |
parent | 00981e7c477e13e5328d7de1d548bfd1151f167c (diff) |
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]>
-rw-r--r-- | src/intel/tools/aubinator_error_decode.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |