diff options
author | D Scott Phillips <[email protected]> | 2020-03-20 10:15:57 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-23 19:10:50 +0000 |
commit | 1182a3934a5d935b792b801656161da338962004 (patch) | |
tree | 5eeaa9b9ca110f2ed591338cd7bc4dafb3cd74f3 /src/gallium/drivers/i915/i915_resource.h | |
parent | 84e707e6f2292dd886b8385fab0ced5122e35876 (diff) |
intel/tools/aubinator_error_decode: Decode ring buffers from HEAD to TAIL
Capture the HEAD and TAIL register values from the dump and
properly index the ring buffer using those. Previously we would
decode the ring buffer from the beginning, printing out whatever
happened to be there.
Also, properly pass the `from_ring` parameter to gen_print_batch()
so that decoding doesn't stop once MI_BATCH_BUFFER_END is
encoutered.
Reviewed-by: Lionel Landwerlin <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4261>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4261>
Diffstat (limited to 'src/gallium/drivers/i915/i915_resource.h')
0 files changed, 0 insertions, 0 deletions