projects
/
profile
/
extras
/
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:
bf6c480
)
intel_gpu_top: Trust the register access is safe
author
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 19 Mar 2012 14:25:13 +0000
(14:25 +0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 19 Mar 2012 14:25:13 +0000
(14:25 +0000)
Fixes intel_gpu_top on gen3 which otherwise refuses to do mmio.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tools/intel_gpu_top.c
patch
|
blob
|
history
diff --git
a/tools/intel_gpu_top.c
b/tools/intel_gpu_top.c
index
5a016c7
..
e8f02d0
100644
(file)
--- a/
tools/intel_gpu_top.c
+++ b/
tools/intel_gpu_top.c
@@
-509,7
+509,7
@@
int main(int argc, char **argv)
}
/* Grab access to the registers */
- intel_register_access_init(pci_dev,
1
);
+ intel_register_access_init(pci_dev,
0
);
ring_init(&render_ring);
if (IS_GEN4(devid) || IS_GEN5(devid))