From: Chris Wilson Date: Sun, 4 Apr 2010 23:26:35 +0000 (+0100) Subject: decode: There are 4 unpreserved registers on i915, not 3. X-Git-Tag: 1.1~314 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2187ec2112750bb898416358ac5463eebbf30049;p=platform%2Fupstream%2Fintel-gpu-tools.git decode: There are 4 unpreserved registers on i915, not 3. Signed-off-by: Chris Wilson --- diff --git a/tools/intel_decode.c b/tools/intel_decode.c index 1504095..d279439 100644 --- a/tools/intel_decode.c +++ b/tools/intel_decode.c @@ -371,7 +371,7 @@ i915_get_instruction_dst(uint32_t *data, int i, char *dstname, int do_mask) sprintf(dstname, "oD%s%s", dstmask, sat); break; case 6: - if (dst_nr > 2) + if (dst_nr > 3) fprintf(out, "bad destination reg U%d\n", dst_nr); sprintf(dstname, "U%d%s%s", dst_nr, dstmask, sat); break;