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:
committed by
Felix Degrood
parent
65c3d1869d
commit
015eecde47
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user