summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-02-11 10:32:58 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2020-02-11 10:35:28 +0000
commit256732bd9bd82cee2564cdb6f619ca1dd72f5265 (patch)
treed54531fea10bd502cd939ffef985dc4d2435819c /tools
parent3ce739c6f1a81bda0a92c2d44972ef075487e8b1 (diff)
intel_error_decode: Recognise NULL context once more
If we don't recognise a buffer in the state, we claim it is a "batch buffer" and so confuse the user. Reported-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/intel_error_decode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/intel_error_decode.c b/tools/intel_error_decode.c
index ac623ea3..356ce372 100644
--- a/tools/intel_error_decode.c
+++ b/tools/intel_error_decode.c
@@ -609,6 +609,7 @@ read_data_file(FILE *file)
{ "batch", "batch", 1 },
{ "ringbuffer", "ring", 1 },
{ "gtt_offset", "batch", 1 },
+ { "NULL context", "NULL context", 0 },
{ "hw context", "HW context", 1 },
{ "hw status", "HW status", 0 },
{ "wa context", "WA context", 1 },