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 <chris@chris-wilson.co.uk>
This commit is contained in:
Kenneth Graunke 2017-11-11 22:04:01 -08:00
parent 00981e7c47
commit 4bb119f00b

View file

@ -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);