intel/batch_decoder: Fix dynamic state printing
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 24 Aug 2018 21:04:03 +0000 (16:04 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 25 Aug 2018 12:50:43 +0000 (07:50 -0500)
commitcbd4bc1346f7397242e157bb66099b950a8c5643
tree630952f1c0608285afa26c0900cba85eedefb2d4
parentd1971be6ea274dae7869e205269c91c3852eec1f
intel/batch_decoder: Fix dynamic state printing

Instead of printing addresses like everyone else, we were accidentally
printing the offset from state base address.  Also, state_map is a void
pointer so we were incrementing in bytes instead of dwords and every
state other than the first was wrong.

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