intel: Correct the word decoding for gen2 3DSTATE_LOAD_STATE_IMMEDIATE_1
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 7 Oct 2012 09:07:23 +0000 (10:07 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 7 Oct 2012 09:09:38 +0000 (10:09 +0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
intel/intel_decode.c

index 19a8d36..a4b045a 100644 (file)
@@ -1714,7 +1714,7 @@ decode_3d_1d(struct drm_intel_decode *ctx)
                                        }
                                } else {
                                        instr_out(ctx, i,
-                                                 "S%d: 0x%08x\n", i, data[i]);
+                                                 "S%d: 0x%08x\n", word, data[i]);
                                }
                                i++;
                        }