Add the acthd to the GPU dump.

This commit is contained in:
Eric Anholt 2009-06-23 16:21:34 -07:00
parent c25532cc61
commit 12ceecf971

View File

@ -2063,6 +2063,8 @@ main (int argc, char *argv[])
parse_ringbuffer_info(filename, &ring_head, &ring_tail, &acthd);
free (filename);
printf("ACTHD: 0x%08x\n", acthd);
asprintf (&filename, "%s/i915_batchbuffers", path);
head_offset = acthd;
tail_offset = 0xffffffff;