intel/decoders: fix instruction base address parsing
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 5 Nov 2018 20:42:40 +0000 (20:42 +0000)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 5 Nov 2018 21:22:35 +0000 (13:22 -0800)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 00103db04ab879 ("intel: Fix decoding for partial STATE_BASE_ADDRESS updates.")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/common/gen_batch_decoder.c
src/intel/tools/aubinator_viewer_decoder.cpp

index 63f0462757208d513ba9f6c5b2ebdebfbd18b2c5..36ee7706e40389a592967a355694f74b1a1f35ef 100644 (file)
@@ -214,7 +214,7 @@ handle_state_base_address(struct gen_batch_decode_ctx *ctx, const uint32_t *p)
          surface_modify = iter.raw_value;
       } else if (strcmp(iter.name, "Dynamic State Base Address Modify Enable") == 0) {
          dynamic_modify = iter.raw_value;
-      } else if (strcmp(iter.name, "Insntruction Base Address Modify Enable") == 0) {
+      } else if (strcmp(iter.name, "Instruction Base Address Modify Enable") == 0) {
          instruction_modify = iter.raw_value;
       }
    }
index 5311a8afc31d7e30024b4a01620dee6974123a6f..59cde5304092cd34cb374a5e5998033d75302cc2 100644 (file)
@@ -172,7 +172,7 @@ handle_state_base_address(struct aub_viewer_decode_ctx *ctx,
          surface_modify = iter.raw_value;
       } else if (strcmp(iter.name, "Dynamic State Base Address Modify Enable") == 0) {
          dynamic_modify = iter.raw_value;
-      } else if (strcmp(iter.name, "Insntruction Base Address Modify Enable") == 0) {
+      } else if (strcmp(iter.name, "Instruction Base Address Modify Enable") == 0) {
          instruction_modify = iter.raw_value;
       }
    }