intel/aubinator_error_decode: Decode more registers.
authorRafael Antognolli <rafael.antognolli@intel.com>
Wed, 21 Mar 2018 18:42:23 +0000 (11:42 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Mon, 26 Mar 2018 16:25:57 +0000 (09:25 -0700)
Decode SC_INSTDONE, ROW_INSTDONE and SAMPLER_INSTDONE.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/tools/aubinator_error_decode.c

index db880d74a9e632eeaa708a3a9d5595c857a57fcd..9abd05fd75aa0665bb6f20b9105c01efef868ed6 100644 (file)
@@ -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);