diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-03-19 14:25:13 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-03-19 14:25:13 +0000 |
commit | 3928569eede8ca5f2e9ee1fa4e7fb9989956b2a9 (patch) | |
tree | e0d3c4e9236950c9b8ecac0953277bc1e7c3b121 | |
parent | bf6c480d6ddc157713f839af314ea4892bf8f867 (diff) |
intel_gpu_top: Trust the register access is safe
Fixes intel_gpu_top on gen3 which otherwise refuses to do mmio.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | tools/intel_gpu_top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_gpu_top.c b/tools/intel_gpu_top.c index 5a016c76..e8f02d0e 100644 --- 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)) |