mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-19 05:46:25 +00:00
Oops, fix up printed hw offset since the HEAD pointer fixup
This commit is contained in:
parent
a18af8ed43
commit
bf3b1a3da9
@ -91,7 +91,7 @@ instr_out(uint32_t *data, uint32_t hw_offset, unsigned int index,
|
|||||||
else
|
else
|
||||||
parseinfo = " ";
|
parseinfo = " ";
|
||||||
|
|
||||||
fprintf(out, "0x%08x: %s 0x%08x: %s", offset + index * 4, parseinfo,
|
fprintf(out, "0x%08x: %s 0x%08x: %s", offset, parseinfo,
|
||||||
data[index],
|
data[index],
|
||||||
index == 0 ? "" : " ");
|
index == 0 ? "" : " ");
|
||||||
va_start(va, fmt);
|
va_start(va, fmt);
|
||||||
@ -2018,7 +2018,7 @@ main (int argc, char *argv[])
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
intel_get_pci_device();
|
intel_get_mmio();
|
||||||
|
|
||||||
if (argc == 1) {
|
if (argc == 1) {
|
||||||
path = "/debug/dri/0";
|
path = "/debug/dri/0";
|
||||||
@ -2065,6 +2065,10 @@ main (int argc, char *argv[])
|
|||||||
free (filename);
|
free (filename);
|
||||||
|
|
||||||
printf("ACTHD: 0x%08x\n", acthd);
|
printf("ACTHD: 0x%08x\n", acthd);
|
||||||
|
printf("EIR: 0x%08x\n", INREG(EIR));
|
||||||
|
printf("EMR: 0x%08x\n", INREG(EMR));
|
||||||
|
printf("ESR: 0x%08x\n", INREG(ESR));
|
||||||
|
printf("IPEHR: 0x%08x\n", INREG(IPEHR_I965));
|
||||||
|
|
||||||
asprintf (&filename, "%s/i915_batchbuffers", path);
|
asprintf (&filename, "%s/i915_batchbuffers", path);
|
||||||
head_offset = acthd;
|
head_offset = acthd;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user