intel: Make the decoder just store addresses for bases, not buffers.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 25 Jul 2018 17:23:04 +0000 (10:23 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 25 Jul 2018 21:43:54 +0000 (14:43 -0700)
commit37c3efca29accd1934bbc0a83ac43f460b5f4b9a
tree0be1715bfa0c9562af5c89c77922dde9130d45ce
parent933223db3ceacad9f25a6c74213a54854550315b
intel: Make the decoder just store addresses for bases, not buffers.

The various base addresses are simply addresses.  There may or may not
be a buffer located at those addresses.  So, it doesn't make much sense
to request one.  Just save the raw address so we can add it later, when
asking about BOs at the final <base + offset> address.

Suggested-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/common/gen_batch_decoder.c
src/intel/common/gen_decoder.h