Mesa (main): intel/error-decode: printout more registers

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 17 08:17:03 UTC 2021


Module: Mesa
Branch: main
Commit: c8ff8a66cf814834c650323b8e292baf67cbc646
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8ff8a66cf814834c650323b8e292baf67cbc646

Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Thu May 20 06:54:18 2021 +0000

intel/error-decode: printout more registers

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Marcin Ślusarz <marcin.slusarz at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12392>

---

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

diff --git a/src/intel/tools/aubinator_error_decode.c b/src/intel/tools/aubinator_error_decode.c
index a10265c9b23..cf219282358 100644
--- a/src/intel/tools/aubinator_error_decode.c
+++ b/src/intel/tools/aubinator_error_decode.c
@@ -564,6 +564,14 @@ read_data_file(FILE *file)
          if (matched == 1)
             print_register(spec, "SC_INSTDONE", reg);
 
+         matched = sscanf(line, "  SC_INSTDONE_EXTRA: 0x%08x\n", &reg);
+         if (matched == 1)
+            print_register(spec, "SC_INSTDONE_EXTRA", reg);
+
+         matched = sscanf(line, "  SC_INSTDONE_EXTRA2: 0x%08x\n", &reg);
+         if (matched == 1)
+            print_register(spec, "SC_INSTDONE_EXTRA2", reg);
+
          matched = sscanf(line, "  SAMPLER_INSTDONE[%*d][%*d]: 0x%08x\n", &reg);
          if (matched == 1)
             print_register(spec, "SAMPLER_INSTDONE", reg);



More information about the mesa-commit mailing list