intel/debug: Control start/stop frame of batch debug
authorFelix DeGrood <felix.j.degrood@intel.com>
Mon, 24 Apr 2023 20:59:15 +0000 (20:59 +0000)
committerFelix Degrood <felix.j.degrood@intel.com>
Fri, 28 Apr 2023 04:37:05 +0000 (04:37 +0000)
commit015eecde47d514f82a7049f497009b3fe3c4116a
treeff29f6efd9eaaa0edef23781b08c670e738c0ae1
parent65c3d1869d302d269efc68af629c24e65bc40d82
intel/debug: Control start/stop frame of batch debug

When using INTEL_DEBUG=bat, INTEL_DEBUG_BATCH_FRAME_START and
INTEL_DEBUG_BATCH_FRAME_STOP can limit dumping of batches for
particular frame ranges. Batch dumps are huge. Smart filtering
allows debugging of single frames during game play. Initial
commit to debug infrastructure.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22564>
src/intel/dev/intel_debug.c
src/intel/dev/intel_debug.h