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:
581205d
)
intel_reg_dump: Off-by-one in calculation of i965 fence pitch
author
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 15 Jun 2010 12:05:48 +0000
(13:05 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 15 Jun 2010 12:05:48 +0000
(13:05 +0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tools/intel_reg_dumper.c
patch
|
blob
|
history
diff --git
a/tools/intel_reg_dumper.c
b/tools/intel_reg_dumper.c
index
bed8169
..
18fe4d3
100644
(file)
--- a/
tools/intel_reg_dumper.c
+++ b/
tools/intel_reg_dumper.c
@@
-600,7
+600,7
@@
DEBUGSTRING(i810_debug_965_fence_start)
{
char *enable = (val & FENCE_VALID) ? " enabled" : "disabled";
char format = (val & I965_FENCE_Y_MAJOR) ? 'Y' : 'X';
- int pitch = ((val & 0xffc) >> 2) * 128;
+ int pitch = ((val & 0xffc) >> 2) * 128
+ 128
;
unsigned int offset = val & 0xfffff000;
if (!IS_965(devid))