mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 21:02:59 +00:00
decode: Split decoder and reuse outside of intel_gpu_dump
Introduce a second decoder that simpler operates on a file so that it can be run on dumped batchbuffers independent of the gpu. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -25,5 +25,11 @@
|
||||
*
|
||||
*/
|
||||
|
||||
int intel_decode(uint32_t *data, int count, uint32_t hw_offset, uint32_t devid);
|
||||
#include <stdint.h>
|
||||
|
||||
int intel_decode(uint32_t *data, int count,
|
||||
uint32_t hw_offset,
|
||||
uint32_t devid,
|
||||
uint32_t ignore_end_of_batchbuffer);
|
||||
void intel_decode_context_set_head_tail(uint32_t head, uint32_t tail);
|
||||
void intel_decode_context_reset(void);
|
||||
|
||||
Reference in New Issue
Block a user