intel/tools: Update aubinator_error_decode.
authorRafael Antognolli <rafael.antognolli@intel.com>
Wed, 12 Feb 2020 23:18:15 +0000 (15:18 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Fri, 14 Feb 2020 00:53:18 +0000 (16:53 -0800)
"ringbuffer" is now called only "ring" in the error state.

v2: Keep compatible with old error state (Lionel).
v3: Also update "gtt_offset" -> "batch".

Closes: https://gitlab.freedesktop.org/drm/intel/issues/1206
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/tools/aubinator_error_decode.c

index 35e049cfad99518e00f0bdf57df17257a013bc90..aa1b1d53d7e77c83d996015a7b1a4084afb6edec 100644 (file)
@@ -439,7 +439,9 @@ read_data_file(FILE *file)
             const char *name;
          } buffers[] = {
             { "ringbuffer", "ring buffer" },
+            { "ring", "ring buffer" },
             { "gtt_offset", "batch buffer" },
+            { "batch", "batch buffer" },
             { "hw context", "HW Context" },
             { "hw status", "HW status" },
             { "wa context", "WA context" },