aubinator: Remove bogus "end" parameter in gen_disasm_disassemble()
authorSirisha Gandikota <Sirisha.Gandikota@intel.com>
Tue, 13 Sep 2016 23:19:31 +0000 (16:19 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 13 Sep 2016 23:32:42 +0000 (16:32 -0700)
commitaa7b410592700bf6253e8695ea208d0448c1610e
treebaff521be69c317f3abfda8c7d49e43ef1c61945
parent1ab92d80a8771ac7145d06a9b7983eecc0beaba0
aubinator: Remove bogus "end" parameter in gen_disasm_disassemble()

Earlier, the loop pretends to loop over instructions from "start" to "end",
but the callers always pass 8192 for end, which is some huge bogus
value. The real loop termination condition is send-with-EOT or 0. (Ken)

Signed-off-by: Sirisha Gandikota <Sirisha.Gandikota@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/tools/aubinator.c
src/intel/tools/disasm.c
src/intel/tools/gen_disasm.h