Mesa (master): intel/tools: Update aubinator_error_decode.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Feb 14 01:17:14 UTC 2020


Module: Mesa
Branch: master
Commit: 6baeca36899109cd9d8e06d1b5f4b9db8becd5fa
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6baeca36899109cd9d8e06d1b5f4b9db8becd5fa

Author: Rafael Antognolli <rafael.antognolli at intel.com>
Date:   Wed Feb 12 15:18:15 2020 -0800

intel/tools: Update aubinator_error_decode.

"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 at intel.com>

---

 src/intel/tools/aubinator_error_decode.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/intel/tools/aubinator_error_decode.c b/src/intel/tools/aubinator_error_decode.c
index 35e049cfad9..aa1b1d53d7e 100644
--- a/src/intel/tools/aubinator_error_decode.c
+++ b/src/intel/tools/aubinator_error_decode.c
@@ -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" },



More information about the mesa-commit mailing list