intel/aubinator: Correctly decode INTERFACE_DESCRIPTOR_DATA
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 13 Feb 2018 03:29:59 +0000 (19:29 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 14 Feb 2018 21:17:26 +0000 (13:17 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/tools/gen_batch_decoder.c

index 78db83b9820aee7d61a67d666f9e0bb8ae201b9f..1a8794c84e7a9710451b322ab599da6b37fc86bd 100644 (file)
@@ -285,7 +285,7 @@ handle_media_interface_descriptor_load(struct gen_batch_decode_ctx *ctx,
    for (int i = 0; i < descriptor_count; i++) {
       fprintf(ctx->fp, "descriptor %d: %08x\n", i, descriptor_offset);
 
-      ctx_print_group(ctx, inst, desc_addr, desc_map);
+      ctx_print_group(ctx, desc, desc_addr, desc_map);
 
       gen_field_iterator_init(&iter, desc, desc_map, 0, false);
       uint64_t ksp;