intel/tools/aubinator_error_decode: read HW Context before other batches
authorD Scott Phillips <d.scott.phillips@intel.com>
Thu, 19 Mar 2020 18:10:11 +0000 (11:10 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 23 Mar 2020 18:13:37 +0000 (18:13 +0000)
commit49f9a0bb57219d0fa57dd10dfd69e64f6356c9df
treea9f3ed4ae564fb57f98c6591f67fb9ff985b3087
parentc40acdef52b1da97c90f5cef046ae881511f7d25
intel/tools/aubinator_error_decode: read HW Context before other batches

The hardware context buffer has state that was set before the
batch started. By decoding it first, references to things like
Dynamic State Base Address are decodable in the command batches.

Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4246>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4246>
src/intel/tools/aubinator_error_decode.c