Mesa (master): intel/aubinator_error_decode: Decode more registers.

Rafael Antognolli rantogno at kemper.freedesktop.org
Mon Mar 26 16:26:13 UTC 2018


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

Author: Rafael Antognolli <rafael.antognolli at intel.com>
Date:   Wed Mar 21 11:42:23 2018 -0700

intel/aubinator_error_decode: Decode more registers.

Decode SC_INSTDONE, ROW_INSTDONE and SAMPLER_INSTDONE.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

---

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

diff --git a/src/intel/tools/aubinator_error_decode.c b/src/intel/tools/aubinator_error_decode.c
index db880d74a9..9abd05fd75 100644
--- a/src/intel/tools/aubinator_error_decode.c
+++ b/src/intel/tools/aubinator_error_decode.c
@@ -540,6 +540,18 @@ read_data_file(FILE *file)
                print_register(spec, reg_name, reg);
          }
 
+         matched = sscanf(line, "  SC_INSTDONE: 0x%08x\n", &reg);
+         if (matched == 1)
+            print_register(spec, "SC_INSTDONE", reg);
+
+         matched = sscanf(line, "  SAMPLER_INSTDONE[%*d][%*d]: 0x%08x\n", &reg);
+         if (matched == 1)
+            print_register(spec, "SAMPLER_INSTDONE", reg);
+
+         matched = sscanf(line, "  ROW_INSTDONE[%*d][%*d]: 0x%08x\n", &reg);
+         if (matched == 1)
+            print_register(spec, "ROW_INSTDONE", reg);
+
          matched = sscanf(line, "  INSTDONE1: 0x%08x\n", &reg);
          if (matched == 1)
             print_register(spec, "INSTDONE_1", reg);




More information about the mesa-commit mailing list