diff options
author | Eric Anholt <[email protected]> | 2010-07-08 12:35:48 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-07-08 12:50:53 -0700 |
commit | a3cc7585eae1dd7aa1f2257e787c784672f49831 (patch) | |
tree | 5cc8c1c0c753360afa3542e20d1b5d3345270514 /src/mesa/drivers/dri/i965 | |
parent | 3f906621da3647d06b7c9903f4b7367efebd82b7 (diff) |
i965: Fix disasm of a SEND's mlen and rlen on Ironlake.
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_disasm.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index 16feca1f16a..3dbf4ad3a04 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++ b/src/mesa/drivers/dri/i965/brw_disasm.c @@ -917,10 +917,17 @@ int brw_disasm (FILE *file, struct brw_instruction *inst, int gen) } if (space) string (file, " "); - format (file, "mlen %d", - inst->bits3.generic.msg_length); - format (file, " rlen %d", - inst->bits3.generic.response_length); + if (gen == 5) { + format (file, "mlen %d", + inst->bits3.generic_gen5.msg_length); + format (file, " rlen %d", + inst->bits3.generic_gen5.response_length); + } else { + format (file, "mlen %d", + inst->bits3.generic.msg_length); + format (file, " rlen %d", + inst->bits3.generic.response_length); + } } pad (file, 64); if (inst->header.opcode != BRW_OPCODE_NOP) { |