intel/decoders: handle decoding MI_BBS from ring
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 28 Aug 2018 10:41:42 +0000 (11:41 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 7 Mar 2019 15:08:31 +0000 (15:08 +0000)
commitacb50d6b1ff1b73a66e88862c99b65d87869e01d
tree902cd99aa632419a6fbb1e21ec87c7281982a5e0
parentec526d6ba0bdb996416b7479330a424ff737df81
intel/decoders: handle decoding MI_BBS from ring

An MI_BATCH_BUFFER_START in the ring buffer acts as a second level
batchbuffer (aka jump back to ring buffer when running into a
MI_BATCH_BUFFER_END).

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/intel/common/gen_batch_decoder.c
src/intel/common/gen_decoder.h
src/intel/tools/aubinator.c
src/intel/tools/aubinator_error_decode.c
src/intel/tools/aubinator_viewer.cpp
src/intel/tools/aubinator_viewer.h
src/intel/tools/aubinator_viewer_decoder.cpp
src/intel/vulkan/anv_batch_chain.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_queue.c
src/mesa/drivers/dri/i965/intel_batchbuffer.c