mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 01:46:14 +00:00
tools/decode: don't move around the display register section
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
6ed89f47ec
commit
92b1f2c96e
@ -315,6 +315,16 @@ read_data_file (FILE *file)
|
|||||||
if (matched != 2) {
|
if (matched != 2) {
|
||||||
unsigned int reg;
|
unsigned int reg;
|
||||||
|
|
||||||
|
/* display reg section is after the ringbuffers, don't mix them */
|
||||||
|
if (count) {
|
||||||
|
printf("%s (%s) at 0x%08x:\n",
|
||||||
|
buffer_type[is_batch],
|
||||||
|
ring_name,
|
||||||
|
gtt_offset);
|
||||||
|
intel_decode (data, count, gtt_offset, devid, 0);
|
||||||
|
count = 0;
|
||||||
|
}
|
||||||
|
|
||||||
printf("%s", line);
|
printf("%s", line);
|
||||||
|
|
||||||
matched = sscanf (line, "PCI ID: 0x%04x\n", ®);
|
matched = sscanf (line, "PCI ID: 0x%04x\n", ®);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user