intel/decoder: implement accumulated prints
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 4 Aug 2023 08:16:14 +0000 (11:16 +0300)
committerMarge Bot <emma+marge@anholt.net>
Wed, 6 Sep 2023 20:07:01 +0000 (20:07 +0000)
commit047c0ba44b24cbc64630390819d075ad72dc96e2
treecaa86ba04840a43d8c8a7cb4db0726cdbc38b44f
parent2c3a51573a4b2afbb1f288ba9ac25d23f5f93a8e
intel/decoder: implement accumulated prints

Useful when you want to compare 2 batches with different ordering in
instruction emission. Also when the driver tries to avoid re-emitting
state.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24536>
src/intel/common/intel_batch_decoder.c
src/intel/common/intel_decoder.h