summaryrefslogtreecommitdiff
path: root/intel
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2012-06-24 20:35:57 -0700
committerBen Widawsky <ben@bwidawsk.net>2012-06-27 09:58:35 -0700
commit7d0a1d5ebbe2c6aecd96eef94b0af038858a0178 (patch)
tree90712ac394161bed5884f4b5450c38ab07c84f9b /intel
parenteeedb0dcc48e02727606d416c28bcb9b86915daa (diff)
intel/decode: VERTEX_ELEMENT_STATE, 1 means valid
The logic seemed to be inverse to me. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'intel')
-rw-r--r--intel/intel_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/intel/intel_decode.c b/intel/intel_decode.c
index cf5b3bbe..74dd530d 100644
--- a/intel/intel_decode.c
+++ b/intel/intel_decode.c
@@ -3392,7 +3392,7 @@ decode_3d_965(struct drm_intel_decode *ctx)
"src offset 0x%04x bytes\n",
data[i] >> (IS_GEN6(devid) ? 26 : 27),
data[i] & (1 << (IS_GEN6(devid) ? 25 : 26)) ?
- "" : "in", (data[i] >> 16) & 0x1ff,
+ "in" : "", (data[i] >> 16) & 0x1ff,
data[i] & 0x07ff);
i++;
instr_out(ctx, i, "(%s, %s, %s, %s), "