projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eafbad3
)
intel_gpu_dump: Use the correct IPEHR on pre-965.
author
Eric Anholt
<eric@anholt.net>
Wed, 24 Jun 2009 02:35:19 +0000
(19:35 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 24 Jun 2009 02:35:19 +0000
(19:35 -0700)
tools/intel_gpu_dump.c
patch
|
blob
|
history
diff --git
a/tools/intel_gpu_dump.c
b/tools/intel_gpu_dump.c
index
0e1e4af
..
a912dbb
100644
(file)
--- a/
tools/intel_gpu_dump.c
+++ b/
tools/intel_gpu_dump.c
@@
-2108,7
+2108,8
@@
main (int argc, char *argv[])
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));
+ printf("IPEHR: 0x%08x\n",
+ IS_965(devid) ? INREG(IPEHR_I965) : INREG(IPEHR));
asprintf (&filename, "%s/i915_batchbuffers", path);
head_offset = acthd;