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>
This commit is contained in:
Felix DeGrood
2023-04-24 20:59:15 +00:00
committed by Felix Degrood
parent 65c3d1869d
commit 015eecde47
2 changed files with 20 additions and 0 deletions
+2
View File
@@ -197,6 +197,8 @@ extern void *intel_debug_get_identifier_block(void *buffer,
uint32_t buffer_size,
enum intel_debug_block_type type);
bool intel_debug_batch_in_range(uint64_t frame_id);
#ifdef __cplusplus
}
#endif