aubinator: Simplify gen_disasm_create()'s devinfo handling
authorSirisha Gandikota <Sirisha.Gandikota@intel.com>
Thu, 8 Sep 2016 23:15:19 +0000 (16:15 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 12 Sep 2016 23:20:04 +0000 (16:20 -0700)
commit63fe9ab8943741cc21d8ba54566ddc49275a6b58
tree2ad1788d6c24cbfab801478f07b9f1502c50717e
parentd2869c95fbee8213a3d90b42f60414da546c4962
aubinator: Simplify gen_disasm_create()'s devinfo handling

Copy the whole devinfo structure instead of just few fields (Ken)

Earlier, copied only couple of fields which added more code. So,
simplify code by copying the whole structure.

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